i40e: allow ethtool to report SW and FW versions in recovery mode
authorPiotr Kwapulinski <piotr.kwapulinski@intel.com>
Fri, 20 Sep 2019 09:17:22 +0000 (02:17 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 25 Oct 2019 20:38:19 +0000 (13:38 -0700)
commitcdb89f15bd4667bfc492b7d5afc6ba2902b54d4e
treef1bfe3cb7209de7e7a2930e12dae437616827844
parent998e5166e604fd37afe94352f7b8c2d816b11049
i40e: allow ethtool to report SW and FW versions in recovery mode

Let ethtool print driver and firmware versions when NIC is in
recovery mode.  Assign i40e_get_drvinfo() operation to ethtool
recovery mode operations.  Previously ethtool did not report
driver and firmware versions when NIC was in recovery mode.

Signed-off-by: Piotr Kwapulinski <piotr.kwapulinski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c