[PATCH v4 1/3] net/iavf: support LLDP Tx via mbuf ptype or dynfield
Bruce Richardson
bruce.richardson at intel.com
Fri Apr 17 15:00:28 CEST 2026
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 <ciara.loftus at intel.com>
> ---
> 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.
More information about the dev
mailing list