ice: report netlist version in .info_get
The flash memory for the ice hardware contains a block of information used for link management called the Netlist module. As this essentially represents another section of firmware, add its version information to the output of the driver's .info_get handler. This includes both a version and the first few bytes of a hash of the module contents. fw.netlist -> the version information extracted from the netlist module fw.netlist.build-> first 4 bytes of the hash of the contents, similar to fw.mgmt.build Signed-off-by:Jacob Keller <jacob.e.keller@intel.com> Tested-by:
Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by:
Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Showing
- Documentation/networking/devlink/ice.rst 11 additions, 0 deletionsDocumentation/networking/devlink/ice.rst
- drivers/net/ethernet/intel/ice/ice_adminq_cmd.h 27 additions, 0 deletionsdrivers/net/ethernet/intel/ice/ice_adminq_cmd.h
- drivers/net/ethernet/intel/ice/ice_devlink.c 23 additions, 0 deletionsdrivers/net/ethernet/intel/ice/ice_devlink.c
- drivers/net/ethernet/intel/ice/ice_nvm.c 86 additions, 0 deletionsdrivers/net/ethernet/intel/ice/ice_nvm.c
- drivers/net/ethernet/intel/ice/ice_type.h 11 additions, 0 deletionsdrivers/net/ethernet/intel/ice/ice_type.h
Loading
Please register or sign in to comment