[dpdk-dev] [PATCH] net/i40e: add a specific API to control the LLDP agent

Thomas Monjalon thomas at monjalon.net
Mon May 21 10:39:41 CEST 2018


21/05/2018 05:35, Zijie Pan:
> > > Add a new API rte_pmd_i40e_set_lldp_cmd to control LLDP agent for i40e.
> > > It supports the following i40e debug lldp commands:
> > >     - start/stop of the LLDP agent.
> > >     - get local/remote of the LLDP MIB (Management Information Base).
> > >
> > > Signed-off-by: Laurent Hardy <laurent.hardy at 6wind.com>
> > > Signed-off-by: Zijie Pan <zijie.pan at 6wind.com>
> >
> > Does it mean that this feature is enabled by default in i40e devices?
> > Should it be disabled by default?
> 
> The new API is just an interface to control the LLDP agent. No functions of i40e call it by default. It is only used to debug LLDP of i40e devices. For example we can add a new command for test-pmd to debug lldp of i40e by calling rte_pmd_i40e_set_lldp_cmd().

There is a command to stop the LLDP agent.
My question is to know whether this agent is running by default
and should be disabled?
I mean i40e is generating LLDP packets by default?




More information about the dev mailing list