]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Add ethtool private flag to make forcing link down optional
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 19 Dec 2018 18:03:26 +0000 (10:03 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 15 Jan 2019 18:32:59 +0000 (10:32 -0800)
commitca06c59b17067cf4623038a63c557ec30228c7a3
tree8dcbc39d30188abbf54dfc20b8f8f52358c2316f
parent7bc255c678b9754d1afa198480b8993b068a343f
ice: Add ethtool private flag to make forcing link down optional

Add new infrastructure for implementing ethtool private flags using the
existing pf->flags bitmap to store them, and add the link-down-on-close
ethtool private flag to optionally bring down the PHY link when the
interface is administratively downed.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@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.h
drivers/net/ethernet/intel/ice/ice_ethtool.c
drivers/net/ethernet/intel/ice/ice_main.c