ice: Implement handlers for ethtool PHY/link operations
authorChinh Cao <chinh.t.cao@intel.com>
Thu, 9 Aug 2018 13:29:51 +0000 (06:29 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 28 Aug 2018 17:48:26 +0000 (10:48 -0700)
commit48cb27f2fd18391056ea40cce5e33f1fd741679e
treedc0003d1076b7ffefe0ca9f9ebc45ce7ffd355c8
parent0f9d5027a7496c451737f0f549be083688a40549
ice: Implement handlers for ethtool PHY/link operations

This patch implements handlers for ethtool get_link_ksettings and
set_link_ksettings. Helper functions use by these handlers are also
introduced in this patch.

Signed-off-by: Chinh Cao <chinh.t.cao@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@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