[PATCH] maintainers: update for e1000/ixgbe

2024-01-15 Thread Wenjun Wu
Remove myself from maintainers. Signed-off-by: Wenjun Wu --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 0d1c8126e3..a094de0e35 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -740,7 +740,6 @@ F: doc/guides/nics/features/hinic.ini Intel

[PATCH v3] net/cpfl: fix datapath function configuration

2023-09-25 Thread Wenjun Wu
Vector datapath does not support any advanced features for now, so disable vector path if TX checksum offload or RX scatter is enabled. Fixes: 2f39845891e6 ("net/cpfl: add AVX512 data path for single queue model") Signed-off-by: Wenjun Wu --- v3: fix log typo. v2: disable vecto

[PATCH v2] net/cpfl: fix datapath function configuration

2023-09-19 Thread Wenjun Wu
Vector datapath is not support any advanced features for now, so disable vector path if TX checksum offload or RX scatter is enabled. Fixes: 2f39845891e6 ("net/cpfl: add AVX512 data path for single queue model") Signed-off-by: Wenjun Wu --- v2: disable vector path for sca

[PATCH v1] net/cpfl: fix datapath function configuration

2023-09-19 Thread Wenjun Wu
Vector datapath is not support any advanced features for now, so disable vector path if TX checksum offload or RX scatter is enabled. Fixes: 2f39845891e6 ("net/cpfl: add AVX512 data path for single queue model") Signed-off-by: Wenjun Wu --- drivers/net/cpfl/cpfl_rxtx_vec_common.h | 6

[PATCH v1 2/2] examples/multi_process: fix memory leak

2023-07-05 Thread Wenjun Wu
The device should be detached before quit, otherwise it will cause memory leak. Fixes: 05f1d6842fc3 ("examples/multi_process: add hotplug sample") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- examples/multi_process/hotplug_mp/commands.c | 22 1 file c

[PATCH v1 1/2] bus/vdev: fix memory leak

2023-07-05 Thread Wenjun Wu
rte_vdev_uninit. Fixes: f5b2eff0847d ("bus/vdev: fix devargs after multi-process bus scan") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- drivers/bus/vdev/vdev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c index 7974b27295..

[PATCH v1 0/2] fix memory leak

2023-07-05 Thread Wenjun Wu
This patch set fix memory leak in vdev and example hotplug_mp. Wenjun Wu (2): bus/vdev: fix memory leak examples/multi_process: fix memory leak drivers/bus/vdev/vdev.c | 5 + examples/multi_process/hotplug_mp/commands.c | 22 2 files changed

[PATCH v2] common/idpf: fix memory leak on AVX512 TX queue close

2023-06-09 Thread Wenjun Wu
.@dpdk.org Signed-off-by: Wenjun Wu --- drivers/common/idpf/idpf_common_rxtx_avx512.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/common/idpf/idpf_common_rxtx_avx512.c b/drivers/common/idpf/idpf_common_rxtx_avx512.c index dffb11fcf2..81312617cc 100644 --- a/drivers/c

[PATCH v1] common/idpf: fix memory leak on AVX512 TX queue close

2023-05-30 Thread Wenjun Wu
When releasing mbufs for TX queue software ring of AVX512, the mbuf in the range [i, tx_tail] should also be freed. The variable i refers to the index of the last mbuf released in the software ring. Signed-off-by: Wenjun Wu --- drivers/common/idpf/idpf_common_rxtx_avx512.c | 4 1 file

[PATCH v2 5/5] net/cpfl: fix Rx data buffer size

2023-04-13 Thread Wenjun Wu
This patch does two fixes. 1. No matter what the mbuf size is, the data buffer size should not be greater than 16K - 128. 2. Align data buffer size to 128. Fixes: 119834846e93 ("net/cpfl: support Rx queue setup") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- drivers/net/cpfl/c

[PATCH v2 4/5] net/idpf: fix Rx data buffer size

2023-04-13 Thread Wenjun Wu
This patch does two fixes. 1. No matter what the mbuf size is, the data buffer size should not be greater than 16K - 128. 2. Align data buffer size to 128. Fixes: 9c47c29739a1 ("net/idpf: add Rx queue setup") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- drivers/c

[PATCH v2 3/5] net/iavf: fix Rx data buffer size

