[Intel-wired-lan] [PATCH S37 02/15] ice: Fix switch between FW and SW LLDP
Bowers, AndrewX
andrewx.bowers at intel.com
Fri Jan 24 23:17:07 UTC 2020
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Wednesday, January 22, 2020 7:20 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S37 02/15] ice: Fix switch between FW and
> SW LLDP
>
> From: Dave Ertman <david.m.ertman at intel.com>
>
> 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 at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_dcb_nl.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list