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)
commitc61c8fe1d592552c34b189963036efbf68b93940
tree5a0a2205a2d8423144d9ab02d1121c4ddab3dbcd
parent60f481b9703867330dc6010868054f68f6d52f7a
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