[PATCH v3 1/3] net/iavf: support LLDP Tx via mbuf ptype or dynfield

Loftus, Ciara ciara.loftus at intel.com
Wed Apr 22 11:19:04 CEST 2026


> > @@ -688,6 +690,15 @@ Usage::
> >
> >      testpmd> set tx lldp on
> >
> > +An alternative method for transmitting LLDP packets is to set the
> ``packet_type`` of
> > +the mbuf to ``RTE_PTYPE_L2_ETHER_LLDP``. This, in conjunction with
> enabling the
> > +``enable_ptype_lldp`` devarg will cause such packets to be transmitted::
> > +
> > +    -a 0000:xx:xx.x,enable_ptype_lldp=1
> > +
> > +When ``enable_ptype_lldp`` is not set (default), ptype-based LLDP detection
> is
> > +disabled, but LLDP transmission via the dynamic mbuf field remains
> available.
> > +
> 
> The previous method describes testpmd use. Do we need such a description
> here too?
> 
> >

The ptype method doesn't require any specific enabling steps in testpmd, it is
enabled only via the devarg. I've updated the documentation to make that
clearer.


More information about the dev mailing list