This patch set adds an IAVF testpmd command "set tx lldp on|off" which
will register an mbuf dynflag IAVF_TX_LLDP_DYNFLAG at the application
level, currently only supported turning on.

IAVF will fill the SWTCH_UPLINK bit in the Tx context descriptor based on
the mbuf dynflag to send the LLDP packet.

For avx512, need to close the Tx port first, then "set tx lldp on", and
reopen the port to select correct Tx path.

---
v2: split into patch set, refine commit log

Zhichao Zeng (3):
  net/iavf: support Tx LLDP on scalar
  net/iavf: support Tx LLDP on AVX512
  net/iavf: add Tx LLDP command

 doc/guides/rel_notes/release_24_03.rst  |  3 ++
 drivers/net/iavf/iavf_rxtx.c            | 10 ++++
 drivers/net/iavf/iavf_rxtx.h            |  3 ++
 drivers/net/iavf/iavf_rxtx_vec_avx512.c | 17 +++++++
 drivers/net/iavf/iavf_rxtx_vec_common.h |  6 +++
 drivers/net/iavf/iavf_testpmd.c         | 68 +++++++++++++++++++++++++
 drivers/net/iavf/meson.build            |  3 ++
 drivers/net/iavf/rte_pmd_iavf.h         |  2 +
 8 files changed, 112 insertions(+)
 create mode 100644 drivers/net/iavf/iavf_testpmd.c

-- 
2.34.1

Reply via email to