2023-04-13 Thread Wenjun Wu
No matter what the mbuf size is, the data buffer size should not be greater than 16K - 128. Fixes: 69dd4c3d0898 ("net/avf: enable queue and device") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- drivers/net/iavf/iavf_rxtx.c | 1 + drivers/net/iavf/iavf_rxtx.h | 3 +++ 2 files

[PATCH v2 2/5] net/ice: fix Rx data buffer size

2023-04-13 Thread Wenjun Wu
et/ice: support device and queue ops") Fixes: 1b009275e2c8 ("net/ice: add Rx queue init in DCF") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_dcf_ethdev.c | 3 ++- drivers/net/ice/ice_rxtx.c | 3 ++- drivers/net/ice/ice_rxtx.h | 3 +++ 3 fil

[PATCH v2 1/5] net/i40e: fix Rx data buffer size

2023-04-13 Thread Wenjun Wu
No matter what the mbuf size is, the data buffer size should not be greater than 16K - 128. Fixes: 4861cde46116 ("i40e: new poll mode driver") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- drivers/net/i40e/i40e_rxtx.c | 2 ++ drivers/net/i40e/i40e_rxtx.h | 3 +++ 2 files

[PATCH v2 0/5] fix Rx data buffer size

2023-04-13 Thread Wenjun Wu
size alignment") --- v2: fix commit log Wenjun Wu (5): net/i40e: fix Rx data buffer size net/ice: fix Rx data buffer size net/iavf: fix Rx data buffer size net/idpf: fix Rx data buffer size net/cpfl: fix Rx data buffer size drivers/common/idpf/idpf_common_rxtx.h | 3 +++ driver

[PATCH v1 5/5] net/cpfl: fix RX data buffer size

2023-04-13 Thread Wenjun Wu
This patch does two fixes. 1. No matter what the mbuf size is, the data buffer size should not be greater than 16K - 128. 2. Align data buffer size to 128. Signed-off-by: Wenjun Wu --- drivers/net/cpfl/cpfl_rxtx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v1 4/5] net/idpf: fix RX data buffer size

2023-04-13 Thread Wenjun Wu
This patch does two fixes. 1. No matter what the mbuf size is, the data buffer size should not be greater than 16K - 128. 2. Align data buffer size to 128. Fixes: 9c47c29739a1 ("net/idpf: add Rx queue setup") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- drivers/c

[PATCH v1 3/5] net/iavf: fix RX data buffer size

2023-04-13 Thread Wenjun Wu
No matter what the mbuf size is, the data buffer size should not be greater than 16K - 128. Fixes: 69dd4c3d0898 ("net/avf: enable queue and device") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- drivers/net/iavf/iavf_rxtx.c | 1 + drivers/net/iavf/iavf_rxtx.h | 3 +++ 2 files

[PATCH v1 2/5] net/ice: fix RX data buffer size

2023-04-13 Thread Wenjun Wu
et/ice: support device and queue ops") Fixes: 1b009275e2c8 ("net/ice: add Rx queue init in DCF") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_dcf_ethdev.c | 3 ++- drivers/net/ice/ice_rxtx.c | 3 ++- drivers/net/ice/ice_rxtx.h | 3 +++ 3 fil

[PATCH v1 1/5] net/i40e: fix RX data buffer size

2023-04-13 Thread Wenjun Wu
No matter what the mbuf size is, the data buffer size should not be greater than 16K - 128. Fixes: 4861cde46116 ("i40e: new poll mode driver") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- drivers/net/i40e/i40e_rxtx.c | 2 ++ drivers/net/i40e/i40e_rxtx.h | 3 +++ 2 files

[PATCH v1 0/5] fix RX data buffer size

2023-04-13 Thread Wenjun Wu
size alignment") Wenjun Wu (5): net/i40e: fix RX data buffer size net/ice: fix RX data buffer size net/iavf: fix RX data buffer size net/idpf: fix RX data buffer size net/cpfl: fix RX data buffer size drivers/common/idpf/idpf_common_rxtx.h | 3 +++ drivers/net/cpfl/cpfl_rxtx.c

[PATCH v1] net/idpf: fix datapath function configuration

