]> 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)
commitaaaa772be88193912330ff04b8e173bd501d00f5
tree5a0a2205a2d8423144d9ab02d1121c4ddab3dbcd
parentf81c0afb1a61cbd14a4d37ca18d5e2baad6b3533
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