[PATCH v6 0/3] net/iavf: support Tx LLDP on scalar and AVX512
    Zhichao Zeng 
    zhichaox.zeng at intel.com
       
    Wed Jan  3 08:47:18 CET 2024
    
    
  
This patch set adds an IAVF testpmd command "set tx lldp on" which
will register an mbuf dynfield IAVF_TX_LLDP_DYNFIELD to indicate
the need to test TX LLDP packet. It needs to stop and restart Tx port
to select correct Tx path.
IAVF will fill the SWTCH_UPLINK bit in the Tx context descriptor based on
the mbuf dynfield to transmit the LLDP packet.
---
v6: check dynfield before access
v5: check dynfield at dev_start
v4: fix compile error
v3: non-lldp packet do not use the context descriptor
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/nics/intel_vf.rst            | 17 ++++++
 drivers/net/iavf/iavf_ethdev.c          |  5 ++
 drivers/net/iavf/iavf_rxtx.c            | 18 +++++-
 drivers/net/iavf/iavf_rxtx.h            | 11 ++++
 drivers/net/iavf/iavf_rxtx_vec_avx512.c | 16 +++++
 drivers/net/iavf/iavf_rxtx_vec_common.h |  5 ++
 drivers/net/iavf/iavf_testpmd.c         | 81 +++++++++++++++++++++++++
 drivers/net/iavf/meson.build            |  3 +
 8 files changed, 154 insertions(+), 2 deletions(-)
 create mode 100644 drivers/net/iavf/iavf_testpmd.c
-- 
2.34.1
    
    
More information about the dev
mailing list