]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: add handler for devlink .info_get()
authorJedrzej Jagielski <jedrzej.jagielski@intel.com>
Thu, 10 Apr 2025 12:59:57 +0000 (14:59 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 15 Apr 2025 14:36:32 +0000 (07:36 -0700)
commitf6b588af3d575acba469f15ef519ae4befb0ad63
tree0e4b59f215e73f0b59309b38bcd50eccabe34f39
parenta0285236ab93fdfdd1008afaa04561d142d6c276
ixgbe: add handler for devlink .info_get()

Provide devlink .info_get() callback implementation to allow the
driver to report detailed version information. The following info
is reported:

 "serial_number" -> The PCI DSN of the adapter
 "fw.bundle_id" -> Unique identifier for the combined flash image
 "fw.undi" -> Version of the Option ROM containing the UEFI driver
 "board.id" -> The PBA ID string

Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
Tested-by: Bharath R <bharath.r@intel.com>
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Documentation/networking/devlink/ixgbe.rst
drivers/net/ethernet/intel/ixgbe/devlink/devlink.c