mirror of
https://github.com/torvalds/linux.git
synced 2024-11-20 11:01:38 +00:00
i40evf: add FW version to ethtool info
Customers reported that the firmware version information from i40evf is unlike that of ixgbevf and was causing problems with their scripts. To resolve this, populate the field to align with ixgbevf. Change-ID: I9f4e24f6a76cd819bbe07087aab2b74f715ec103 Reported-by: Sourav Chatterjee <sourav.chatterjee@intel.com> Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
8af580dff2
commit
cc470a811b
@ -209,7 +209,7 @@ static void i40evf_get_drvinfo(struct net_device *netdev,
|
||||
|
||||
strlcpy(drvinfo->driver, i40evf_driver_name, 32);
|
||||
strlcpy(drvinfo->version, i40evf_driver_version, 32);
|
||||
|
||||
strlcpy(drvinfo->fw_version, "N/A", 4);
|
||||
strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), 32);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user