i40evf: add FW version to ethtool info
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 27 Mar 2015 07:12:11 +0000 (00:12 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 27 Mar 2015 10:01:29 +0000 (03:01 -0700)
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>
drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c

index b68b73163311d924efa98eee37bf282804e3a043..f4e77665bc54b9058c85c2c8e62add23fa49b9b8 100644 (file)
@@ -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);
 }