Page MenuHomeFreeBSD

ixgbe: Print NVM and Option ROM versions
ClosedPublic

Authored by kbowling on May 9 2021, 11:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 15, 6:15 AM
Unknown Object (File)
Mon, Oct 14, 7:16 PM
Unknown Object (File)
Oct 4 2024, 2:18 PM
Unknown Object (File)
Oct 1 2024, 3:32 PM
Unknown Object (File)
Sep 18 2024, 4:31 AM
Unknown Object (File)
Sep 12 2024, 11:41 PM
Unknown Object (File)
Sep 6 2024, 5:52 PM
Unknown Object (File)
Sep 6 2024, 5:52 PM

Details

Summary

It can be useful for system operators to see this kind of information when correlating issues or requesting support from the OEM or Intel for hardware and firmware issues.

Requested by: gallatin
MFC after: 1 month

Test Plan

Tested on an X552:

ix0: eTrack 0x800005b9
# sysctl dev.ix.0.nvm_versions
dev.ix.0.nvm_versions: eTrack 0x800005b9

I've checked various ixgbe datasheets and think these commands are safe. Supermicro doesn't program the other fields (*sigh*) so it seems like we only get eTrack, but that is enough to do some science.

Here is an example of someone using the eTrack to work with their OEM/intel https://tinkertry.com/how-to-work-around-intermittent-intel-x557-network-outages-on-12-core-xeon-d#mar-19-2018

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Thanks so much for doing this!

This revision is now accepted and ready to land.May 10 2021, 12:22 AM
krzysztof.galazka_intel.com added inline comments.
sys/dev/ixgbe/if_ix.c
2657

There is a 'fw_version' sysctl in ixl with the same purpose. Would it make sense to use same name?