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.ha...@6wind.com> > > > Signed-off-by: Zijie Pan <zijie....@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?