On Fri, Apr 17, 2026 at 10:56:08AM +0000, Ciara Loftus wrote: > Previously, the only way to transmit LLDP packets via the iavf PMD > was to register the IAVF_TX_LLDP_DYNFIELD dynamic mbuf field and set > it to a non-zero value on each LLDP mbuf before Tx. > > This patch adds an alternative. If the new devarg `enable_ptype_lldp` is > set to 1, and if the mbuf packet type is set to RTE_PTYPE_L2_ETHER_LLDP > then a Tx path with context descriptor support will be selected and any > packets with the LLDP ptype will be transmitted. > > The dynamic mbuf field support is still present however it is intended > that it will be removed in a future release, at which point only the > packet type approach will be supported. > > Signed-off-by: Ciara Loftus <[email protected]> > --- > doc/guides/nics/intel_vf.rst | 21 ++++++++++++++++----- > doc/guides/rel_notes/release_26_07.rst | 5 +++++ > drivers/net/intel/iavf/iavf.h | 1 + > drivers/net/intel/iavf/iavf_ethdev.c | 15 +++++++++++++++ > drivers/net/intel/iavf/iavf_rxtx.c | 2 +- > drivers/net/intel/iavf/iavf_rxtx.h | 9 +++++---- > 6 files changed, 43 insertions(+), 10 deletions(-) > Comments from v3 still apply, I believe.
- [PATCH v2 3/3] doc: announce change to LLDP packet detect... Ciara Loftus
- [PATCH v2 2/3] net/iavf: add AVX2 context descriptor Tx p... Ciara Loftus
- [PATCH v3 0/3] iavf: LLDP ptype and AVX2 ctx paths Ciara Loftus
- [PATCH v3 1/3] net/iavf: support LLDP Tx via mbuf pt... Ciara Loftus
- Re: [PATCH v3 1/3] net/iavf: support LLDP Tx via... Bruce Richardson
- RE: [PATCH v3 1/3] net/iavf: support LLDP Tx... Loftus, Ciara
- [PATCH v3 2/3] net/iavf: add AVX2 context descriptor... Ciara Loftus
- [PATCH v3 3/3] doc: announce change to LLDP packet d... Ciara Loftus
- [PATCH v4 0/3] iavf: LLDP ptype and AVX2 ctx paths Ciara Loftus
- [PATCH v4 1/3] net/iavf: support LLDP Tx via mbu... Ciara Loftus
- Re: [PATCH v4 1/3] net/iavf: support LLDP Tx... Bruce Richardson
- [PATCH v4 2/3] net/iavf: add AVX2 context descri... Ciara Loftus
- Re: [PATCH v4 2/3] net/iavf: add AVX2 contex... Bruce Richardson
- [PATCH v4 3/3] doc: announce change to LLDP pack... Ciara Loftus
- [PATCH v5 0/3] iavf: LLDP ptype and AVX2 ctx... Ciara Loftus
- [PATCH v5 1/3] net/iavf: support LLDP Tx... Ciara Loftus
- [PATCH v5 2/3] net/iavf: add AVX2 contex... Ciara Loftus
- [PATCH v5 3/3] doc: announce change to L... Ciara Loftus
- Re: [PATCH v5 0/3] iavf: LLDP ptype and ... Bruce Richardson

