OSDN Git Service

ice: add ethtool -m support for reading i2c eeprom modules
authorScott W Taylor <scott.w.taylor@intel.com>
Wed, 9 Oct 2019 14:09:40 +0000 (07:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Nov 2019 00:41:45 +0000 (16:41 -0800)
commita012dca9f7a2bc44b6680c20bec06fe9b2e55d37
tree6df54ddc8c6dc8d6359dc87b429e6b8d7c47bca6
parent71c780f1191fbbc63dcd76dd750ee413d373dabd
ice: add ethtool -m support for reading i2c eeprom modules

Implement ethtool -m support to read eeprom data from SFP/QSFP modules.

Signed-off-by: Scott W Taylor <scott.w.taylor@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_common.h
drivers/net/ethernet/intel/ice/ice_ethtool.c