aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_ethtool.c
diff options
context:
space:
mode:
authorDave Ertman <david.m.ertman@intel.com>2020-02-06 01:20:00 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2020-02-12 11:48:14 -0800
commit53977ee47410885e7d4eee87d2c811a48a275150 (patch)
tree70a343cd8484a64bebbd48a7d353f18b9d2f35e2 /drivers/net/ethernet/intel/ice/ice_ethtool.c
parentice: Fix DCB rebuild after reset (diff)
downloadlinux-dev-53977ee47410885e7d4eee87d2c811a48a275150.tar.xz
linux-dev-53977ee47410885e7d4eee87d2c811a48a275150.zip
ice: Fix switch between FW and SW LLDP
When switching between FW and SW LLDP mode, the number of configured TLV apps in the driver's DCB configuration is getting out of synch with what lldpad thinks is configured. This is causing a problem when shutting down lldpad. The cleanup is trying to delete TLV apps that are not defined in the kernel. Since the driver is keeping an accurate account of the apps defined, use the drivers number of apps to determine if there is an app to delete. If the number of apps is <= 1, then do not attempt to delete. 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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions