[v5,0/3] net/iavf: support Tx LLDP on scalar and AVX512

Message ID 20231228032211.1127554-1-zhichaox.zeng@intel.com (mailing list archive)
Headers
Series net/iavf: support Tx LLDP on scalar and AVX512 |

Message

Zhichao Zeng Dec. 28, 2023, 3:22 a.m. UTC
  This patch set adds an IAVF testpmd command "set tx lldp on|off" which
will register an mbuf dynfield IAVF_TX_LLDP_DYNFIELD to indicate
the need to send LLDP packet. It needs to close the Tx port first,
then "set tx lldp on", and reopen the port to select correct Tx path,
only supports turning on for now.

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

---
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/rel_notes/release_24_03.rst  |  3 +
 drivers/net/iavf/iavf_ethdev.c          |  5 ++
 drivers/net/iavf/iavf_rxtx.c            | 21 ++++++-
 drivers/net/iavf/iavf_rxtx.h            |  6 ++
 drivers/net/iavf/iavf_rxtx_vec_avx512.c | 19 ++++++
 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, 141 insertions(+), 2 deletions(-)
 create mode 100644 drivers/net/iavf/iavf_testpmd.c
  

Comments

Qi Zhang Jan. 4, 2024, 12:26 a.m. UTC | #1
> -----Original Message-----
> From: Zeng, ZhichaoX <zhichaox.zeng@intel.com>
> Sent: Thursday, December 28, 2023 11:22 AM
> To: dev@dpdk.org
> Cc: Zhang, Qi Z <qi.z.zhang@intel.com>; Zeng, ZhichaoX
> <zhichaox.zeng@intel.com>
> Subject: [PATCH v5 0/3] net/iavf: support Tx LLDP on scalar and AVX512
> 
> This patch set adds an IAVF testpmd command "set tx lldp on|off" which will
> register an mbuf dynfield IAVF_TX_LLDP_DYNFIELD to indicate the need to
> send LLDP packet. It needs to close the Tx port first, then "set tx lldp on", and
> reopen the port to select correct Tx path, only supports turning on for now.
> 
> IAVF will fill the SWTCH_UPLINK bit in the Tx context descriptor based on the
> mbuf dynfield to send the LLDP packet.
> 
> ---
> 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/rel_notes/release_24_03.rst  |  3 +
>  drivers/net/iavf/iavf_ethdev.c          |  5 ++
>  drivers/net/iavf/iavf_rxtx.c            | 21 ++++++-
>  drivers/net/iavf/iavf_rxtx.h            |  6 ++
>  drivers/net/iavf/iavf_rxtx_vec_avx512.c | 19 ++++++
> 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, 141 insertions(+), 2 deletions(-)  create mode 100644
> drivers/net/iavf/iavf_testpmd.c
> 
> --
> 2.34.1

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi