RE: [PATCH v2] net/iavf: add diagnostic support in TX path

2023-12-24 Thread Ye, MingjinX
> -Original Message- > From: Zhang, Qi Z > Sent: 2023年12月22日 19:38 > To: Ye, MingjinX ; dev@dpdk.org > Cc: Yang, Qiming ; Ye, MingjinX > ; Wu, Jingjing ; Xing, Beilei > > Subject: RE: [PATCH v2] net/iavf: add diagnostic support in TX path > > > > > -Original Message- > > Fro

[PATCH v4 0/3] net/iavf: support Tx LLDP on scalar and AVX512

2023-12-24 Thread Zhichao Zeng
This patch set adds an IAVF testpmd command "set tx lldp on|off" which will register an mbuf dynfield IAVF_TX_LLDP_DYNFIELD, currently only supported turning on. IAVF will fill the SWTCH_UPLINK bit in the Tx context descriptor based on the mbuf dynfield to send the LLDP packet. For avx512, need t

[PATCH v4 1/3] net/iavf: support Tx LLDP on scalar

2023-12-24 Thread Zhichao Zeng
This patch adds an mbuf dynfield IAVF_TX_LLDP_DYNFIELD to determine whether or not to fill the SWTCH_UPLINK bit in the Tx context descriptor to send LLDP packet. Signed-off-by: Zhichao Zeng --- drivers/net/iavf/iavf_rxtx.c| 19 +-- drivers/net/iavf/iavf_rxtx.h| 3 +++ dr

[PATCH v4 2/3] net/iavf: support Tx LLDP on AVX512

2023-12-24 Thread Zhichao Zeng
This patch adds an avx512 ctx Tx path that supports context descriptor, filling in the SWTCH_UPLINK bit based on mbuf dynfield IAVF_TX_LLDP_DYNFIELD to support sending LLDP packet. Signed-off-by: Zhichao Zeng --- drivers/net/iavf/iavf_rxtx.c| 5 + drivers/net/iavf/iavf_rxtx.h

[PATCH v4 3/3] net/iavf: add Tx LLDP command

2023-12-24 Thread Zhichao Zeng
This patch 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. Currently, it only supports turning on. For avx512, need to close the Tx port first, then "set tx lldp on", and reopen the port to selec

RE: [PATCH 4/4] eal: add new args to choose VFIO mode

2023-12-24 Thread Xing, Beilei
> -Original Message- > From: Stephen Hemminger > Sent: Saturday, December 23, 2023 1:18 AM > To: Xing, Beilei > Cc: Burakov, Anatoly ; dev@dpdk.org; > tho...@monjalon.net; ferruh.yi...@amd.com; Richardson, Bruce > ; chen...@nvidia.com; Cao, Yahui > > Subject: Re: [PATCH 4/4] eal: add

RE: [PATCH 2/4] vfio: add VFIO IOMMUFD support

2023-12-24 Thread Xing, Beilei
> -Original Message- > From: Stephen Hemminger > Sent: Saturday, December 23, 2023 1:17 AM > To: Xing, Beilei > Cc: Burakov, Anatoly ; dev@dpdk.org; > tho...@monjalon.net; ferruh.yi...@amd.com; Richardson, Bruce > ; chen...@nvidia.com; Cao, Yahui > > Subject: Re: [PATCH 2/4] vfio: add