]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Implement an ethtool private flag to stop LLDP in FW
authorDave Ertman <david.m.ertman@intel.com>
Wed, 27 Dec 2017 13:18:21 +0000 (08:18 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Jan 2018 21:23:19 +0000 (13:23 -0800)
commite36616ddf59338aa4f4780c2d4b06dab8f4f2ae6
tree5a0a2205a2d8423144d9ab02d1121c4ddab3dbcd
parent8643175e3e3ff6f83a1f790255b05f17561c46ca
i40e: Implement an ethtool private flag to stop LLDP in FW

Implement the private flag disable-fw-lldp for ethtool
to disable the processing of LLDP packets by the FW.
This will stop the FW from consuming LLDPDU and cause
them to be sent up the stack.

The FW is also being configured to apply a default DCB
configuration on link up.

Toggling the value of this flag will also cause a PF reset.

Disabling FW DCB will also disable DCBx.

Signed-off-by: Dave Ertman <david.m.ertman@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
drivers/net/ethernet/intel/i40e/i40e_main.c