2023-02-26 Thread Wenjun Wu
Vector datapath is not support any advanced features for now, so disable vector path if TX checksum offload or RX scatter is enabled. Fixes: e528d7c74819 ("common/idpf: add AVX512 data path for split queue model") Signed-off-by: Wenjun Wu --- drivers/net/idpf/idpf_rxtx_vec_co

[PATCH v2] common/idpf: fix compilation for AVX512DQ

2023-02-08 Thread Wenjun Wu
Some intrinsics used in idpf split queue AVX512 datapath ask for CPUID flag AVX512DQ and compilation flag -mavx512dq. Fixes: 43e916179fa2 ("common/idpf: add AVX512 data path for split queue model") Signed-off-by: Wenjun Wu --- drivers/common/idpf/meson.build | 8 +--- driver

[PATCH v1] common/idpf: fix compilation for AVX512DQ

2023-02-08 Thread Wenjun Wu
Some intrinsics used in idpf split queue AVX512 datapath ask for CPUID flag AVX512DQ and compilation flag -mavx512dq. Fixes: 43e916179fa2 ("common/idpf: add AVX512 data path for split queue model") Signed-off-by: Wenjun Wu --- drivers/common/idpf/meson.build | 8 +--- driver

[PATCH v11 1/1] common/idpf: add AVX512 data path for split queue model

2023-02-07 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu Reviewed-by: Wenjing Qiao Acked-by: Wenzhuo Lu --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 21 +- drivers/common/idpf/idpf_common_rxtx_avx512.c

[PATCH v11 0/1] Add support AVX512 split queue datapath

2023-02-07 Thread Wenjun Wu
the new baseline. v8: rebase to the new baseline. add log for datapath function setup. refine precompiled logic. v9: fix coding style issue. v10: rebase to the new baseline. v11: reorder the function definition in version.map in alphabetical order. Wenjun Wu (1): common/idpf: add AV

[PATCH v10 1/1] common/idpf: add AVX512 data path for split queue model

2023-02-06 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu Reviewed-by: Wenjing Qiao Acked-by: Wenzhuo Lu --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 21 +- drivers/common/idpf/idpf_common_rxtx_avx512.c

[PATCH v10 0/1] Add support AVX512 split queue datapath

2023-02-06 Thread Wenjun Wu
the new baseline. v8: rebase to the new baseline. add log for datapath function setup. refine precompiled logic. v9: fix coding style issue. v10: rebase to the new baseline. Wenjun Wu (1): common/idpf: add AVX512 data path for split queue model drivers/common/idpf/idpf_common_rx

[PATCH v9 1/1] common/idpf: add AVX512 data path for split queue model

2023-02-05 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu Reviewed-by: Wenjing Qiao Acked-by: Wenzhuo Lu --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 21 +- drivers/common/idpf/idpf_common_rxtx_avx512.c

[PATCH v9 0/1] Add support AVX512 split queue datapath

2023-02-05 Thread Wenjun Wu
changes. v7: rebase to the new baseline. v8: rebase to the new baseline. add log for datapath function setup. refine precompiled logic. v9: fix coding style issue. Wenjun Wu (1): common/idpf: add AVX512 data path for split queue model drivers/common/idpf/idpf_common_rxtx.c| 22

[PATCH v8 1/1] common/idpf: add AVX512 data path for split queue model

2023-02-05 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu Reviewed-by: Wenjing Qiao Acked-by: Wenzhuo Lu --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 21 +- drivers/common/idpf/idpf_common_rxtx_avx512.c

[PATCH v8 0/1] Add support AVX512 split queue datapath

2023-02-05 Thread Wenjun Wu
baseline. v8: rebase to the new baseline. add log for datapath function setup. refine precompiled logic. Wenjun Wu (1): common/idpf: add AVX512 data path for split queue model drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 21

[PATCH v7 1/1] common/idpf: add AVX512 data path for split queue model

2023-01-17 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu Reviewed-by: Wenjing Qiao Acked-by: Wenzhuo Lu --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf/idpf_common_rxtx_avx512.c

[PATCH v7 0/1] Add support AVX512 split queue datapath

2023-01-17 Thread Wenjun Wu
changes. v7: rebase to the new baseline. Wenjun Wu (1): common/idpf: add AVX512 data path for split queue model drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf/idpf_common_rxtx_avx512.c | 797

[PATCH v6 1/1] common/idpf: add AVX512 data path for split queue model

