Page MenuHomeFreeBSD

ixgbe: Print NVM and Option ROM versions
ClosedPublic

Authored by kbowling on May 9 2021, 11:08 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

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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
2656

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