summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_txrx.h
diff options
context:
space:
mode:
authorMariusz Stachura2017-11-14 13:00:50 +0100
committerJeff Kirsher2018-02-26 20:48:06 +0100
commitc3880bd159d431d06b687b0b5ab22e24e6ef0070 (patch)
tree9c96ed42231ada1c4c45077cb4f4e66cbea28153 /drivers/net/ethernet/intel/i40e/i40e_txrx.h
parentsh_eth: TSU_QTAG0/1 registers the same as TSU_QTAGM0/1 (diff)
downloadkernel-qcow2-linux-c3880bd159d431d06b687b0b5ab22e24e6ef0070.tar.gz
kernel-qcow2-linux-c3880bd159d431d06b687b0b5ab22e24e6ef0070.tar.xz
kernel-qcow2-linux-c3880bd159d431d06b687b0b5ab22e24e6ef0070.zip
i40e: link_down_on_close private flag support
This patch introduces new ethtool private flag used for forcing true link state. Function i40e_force_link_state that implements this functionality was added, it sets phy_type = 0 in order to work-around firmware's LESM. False positive error messages were suppressed. The ndo_open() should not succeed if there were issues with forcing link state to be UP. Added I40E_PHY_TYPES_BITMASK define with all phy types OR-ed together in one bitmask. Added after phy type definition, so it will be hard to forget to include new phy types to the bitmask. Signed-off-by: Mariusz Stachura <mariusz.stachura@intel.com> Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_txrx.h')
0 files changed, 0 insertions, 0 deletions