2023-01-13 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu Reviewed-by: Wenjing Qiao Acked-by: Wenzhuo Lu --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf/idpf_common_rxtx_avx512.c

[PATCH v6 0/1] Add support AVX512 split queue datapath

2023-01-13 Thread Wenjun Wu
logical error. v4: rebase to the new baseline. v5: fix compilation error. v6: remove unexpected changes. Wenjun Wu (1): common/idpf: add AVX512 data path for split queue model drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers

[PATCH v5 1/1] common/idpf: add AVX512 data path for split queue model

2023-01-12 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu Reviewed-by: Wenjing Qiao Acked-by: Wenzhuo Lu --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf/idpf_common_rxtx_avx512.c

[PATCH v5 0/1] Add support AVX512 split queue datapath

2023-01-12 Thread Wenjun Wu
logical error. v4: rebase to the new baseline. v5: fix compilation error. Wenjun Wu (1): common/idpf: add AVX512 data path for split queue model drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf

[PATCH v4 1/1] common/idpf: add AVX512 data path for split queue model

2023-01-11 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu Reviewed-by: Wenjing Qiao --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf/idpf_common_rxtx_avx512.c | 797

[PATCH v4 0/1] Add support AVX512 split queue datapath

2023-01-11 Thread Wenjun Wu
logical error. v4: rebase to the new baseline. Wenjun Wu (1): common/idpf: add AVX512 data path for split queue model drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf/idpf_common_rxtx_avx512.c | 797

[PATCH v3 1/1] common/idpf: add AVX512 data path for split queue model

2023-01-05 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu Reviewed-by: Wenjing Qiao --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf/idpf_common_rxtx_avx512.c | 797

[PATCH v3 0/1] Add support AVX512 split queue datapath

2023-01-05 Thread Wenjun Wu
logical error. Wenjun Wu (1): common/idpf: add AVX512 data path for split queue model drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf/idpf_common_rxtx_avx512.c | 797 +- drivers/common/idpf

[PATCH v2 1/1] common/idpf: add AVX512 data path for split queue model

2022-12-13 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf/idpf_common_rxtx_avx512.c | 797 +- drivers/common/idpf

[PATCH v2 0/1] Add support AVX512 split queue datapath

2022-12-13 Thread Wenjun Wu
This patchset enables AVX512 data path for split queue model. It is based on the below two pathsets 1. https://patches.dpdk.org/project/dpdk/cover/20221208072725.32434-1-beilei.x...@intel.com/ 2. https://patches.dpdk.org/project/dpdk/cover/20221208075309.37852-1-beilei.x...@intel.com/ Wenjun

[PATCH v1] common/idpf: add AVX512 data path for split queue model

2022-12-13 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf/idpf_common_rxtx_avx512.c | 797 +- drivers/common/idpf

[PATCH v1] net/iavf: fix error message in default initialization process

2022-05-26 Thread Wenjun Wu
When kernel driver does not support quanta size configuration, it will return error. We do not expect it to occur in default initialization process. Fixes: b14e8a57b9fe ("net/iavf: support quanta size configuration") Signed-off-by: Wenjun Wu --- drivers/net/iavf/iavf_ethdev.c | 8 +

[PATCH v4] net/iavf: fix race condition for multi-cores

2022-05-22 Thread Wenjun Wu
calculation by itself. Fixes: 2a0a62f40af5 ("net/iavf: enable Rx timestamp on Flex Descriptor") Fixes: 33db16136e55 ("net/iavf: improve performance of Rx timestamp offload") Signed-off-by: Wenjun Wu --- v4: rebase to the latest commit. v3: remove restrictions on init

[PATCH v3] net/iavf: fix race condition for multi-cores

2022-05-20 Thread Wenjun Wu
calculation by itself. Fixes: 2a0a62f40af5 ("net/iavf: enable Rx timestamp on Flex Descriptor") Fixes: 33db16136e55 ("net/iavf: improve performance of Rx timestamp offload") Signed-off-by: Wenjun Wu --- v3: remove restrictions on initialization. v2: move duplicated spi

[PATCH v2] net/iavf: fix race condition for multi-cores

2022-05-19 Thread Wenjun Wu
calculation by itself. Fixes: 2a0a62f40af5 ("net/iavf: enable Rx timestamp on Flex Descriptor") Fixes: 33db16136e55 ("net/iavf: improve performance of Rx timestamp offload") Signed-off-by: Wenjun Wu --- v2: move duplicated spinlock initialization. --- drivers/net/iav

[PATCH v1] net/iavf: fix race condition for multi-cores

2022-05-18 Thread Wenjun Wu
calculation by itself. Fixes: 2a0a62f40af5 ("net/iavf: enable Rx timestamp on Flex Descriptor") Fixes: 33db16136e55 ("net/iavf: improve performance of Rx timestamp offload") Signed-off-by: Wenjun Wu --- drivers/net/iavf/iavf.h| 5 ++- drivers/net/iavf/iavf_ethdev.c

[PATCH v11 7/7] net/ice: add warning log for unsupported configuration

2022-05-16 Thread Wenjun Wu
Priority configuration is enabled in level 3 and level 4. Weight configuration is enabled in level 4. This patch adds warning log for unsupported priority and weight configuration. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 9 + 1 file changed, 9 insertions(+) diff --git a

[PATCH v11 6/7] net/ice: support queue weight configuration

2022-05-16 Thread Wenjun Wu
This patch adds queue weight configuration support. Signed-off-by: Wenjun Wu --- doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/ice/ice_tm.c | 13 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/guides/rel_notes/release_22_07.rst b

[PATCH v11 5/7] net/ice: support queue and queue group priority configuration

2022-05-16 Thread Wenjun Wu
This patch adds queue and queue group priority configuration support. The highest priority is 0, and the lowest priority is 7. Signed-off-by: Wenjun Wu --- doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/ice/ice_tm.c | 23 +-- 2 files changed, 22

[PATCH v11 4/7] net/ice: support queue and queue group bandwidth limit

2022-05-16 Thread Wenjun Wu
nodes. Only TC0 is valid. Signed-off-by: Wenjun Wu Signed-off-by: Ting Xu --- doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/ice/ice_ethdev.c | 19 + drivers/net/ice/ice_ethdev.h | 55 ++ drivers/net/ice/ice_tm.c | 808

[PATCH v11 3/7] net/ice/base: support priority configuration of the exact node

2022-05-16 Thread Wenjun Wu
This patch adds priority configuration support of the exact node in the scheduler tree. This function does not need additional calls to the scheduler lock. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 22 ++ drivers/net/ice/base/ice_sched.h | 3 +++ 2

[PATCH v11 2/7] net/ice/base: support queue BW allocation configuration

2022-05-16 Thread Wenjun Wu
This patch adds BW allocation support of queue scheduling node to support WFQ in queue level. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 64 drivers/net/ice/base/ice_sched.h | 3 ++ 2 files changed, 67 insertions(+) diff --git a/drivers

[PATCH v11 1/7] net/ice/base: fix dead lock issue when getting node from ID type

2022-05-16 Thread Wenjun Wu
solve this problem. Fixes: 93e84b1bfc92 ("net/ice/base: add basic Tx scheduler") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/ne

[PATCH v11 0/7] Enable ETS-based TX QoS on PF

2022-05-16 Thread Wenjun Wu
: add release note. v7: merge the release note with the previous patch. v8: rework shared code patch. v9: rebase the code. v10: rebase the code and rework the release note. v11: add fix information in commit log. Ting Xu (1): net/ice: support queue and queue group bandwidth limit Wenjun Wu (6

[PATCH v10 7/7] net/ice: add warning log for unsupported configuration

2022-05-16 Thread Wenjun Wu
Priority configuration is enabled in level 3 and level 4. Weight configuration is enabled in level 4. This patch adds warning log for unsupported priority and weight configuration. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 9 + 1 file changed, 9 insertions(+) diff --git a

[PATCH v10 6/7] net/ice: support queue weight configuration

2022-05-16 Thread Wenjun Wu
This patch adds queue weight configuration support. Signed-off-by: Wenjun Wu --- doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/ice/ice_tm.c | 13 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/guides/rel_notes/release_22_07.rst b

[PATCH v10 5/7] net/ice: support queue and queue group priority configuration

2022-05-16 Thread Wenjun Wu
This patch adds queue and queue group priority configuration support. The highest priority is 0, and the lowest priority is 7. Signed-off-by: Wenjun Wu --- doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/ice/ice_tm.c | 23 +-- 2 files changed, 22

[PATCH v10 4/7] net/ice: support queue and queue group bandwidth limit

2022-05-16 Thread Wenjun Wu
nodes. Only TC0 is valid. Signed-off-by: Wenjun Wu Signed-off-by: Ting Xu --- doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/ice/ice_ethdev.c | 19 + drivers/net/ice/ice_ethdev.h | 55 ++ drivers/net/ice/ice_tm.c | 808

[PATCH v10 3/7] net/ice/base: support priority configuration of the exact node

2022-05-16 Thread Wenjun Wu
This patch adds priority configuration support of the exact node in the scheduler tree. This function does not need additional calls to the scheduler lock. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 22 ++ drivers/net/ice/base/ice_sched.h | 3 +++ 2

[PATCH v10 2/7] net/ice/base: support queue BW allocation configuration

2022-05-16 Thread Wenjun Wu
This patch adds BW allocation support of queue scheduling node to support WFQ in queue level. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 64 drivers/net/ice/base/ice_sched.h | 3 ++ 2 files changed, 67 insertions(+) diff --git a/drivers

[PATCH v10 1/7] net/ice/base: fix dead lock issue when getting node from ID type

2022-05-16 Thread Wenjun Wu
solve this problem. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c index 2620892c9e..e697c579be 100644 --- a/drivers/net/ice/base/ice_sched.c

[PATCH v10 0/7] Enable ETS-based TX QoS on PF

2022-05-16 Thread Wenjun Wu
: add release note. v7: merge the release note with the previous patch. v8: rework shared code patch. v9: rebase the code. v10: rebase the code and rework the release note. Ting Xu (1): net/ice: support queue and queue group bandwidth limit Wenjun Wu (6): net/ice/base: fix dead lock issue when

[PATCH v1] net/iavf: fix resource leak issue

2022-05-09 Thread Wenjun Wu
This patch fixes resource leak issue reported by coverity. Coverity issue: 378017 Fixes: b14e8a57b9fe ("net/iavf: support quanta size configuration") Signed-off-by: Wenjun Wu --- drivers/net/iavf/iavf_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/d

[PATCH v9 9/9] net/ice: add warning log for unsupported configuration

2022-04-27 Thread Wenjun Wu
Priority configuration is enabled in level 3 and level 4. Weight configuration is enabled in level 4. This patch adds warning log for unsupported priority and weight configuration. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 9 + 1 file changed, 9 insertions(+) diff --git a

[PATCH v9 8/9] net/ice: support queue group priority configuration

2022-04-27 Thread Wenjun Wu
This patch adds queue group priority configuration support. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_tm.c index 4d7bb9102c..f604523ead 100644 --- a/drivers/net/ice/ice_tm.c

[PATCH v9 7/9] net/ice: support queue weight configuration

2022-04-27 Thread Wenjun Wu
This patch adds queue weight configuration support. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_tm.c index 91e420d653..4d7bb9102c 100644 --- a/drivers/net

[PATCH v9 5/9] net/ice: support queue group bandwidth limit

2022-04-27 Thread Wenjun Wu
To set up the exact queue group, we need to reconfigure topology by delete and then recreate queue nodes. This patch adds queue group configuration support and queue group bandwidth limit support. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_ethdev.h | 9 +- drivers/net/ice/ice_tm.c

[PATCH v9 6/9] net/ice: support queue priority configuration

2022-04-27 Thread Wenjun Wu
This patch adds queue priority configuration support. The highest priority is 0, and the lowest priority is 7. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice

[PATCH v9 1/9] net/ice/base: fix dead lock issue when getting node from ID type

2022-04-27 Thread Wenjun Wu
solve this problem. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c index 2620892c9e..e697c579be 100644 --- a/drivers/net/ice/base/ice_sched.c

[PATCH v9 4/9] net/ice: support queue bandwidth limit

2022-04-27 Thread Wenjun Wu
From: Ting Xu Enable basic TM API for PF only. Support for adding profiles and queue nodes. Only max bandwidth is supported in profiles. Profiles can be assigned to target queues. Only TC0 is valid. Signed-off-by: Wenjun Wu Signed-off-by: Ting Xu --- doc/guides/rel_notes/release_22_07.rst

[PATCH v9 2/9] net/ice/base: support queue BW allocation configuration

2022-04-27 Thread Wenjun Wu
This patch adds BW allocation support of queue scheduling node to support WFQ in queue level. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 64 drivers/net/ice/base/ice_sched.h | 3 ++ 2 files changed, 67 insertions(+) diff --git a/drivers

[PATCH v9 0/9] Enable ETS-based TX QoS on PF

2022-04-27 Thread Wenjun Wu
: add release note. v7: merge the release note with the previous patch. v8: rework shared code patch. v9: rebase the code. Ting Xu (1): net/ice: support queue bandwidth limit Wenjun Wu (8): net/ice/base: fix dead lock issue when getting node from ID type net/ice/base: support queue BW

[PATCH v9 3/9] net/ice/base: support priority configuration of the exact node

2022-04-27 Thread Wenjun Wu
This patch adds priority configuration support of the exact node in the scheduler tree. This function does not need additional calls to the scheduler lock. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 22 ++ drivers/net/ice/base/ice_sched.h | 3 +++ 2

[PATCH v8 9/9] net/ice: add warning log for unsupported configuration

2022-04-27 Thread Wenjun Wu
Priority configuration is enabled in level 3 and level 4. Weight configuration is enabled in level 4. This patch adds warning log for unsupported priority and weight configuration. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 9 + 1 file changed, 9 insertions(+) diff --git a

[PATCH v8 8/9] net/ice: support queue group priority configuration

2022-04-27 Thread Wenjun Wu
This patch adds queue group priority configuration support. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_tm.c index 4d7bb9102c..f604523ead 100644 --- a/drivers/net/ice/ice_tm.c

[PATCH v8 7/9] net/ice: support queue weight configuration

2022-04-27 Thread Wenjun Wu
This patch adds queue weight configuration support. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_tm.c index 91e420d653..4d7bb9102c 100644 --- a/drivers/net

[PATCH v8 6/9] net/ice: support queue priority configuration

2022-04-27 Thread Wenjun Wu
This patch adds queue priority configuration support. The highest priority is 0, and the lowest priority is 7. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice

[PATCH v8 5/9] net/ice: support queue group bandwidth limit

2022-04-27 Thread Wenjun Wu
To set up the exact queue group, we need to reconfigure topology by delete and then recreate queue nodes. This patch adds queue group configuration support and queue group bandwidth limit support. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_ethdev.h | 9 +- drivers/net/ice/ice_tm.c

[PATCH v8 4/9] net/ice: support queue bandwidth limit

2022-04-27 Thread Wenjun Wu
From: Ting Xu Enable basic TM API for PF only. Support for adding profiles and queue nodes. Only max bandwidth is supported in profiles. Profiles can be assigned to target queues. Only TC0 is valid. Signed-off-by: Wenjun Wu Signed-off-by: Ting Xu --- doc/guides/rel_notes/release_22_07.rst

[PATCH v8 3/9] net/ice/base: support priority configuration of the exact node

2022-04-27 Thread Wenjun Wu
This patch adds priority configuration support of the exact node in the scheduler tree. This function does not need additional calls to the scheduler lock. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 22 ++ drivers/net/ice/base/ice_sched.h | 3 +++ 2

[PATCH v8 2/9] net/ice/base: support queue BW allocation configuration

2022-04-27 Thread Wenjun Wu
This patch adds BW allocation support of queue scheduling node to support WFQ in queue level. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 64 drivers/net/ice/base/ice_sched.h | 3 ++ 2 files changed, 67 insertions(+) diff --git a/drivers

[PATCH v8 1/9] net/ice/base: fix dead lock issue when getting node from ID type

2022-04-27 Thread Wenjun Wu
solve this problem. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c index 2620892c9e..e697c579be 100644 --- a/drivers/net/ice/base/ice_sched.c

[PATCH v8 0/9] Enable ETS-based TX QoS on PF

2022-04-27 Thread Wenjun Wu
: add release note. v7: merge the release note with the previous patch. v8: rework shared code patch. Ting Xu (1): net/ice: support queue bandwidth limit Wenjun Wu (8): net/ice/base: fix dead lock issue when getting node from ID type net/ice/base: support queue BW allocation configuration

[PATCH v6 3/3] net/iavf: support quanta size configuration

2022-04-21 Thread Wenjun Wu
This patch adds quanta size configuration support. Quanta size should between 256 and 4096, and be a product of 64. Signed-off-by: Wenjun Wu --- doc/guides/nics/intel_vf.rst | 4 +++ doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/iavf/iavf.h| 3

[PATCH v6 2/3] net/iavf: support queue rate limit configuration

2022-04-21 Thread Wenjun Wu
This patch adds queue rate limit configuration support. Only max bandwidth is supported. Signed-off-by: Ting Xu Signed-off-by: Wenjun Wu --- doc/guides/rel_notes/release_22_07.rst | 3 + drivers/net/iavf/iavf.h| 13 ++ drivers/net/iavf/iavf_tm.c | 190

[PATCH v6 0/3] Enable queue rate limit and quanta size configuration

2022-04-21 Thread Wenjun Wu
block device init if PF does not support. Fix this issue. v5: Update driver guide. v6: Merge the release note with the previous patch. Wenjun Wu (3): common/iavf: support queue rate limit and quanta size configuration net/iavf: support queue rate limit configuration net/iavf: support quanta

[PATCH v6 1/3] common/iavf: support queue rate limit and quanta size configuration

2022-04-21 Thread Wenjun Wu
-by: Wenjun Wu --- drivers/common/iavf/virtchnl.h | 50 ++ 1 file changed, 50 insertions(+) diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h index 3e44eca7d8..249ae6ed23 100644 --- a/drivers/common/iavf/virtchnl.h +++ b/drivers/common/iavf

[PATCH v7 9/9] net/ice: add warning log for unsupported configuration

2022-04-21 Thread Wenjun Wu
Priority configuration is enabled in level 3 and level 4. Weight configuration is enabled in level 4. This patch adds warning log for unsupported priority and weight configuration. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 9 + 1 file changed, 9 insertions(+) diff --git a

[PATCH v7 8/9] net/ice: support queue group priority configuration

2022-04-21 Thread Wenjun Wu
This patch adds queue group priority configuration support. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_tm.c index 4d7bb9102c..17f369994b 100644 --- a/drivers/net/ice/ice_tm.c

[PATCH v7 7/9] net/ice: support queue weight configuration

2022-04-21 Thread Wenjun Wu
This patch adds queue weight configuration support. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_tm.c index 91e420d653..4d7bb9102c 100644 --- a/drivers/net

[PATCH v7 6/9] net/ice: support queue priority configuration

2022-04-21 Thread Wenjun Wu
This patch adds queue priority configuration support. The highest priority is 0, and the lowest priority is 7. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice

[PATCH v7 5/9] net/ice: support queue group bandwidth limit

2022-04-21 Thread Wenjun Wu
To set up the exact queue group, we need to reconfigure topology by delete and then recreate queue nodes. This patch adds queue group configuration support and queue group bandwidth limit support. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_ethdev.h | 9 +- drivers/net/ice/ice_tm.c

[PATCH v7 4/9] net/ice: support queue bandwidth limit

2022-04-21 Thread Wenjun Wu
From: Ting Xu Enable basic TM API for PF only. Support for adding profiles and queue nodes. Only max bandwidth is supported in profiles. Profiles can be assigned to target queues. Only TC0 is valid. Signed-off-by: Wenjun Wu Signed-off-by: Ting Xu --- doc/guides/rel_notes/release_22_07.rst

[PATCH v7 3/9] net/ice/base: support queue BW allocation configuration

2022-04-21 Thread Wenjun Wu
This patch adds BW allocation support of queue scheduling node to support WFQ in queue level. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 64 drivers/net/ice/base/ice_sched.h | 3 ++ 2 files changed, 67 insertions(+) diff --git a/drivers

[PATCH v7 2/9] net/ice/base: support priority configuration of the exact node

2022-04-21 Thread Wenjun Wu
This patch adds priority configuration support of the exact node in the scheduler tree. This function does not need additional calls to the scheduler lock. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 21 + drivers/net/ice/base/ice_sched.h | 3 +++ 2

[PATCH v7 1/9] net/ice/base: fix dead lock issue when getting node from ID type

2022-04-21 Thread Wenjun Wu
solve this problem. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c index 2620892c9e..e697c579be 100644 --- a/drivers/net/ice/base/ice_sched.c

  1   2   3   >