[dpdk-dev] [PATCH v2] net/i40e: stop lldp before setting local lldp MIB
Zhang, Qi Z
qi.z.zhang at intel.com
Thu Sep 13 14:30:27 CEST 2018
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Chas Williams
> Sent: Tuesday, August 7, 2018 4:06 AM
> To: dev at dpdk.org
> Cc: Xing, Beilei <beilei.xing at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>;
> Charles (Chas) Williams <chas3 at att.com>
> Subject: [dpdk-dev] [PATCH v2] net/i40e: stop lldp before setting local lldp MIB
>
> From: "Charles (Chas) Williams" <chas3 at att.com>
>
> From the Intel Ethernet Controller X710/XXV710/XL710 Specifiction
> Update:
>
> Starting from NVM 5.02, if the Set Local LLDP MIB command is
> received while the DCBx specific agent is stopped, the command
> returns an EPERM error. If the command is received while the
> LLDP agent is stopped, it sets the local MIB without exchanging
> LLDP with peer, and returns SUCCESS.
>
> This results in the harmless, but annoying, diagnostic:
>
> default dcb config fails. err = -53, aq_err = 1.
>
> So, if possible (older firmwares cannot safely stop LLDP), stop the lldp daemon
> when we are in software mod before we attempt to call i40e_set_dcb_config.
>
> Signed-off-by: Chas Williams <chas3 at att.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
Applied to dpdk-next-net-intel
Thanks
Qi
More information about the dev
mailing list