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

Zijie Pan zijie.pan at 6wind.com
Mon May 21 05:35:02 CEST 2018


> > 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().


More information about the dev mailing list