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, Apr 16, 11:04 AM
Unknown Object (File)
Mar 7 2024, 6:28 PM
Unknown Object (File)
Jan 14 2024, 5:41 AM
Unknown Object (File)
Dec 20 2023, 2:59 AM
Unknown Object (File)
Dec 10 2023, 7:50 PM
Unknown Object (File)
Nov 19 2023, 2:52 PM
Unknown Object (File)
Nov 17 2023, 2:35 PM
Unknown Object (File)
Oct 13 2023, 5:15 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
Lint Not Applicable
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
2657

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