Re: [PATCH] maintainers: update for hns3

2025-04-11 Thread Jie Hai
Hi, maintainers, Kindly ping for reviews. Thanks. On 2025/4/2 16:47, Jie Hai wrote: I am moving on to other things and dengdui is going to take over the role of hns3 maintainer. Update the MAINTAINERS accordingly. Signed-off-by: Jie Hai --- MAINTAINERS | 2 +- 1 file changed, 1 insertion

Re: [PATCH] net: fix GTP packet parsing

2025-04-11 Thread Jie Hai
Good job! Acked-by: Jie Hai On 2025/4/11 16:43, Dengdui Huang wrote: After parsing the GTP packet header, the next protocol type should be converted from RTE_GTP_TYPE_IPV4/IPV6 to RTE_ETHER_TYPE_IPV4/IPV6. Otherwise, the next protocol cannot be parsed. Fixes: 64ed7f854cf4 ("net: add t

[PATCH] maintainers: update for hns3

2025-04-05 Thread Jie Hai
I am moving on to other things and dengdui is going to take over the role of hns3 maintainer. Update the MAINTAINERS accordingly. Signed-off-by: Jie Hai --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4b01103f8e83..bcc9fdaf0c92

Re: [PATCH v3 1/2] net: add ptype parse for tunnel packets

2025-02-21 Thread Jie Hai
On 2025/2/15 0:35, Stephen Hemminger wrote: On Fri, 14 Feb 2025 09:56:37 +0800 Jie Hai wrote: Add packet types parse for vxlan/vxlan-gpe/gtp/geneve packets. Signed-off-by: Jie Hai --- Not sure about this. The original purpose of ptype was to support hardware offload information. Does any

Re: [PATCH v2] examples/l3fwd: add option to set Tx burst size

2025-02-20 Thread Jie Hai
On 2025/2/20 1:01, Konstantin Ananyev wrote: On 2024/12/4 10:06, Jie Hai wrote: The application send packets only when the buffer is full, or the buffer is empty and the packets to be sent extends TX_PKT_BURST. The change of MAX_PKT_BURST make TX buffer size and TX_PKT_BURST increase, while

Re: [PATCH v2] examples/l3fwd: add option to set Tx burst size

2025-02-13 Thread Jie Hai
Hi, all maintainers, Kindly ping for review. Thanks, Jie Hai On 2024/12/4 10:06, Jie Hai wrote: The application send packets only when the buffer is full, or the buffer is empty and the packets to be sent extends TX_PKT_BURST. The change of MAX_PKT_BURST make TX buffer size and TX_PKT_BURST

[PATCH v3 2/2] app/test-pmd: use ptype API parse packets

2025-02-13 Thread Jie Hai
1. Use rte_net_get_ptype() to parse packets instead. 2. Support TSO for packets with ipv6 extension header. Signed-off-by: Jie Hai --- app/test-pmd/csumonly.c | 522 ++-- 1 file changed, 128 insertions(+), 394 deletions(-) diff --git a/app/test-pmd

[PATCH v3 1/2] net: add ptype parse for tunnel packets

2025-02-13 Thread Jie Hai
Add packet types parse for vxlan/vxlan-gpe/gtp/geneve packets. Signed-off-by: Jie Hai --- lib/net/rte_net.c | 110 ++ 1 file changed, 102 insertions(+), 8 deletions(-) diff --git a/lib/net/rte_net.c b/lib/net/rte_net.c index d680accc1631

[PATCH v3 0/2] app/testpmd: add ipv6 extension header parse

2025-02-13 Thread Jie Hai
This patch support parse ipv6 extension header, and support TSO for ipv6tcp packets with extension header. Jie Hai (2): net: add ptype parse for tunnel packets app/test-pmd: use ptype API parse packets app/test-pmd/csumonly.c | 522 ++-- lib/net/rte_net.c

[PATCH 1/2] net/hns3: fix possible copper port initialize fail

2025-02-09 Thread Jie Hai
From: Dengdui Huang The initialization of copper port contains the following two steps. 1. Configure firmware takeover the PHY. The firmware will start an asynchronous task to initialize the PHY chip. 2. Configure work speed and duplex. In earlier versions of the firmware, when the asynchronou

[PATCH 2/2] net/hns3: fix possible reset timeout

2025-02-09 Thread Jie Hai
From: Dengdui Huang There is low probability that the driver reset timeout, the root cause is that the firmware processing take a litter long than normal when process reset command. This patch fix it by changing the timeout of the reset command to 100 ms. Fixes: 737f30e1c3ab ("net/hns3: support

[PATCH 0/2] net/hns3: bugfix on hns3

2025-02-09 Thread Jie Hai
Fix some possible failure on hns3 driver. Dengdui Huang (2): net/hns3: fix possible copper port initialize fail net/hns3: fix possible reset timeout drivers/net/hns3/hns3_cmd.c| 18 -- drivers/net/hns3/hns3_cmd.h| 4 ++-- drivers/net/hns3/hns3_ethdev.c | 29 +

[PATCH v2 0/2] parse ptype for tunnel packets

2025-01-24 Thread Jie Hai
1. add ptype parse for tunnel packets. 2. use ptype API to parse packets instead. 3. support TSO for packets with ipv6 extension header Jie Hai (2): net: add ptype parse for tunnel packets app/test-pmd: use ptype API parse packets app/test-pmd/csumonly.c | 522

[PATCH v2 2/2] app/test-pmd: use ptype API parse packets

2025-01-24 Thread Jie Hai
1. Use rte_net_get_ptype() to parse packets instead. 2. Support TSO for packets with ipv6 extension header. Signed-off-by: Jie Hai --- app/test-pmd/csumonly.c | 522 ++-- 1 file changed, 128 insertions(+), 394 deletions(-) diff --git a/app/test-pmd

[PATCH v2 1/2] net: add ptype parse for tunnel packets

2025-01-24 Thread Jie Hai
Add packet types parse for vxlan/vxlan-gpe/gtp/geneve packets. Signed-off-by: Jie Hai --- lib/net/rte_net.c | 111 ++ 1 file changed, 102 insertions(+), 9 deletions(-) diff --git a/lib/net/rte_net.c b/lib/net/rte_net.c index d680accc1631

Re: [PATCH] app/testpmd: add ipv6 extension header parse

2025-01-13 Thread Jie Hai
Hi, Stephen Hemminger, On 2025/1/9 1:02, Stephen Hemminger wrote: On Wed, 8 Jan 2025 10:46:32 +0800 Jie Hai wrote: From: Jie Hai To: , , , Aman Singh CC: , , , Subject: [PATCH] app/testpmd: add ipv6 extension header parse Date: Wed, 8 Jan 2025 10:46:32 +0800 X-Mailer: git-send-email

[PATCH] app/testpmd: add ipv6 extension header parse

2025-01-07 Thread Jie Hai
This patch support parse ipv6 extension header, and support TSO for ipv6tcp packets with extension header. Signed-off-by: Jie Hai --- app/test-pmd/csumonly.c | 47 - 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/csumonly.c b

Re: [PATCH 1/3] net/hns3: fix simple Tx path incorrect free the mbuf

2025-01-07 Thread Jie Hai
On 2024/12/31 1:55, Stephen Hemminger wrote: On Mon, 30 Dec 2024 14:54:03 +0800 Jie Hai wrote: From: Jie Hai To: , , , , , Chengwen Feng , "Wei Hu (Xavier)" , Huisong Li CC: , Subject: [PATCH 1/3] net/hns3: fix simple Tx path incorrect free the mbuf Date: Mon, 30 Dec 202

[PATCH 2/3] net/hns3: remove pvid info dump for VF

2024-12-29 Thread Jie Hai
Since the pvid status obtained from kernel varies on different platform, and the pvid of VF can be accessed by 'ip link show' command, so remove it in case of misunderstanding. Fixes: 871e5a4f881b ("net/hns3: dump VLAN configuration info") Cc: sta...@dpdk.org Signed-off-by: J

[PATCH 1/3] net/hns3: fix simple Tx path incorrect free the mbuf

2024-12-29 Thread Jie Hai
From: Dengdui Huang When RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE offload is not set, use rte_pktmbuf_free_seg() to free the mbuf. Fixes: 7ef933908f04 ("net/hns3: add simple Tx path") Cc: sta...@dpdk.org Signed-off-by: Dengdui Huang Signed-off-by: Jie Hai --- drivers/net/hns3/hns3_rxtx.c

[PATCH 0/3] net/hns3: bugfix on hns3

2024-12-29 Thread Jie Hai
The patchset fixes some codes. Dengdui Huang (1): net/hns3: fix simple Tx path incorrect free the mbuf Jie Hai (2): net/hns3: remove pvid info dump for VF net/hns3: rename RAS module drivers/net/hns3/hns3_dump.c | 4 drivers/net/hns3/hns3_intr.c | 4 ++-- drivers/net/hns3

[PATCH 3/3] net/hns3: rename RAS module

2024-12-29 Thread Jie Hai
Rename ROH_MAC module as HIMAC to avoid misunderstandings. Fixes: 1c1eb759e9d7 ("net/hns3: support RAS process in Kunpeng 930") Cc: sta...@dpdk.org Signed-off-by: Jie Hai --- drivers/net/hns3/hns3_intr.c | 4 ++-- drivers/net/hns3/hns3_intr.h | 2 +- 2 files changed, 3 insert

[PATCH v2] examples/l3fwd: add option to set Tx burst size

2024-12-03 Thread Jie Hai
rections. Fixes: d5c4897ecfb2 ("examples/l3fwd: add option to set RX burst size") Cc: sta...@dpdk.org Signed-off-by: Jie Hai --- examples/l3fwd/l3fwd.h| 14 +++--- examples/l3fwd/l3fwd_acl.c| 2 +- examples/l3fwd/l3fwd_common.h | 2 +- examples/l3fwd/l3fwd_em.c |

Question on TX offload

2024-12-02 Thread Jie Hai
aders with extenstion? If yes, documention and testpmd app should be updated. If no, maybe documention should be updated more detailed. Thanks, Jie Hai

Re: [PATCH v4] net/hns3: fix Rx packet without CRC data

2024-11-28 Thread Jie Hai
Hi, stephen, Kindly ping for review. Thanks, Jie Hai On 2024/11/27 18:08, Jie Hai wrote: From: Dengdui Huang When KEEP_CRC offload is enabled, the CRC data is still stripped in following cases: 1. For HIP08 network engine, the packet type is TCP and the length is less than or equal to

[PATCH v4] net/hns3: fix Rx packet without CRC data

2024-11-27 Thread Jie Hai
Acked-by: Huisong Li Acked-by: Jie Hai --- drivers/net/hns3/hns3_ethdev.c| 5 ++ drivers/net/hns3/hns3_ethdev.h| 23 + drivers/net/hns3/hns3_rxtx.c | 121 +- drivers/net/hns3/hns3_rxtx.h | 3 + drivers/net/hns3/hns3_rxtx_vec.c

Re: [PATCH v3 3/3] net/hns3: fix Rx packet without CRC data

2024-11-26 Thread Jie Hai
On 2024/11/27 8:16, Stephen Hemminger wrote: On Fri, 19 Jul 2024 17:04:15 +0800 Jie Hai wrote: From: Dengdui Huang When KEEP_CRC offload is enabled, the CRC data is still stripped in following cases: 1. For HIP08 network engine, the packet type is TCP and the length is less than or

Re: [PATCH v3 1/3] ethdev: add description for KEEP CRC offload

2024-11-25 Thread Jie Hai
Hi, Stephen Hemminger Thanks for your review. I will add doc and fix on drivers in the next version. The test will be done later. On 2024/11/23 1:10, Stephen Hemminger wrote: On Fri, 19 Jul 2024 17:04:13 +0800 Jie Hai wrote: From: Dengdui Huang The data exceeds the pkt_len in mbuf is

Re: [PATCH] examples/l3fwd: fix Tx performance deteriorate

2024-11-25 Thread Jie Hai
Hi, konstantin.ananyev, That sounds better, will send V2。 Thanks, Jie Hai In commit: examples/l3fwd: add option to set Rx burst size you introduced new global uint32_t nb_pkt_per_burst; Why not to use it for both (rx and tx) paths? Or if necessary introduce another one for tx, so we'll

[PATCH v6 03/25] app/crypto-perf: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: f6cefe253cc8 ("app/crypto-perf: add range/list of sizes") Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Ciara Power --- app/test-crypto-perf/cpe

[PATCH v6 25/25] eal/linux: install rte_os_shim.h file

2024-11-22 Thread Jie Hai
L2fwd examples fails to be compiled because it includes rte_os_shim.h file but cannot find it. The missing file is not installed, install it. See [1] for more details. [1] https://mails.dpdk.org/archives/test-report/2024-November/822571.html Signed-off-by: Jie Hai --- lib/eal/linux/include

[PATCH v6 24/25] devtools: check for some reentrant function

2024-11-22 Thread Jie Hai
is non-reentrant. Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- devtools/checkpatches.sh | 8 1 file changed, 8 insertions(+) diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index 4a8591be225e..80fe41604427 100755

[PATCH v6 23/25] examples/vhost: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 53d3f4778c1d ("vhost: integrate dmadev in asynchronous data-path") Signed-off-by: Jie Hai --- examples/vhost/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 43

[PATCH v6 18/25] raw/cnxk_gpio: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: ecc0dd455e9a ("raw/cnxk_gpio: add option to select subset of GPIOs") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- drivers/raw/cnxk_gpio/cnxk_gpio.c | 7 --- 1 file changed, 4 insertions(+), 3

[PATCH v6 22/25] examples/l2fwd-crypto: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 1df9c0109f4c ("examples/l2fwd-crypto: parse key parameters") Signed-off-by: Jie Hai --- examples/l2fwd-crypto/main.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/ma

[PATCH v6 21/25] net/mlx5: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 0683c002f7f5 ("net/mlx5: add testpmd commands for GENEVE TLV parser") Signed-off-by: Jie Hai --- drivers/net/mlx5/mlx5_testpmd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5_testpmd.c b/driver

[PATCH v6 20/25] common/qat: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 99ab2806687b ("common/qat: isolate parser arguments configuration") Signed-off-by: Jie Hai --- drivers/common/qat/qat_device.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/common/qat/qat_device.c b/drivers/

[PATCH v6 19/25] net/cnxk: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: c8f91985331c ("raw/cnxk_gpio: replace strtok with reentrant version") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng --- drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) di

[PATCH v6 17/25] net/ark: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 9c7188a68d7b ("net/ark: provide API for hardware modules pktchkr and pktgen") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- drivers/net/ark/ark_pktchkr.c | 11 ++- drivers/net/ark/ark_pktg

[PATCH v6 15/25] common/cnxk: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: af75aac78978 ("common/cnxk: support telemetry for NIX") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup Acked-by: Stephen Hemminger --- drivers/common/cnxk/cnxk_telemetry_nix.c | 13 +++-- 1 file

[PATCH v6 13/25] telemetry: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 6dd571fd07c3 ("telemetry: introduce new functionality") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Ciara Power Acked-by: Morten Brørup Acked-by: Stephen Hemminger --- lib/telemetry/telemetry.c | 6 -- 1 file

[PATCH v6 11/25] eventdev: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- lib/eventdev/rte_event_eth_rx_adapter.c | 39 + lib/eventdev/rte_eventdev.c | 18 ++-- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git

[PATCH v6 16/25] event/cnxk: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 8a3d58c189fd ("event/cnxk: add option to control timer adapters") Fixes: 8bdbae66b299 ("event/cnxk: add external clock support for timer") Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- drivers/event/cnxk/c

[PATCH v6 14/25] bus/fslmc: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 9ccb76b24c1d ("bus/fslmc: enable portal interrupt handling") Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Sachin Saxena Acked-by: Morten Brør

[PATCH v6 12/25] security: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 259ca6d1617f ("security: add telemetry endpoint for capabilities") Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- lib/security/rte_security.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/li

[PATCH v6 09/25] eal: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 2054f31a1fcd ("mem: add memseg info in telemetry") Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Amit Prakash Shukla Acked-by: Morten Brørup --- lib/eal/common/eal_common_memory.c | 8 1 file changed, 4 insertions(+), 4 deletion

[PATCH v6 10/25] ethdev: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: f38f62650f7b ("ethdev: add Rx queue telemetry query") Fixes: 9e7533aeb80a ("ethdev: add telemetry command for TM level capabilities") Signed-off-by: Jie Hai Acked-by: Chengwen Feng Reviewed-by: Andrew Rybchenko Acked-by: Morten Brø

[PATCH v6 08/25] dmadev: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 39b5ab60df30 ("dmadev: add telemetry") Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- lib/dmadev/rte_dmadev.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/dmadev/rte_dmadev.c b/lib/dmadev/rt

[PATCH v6 07/25] app/test-fib: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 103809d032cd ("app/test-fib: add test application for FIB") Signed-off-by: Jie Hai Acked-by: Chengwen Feng --- app/test-fib/main.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/test-fib/main.c b/app/test-fib/ma

[PATCH v6 06/25] app/test-mldev: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: bbd272edcb14 ("app/mldev: add ordered inferences") Fixes: 28a4a819c850 ("app/mldev: improve checks for invalid options") Fixes: da6793390596 ("app/mldev: support inference validation") Fixes: f6661e6d9a3a ("app/mldev: validate mod

[PATCH v6 05/25] app/flow-perf: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 0c8f1f4ab90e ("app/flow-perf: support raw encap/decap actions") Fixes: 7f37f0936a19 ("app/flow-perf: support meter policy API") Fixes: 80a323319745 ("app/flow-perf: add destination ports parameter") Signed-off-by: Jie Hai Acked-by

[PATCH v6 04/25] app/dma-perf: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test") Signed-off-by: Jie Hai Acked-by: Chengwen Feng --- app/test-dma-perf/main.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/test-dma-perf/main.c b/app/tes

[PATCH v6 02/25] app/compress-perf: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: e0b6287c035d ("app/compress-perf: add parser") Signed-off-by: Jie Hai Acked-by: Chengwen Feng --- .../comp_perf_options_parse.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/app/test-com

[PATCH v6 01/25] app/bbdev: replace strtok with reentrant version

2024-11-22 Thread Jie Hai
with a reentrant version. Fixes: 0acdb9866756 ("test/bbdev: add FFT operations cases") Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev") Signed-off-by: Jie Hai Acked-by: Chengwen Feng --- app/test-bbdev/test_bbdev_vector.c | 42 +-

[PATCH v6 00/25] replace strtok with strtok_r

2024-11-22 Thread Jie Hai
. v3: 1. fix compile error. 2. use strtok_r instead. v2: 1. fix commit log. 2. add check in checkpatches.sh. 3. replace strtok_r with strtok_s. 4. add Acked-by. -- Jie Hai (25): app/bbdev: replace strtok with reentrant version app/compress-perf: replace strtok with reentrant version app/crypto

[PATCH] examples/l3fwd: fix Tx performance deteriorate

2024-11-22 Thread Jie Hai
This patch optimizes the default performance by lowering TX threshold. Fixes: d5c4897ecfb2 ("examples/l3fwd: add option to set Rx burst size") Signed-off-by: Jie Hai --- examples/l3fwd/l3fwd.h| 8 +--- examples/l3fwd/l3fwd_common.h | 6 +++--- 2 files changed, 8 insertions(+),

Re: [PATCH v3 0/3] bugfix about KEEP CRC offload

2024-11-12 Thread Jie Hai
Hi, stephen, ferruh, thomas, This group of patches does not modify the API and is a problem for hns3 driver. Can the patches be applied in the current window? Best regards, Jie Hai On 2024/7/19 17:04, Jie Hai wrote: For hns3 NIC, when KEEP_CRC offload is enabled, the CRC data is still be

Re: [PATCH v4 0/2] examples/l3fwd: add more options

2024-11-12 Thread Jie Hai
Hi, Ferruh and Thomas, Kindly ping for reviews. Since this patchset has some Acked-bys and no comments, are there any comments or suggestions? Best regards, Jie Hai On 2024/10/18 9:08, Jie Hai wrote: Add options to support configuring RX burst size and cache size of mbuf mempoool. -- v4: 1

[PATCH v5 05/25] app/dma-perf: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test") Signed-off-by: Jie Hai Acked-by: Chengwen Feng --- app/test-dma-perf/main.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/app/test-dma-perf/main.c b/ap

[PATCH v5 25/25] devtools: check for some reentrant function

2024-11-08 Thread Jie Hai
is non-reentrant. Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- devtools/checkpatches.sh | 8 1 file changed, 8 insertions(+) diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index 4a8591be225e..80fe41604427 100755

[PATCH v5 22/25] net/mlx5: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 0683c002f7f5 ("net/mlx5: add testpmd commands for GENEVE TLV parser") Signed-off-by: Jie Hai --- drivers/net/mlx5/mlx5_testpmd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5_testpmd.c b/driver

[PATCH v5 19/25] raw/cnxk_gpio: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: ecc0dd455e9a ("raw/cnxk_gpio: add option to select subset of GPIOs") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- drivers/raw/cnxk_gpio/cnxk_gpio.c | 7 --- 1 file changed, 4 insertions(+), 3

[PATCH v5 23/25] examples/l2fwd-crypto: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 1df9c0109f4c ("examples/l2fwd-crypto: parse key parameters") Signed-off-by: Jie Hai --- examples/l2fwd-crypto/main.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/ma

[PATCH v5 24/25] examples/vhost: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 53d3f4778c1d ("vhost: integrate dmadev in asynchronous data-path") Signed-off-by: Jie Hai --- examples/vhost/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 43

[PATCH v5 16/25] common/cnxk: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: af75aac78978 ("common/cnxk: support telemetry for NIX") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup Acked-by: Stephen Hemminger --- drivers/common/cnxk/cnxk_telemetry_nix.c | 13 +++-- 1 file

[PATCH v5 11/25] ethdev: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: f38f62650f7b ("ethdev: add Rx queue telemetry query") Fixes: 9e7533aeb80a ("ethdev: add telemetry command for TM level capabilities") Signed-off-by: Jie Hai Acked-by: Chengwen Feng Reviewed-by: Andrew Rybchenko Acked-by: Morten Brø

[PATCH v5 21/25] common/qat: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 99ab2806687b ("common/qat: isolate parser arguments configuration") Signed-off-by: Jie Hai --- drivers/common/qat/qat_device.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/common/qat/qat_device.c b/drivers/

[PATCH v5 20/25] net/cnxk: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: c8f91985331c ("raw/cnxk_gpio: replace strtok with reentrant version") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng --- drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) di

[PATCH v5 18/25] net/ark: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 9c7188a68d7b ("net/ark: provide API for hardware modules pktchkr and pktgen") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- drivers/net/ark/ark_pktchkr.c | 11 ++- drivers/net/ark/ark_pktg

[PATCH v5 15/25] bus/fslmc: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 9ccb76b24c1d ("bus/fslmc: enable portal interrupt handling") Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Sachin Saxena Acked-by: Morten Brør

[PATCH v5 17/25] event/cnxk: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 8a3d58c189fd ("event/cnxk: add option to control timer adapters") Fixes: 8bdbae66b299 ("event/cnxk: add external clock support for timer") Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- drivers/event/cnxk/c

[PATCH v5 12/25] eventdev: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- lib/eventdev/rte_event_eth_rx_adapter.c | 39 + lib/eventdev/rte_eventdev.c | 18 ++-- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git

[PATCH v5 14/25] telemetry: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 6dd571fd07c3 ("telemetry: introduce new functionality") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Ciara Power Acked-by: Morten Brørup Acked-by: Stephen Hemminger --- lib/telemetry/telemetry.c | 6 -- 1 file

[PATCH v5 13/25] security: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 259ca6d1617f ("security: add telemetry endpoint for capabilities") Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- lib/security/rte_security.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/li

[PATCH v5 09/25] dmadev: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 39b5ab60df30 ("dmadev: add telemetry") Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- lib/dmadev/rte_dmadev.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/dmadev/rte_dmadev.c b/lib/dmadev/rt

[PATCH v5 08/25] app/test-fib: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 103809d032cd ("app/test-fib: add test application for FIB") Signed-off-by: Jie Hai Acked-by: Chengwen Feng --- app/test-fib/main.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/test-fib/main.c b/app/test-fib/ma

[PATCH v5 10/25] eal: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 2054f31a1fcd ("mem: add memseg info in telemetry") Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Amit Prakash Shukla Acked-by: Morten Brørup --- lib/eal/common/eal_common_memory.c | 8 1 file changed, 4 insertions(+), 4 deletion

[PATCH v5 06/25] app/flow-perf: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 0c8f1f4ab90e ("app/flow-perf: support raw encap/decap actions") Fixes: 7f37f0936a19 ("app/flow-perf: support meter policy API") Fixes: 80a323319745 ("app/flow-perf: add destination ports parameter") Signed-off-by: Jie Hai Acked-by

[PATCH v5 07/25] app/test-mldev: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: bbd272edcb14 ("app/mldev: add ordered inferences") Fixes: 28a4a819c850 ("app/mldev: improve checks for invalid options") Fixes: da6793390596 ("app/mldev: support inference validation") Fixes: f6661e6d9a3a ("app/mldev: validate mod

[PATCH v5 04/25] app/crypto-perf: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: f6cefe253cc8 ("app/crypto-perf: add range/list of sizes") Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Ciara Power --- app/test-crypto-perf/cpe

[PATCH v5 03/25] app/compress-perf: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: e0b6287c035d ("app/compress-perf: add parser") Signed-off-by: Jie Hai Acked-by: Chengwen Feng --- .../comp_perf_options_parse.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/app/test-com

[PATCH v5 00/25]

2024-11-08 Thread Jie Hai
. fix commit log. 2. add check in checkpatches.sh. 3. replace strtok_r with strtok_s. 4. add Acked-by. -- Jie Hai (25): app/graph: replace strtok with reentrant version app/bbdev: replace strtok with reentrant version app/compress-perf: replace strtok with reentrant version app/crypto-perf

[PATCH v5 01/25] app/graph: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 5c59002a34f3 ("app/graph: add graph commands") Fixes: 984a315a5804 ("app/graph: add parser utility") Signed-off-by: Jie Hai Acked-by: Chengwen Feng --- app/graph/graph.c | 6 -- app/graph/utils.c | 16 ++-- 2 files changed,

[PATCH v5 02/25] app/bbdev: replace strtok with reentrant version

2024-11-08 Thread Jie Hai
with a reentrant version. Fixes: 0acdb9866756 ("test/bbdev: add FFT operations cases") Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev") Signed-off-by: Jie Hai Acked-by: Chengwen Feng --- app/test-bbdev/test_bbdev_vector.c | 42 +-

Re: [PATCH v4 02/13] eal: replace strtok with reentrant version

2024-11-07 Thread Jie Hai
Hi, Stephen Hemminger, Thanks for your reviews. I'll replace all strtok with strtok_r, and Cc to stable only the necessary ones. Best regards, Jie Hai On 2024/10/29 10:51, Stephen Hemminger wrote: On Tue, 29 Oct 2024 08:56:20 +0800 fengchengwen wrote: This doesn't need to go

Re: [PATCH v4 00/13] replace strtok with reentrant version

2024-11-07 Thread Jie Hai
Hi, David Marchand , Thank you very much for your reminder and comments. I will correct it in the next version. Best Regards, Jie Hai On 2024/11/7 4:11, David Marchand wrote: Hello, On Sat, Oct 26, 2024 at 12:26 PM Jie Hai wrote: Multiple threads calling the same function may cause

[PATCH 1/2] net/hns3: fix error code for repeatedly create counter

2024-11-07 Thread Jie Hai
From: Dengdui Huang Return EINVAL instead of ENOSPC when the same counter ID is used for multiple times to create a counter. Fixes: fcba820d9b9e ("net/hns3: support flow director") Cc: sta...@dpdk.org Signed-off-by: Dengdui Huang Signed-off-by: Jie Hai --- drivers/net/hns3/hns3_

[PATCH 2/2] net/hns3: fix cannot fully use hardware flow director table

2024-11-07 Thread Jie Hai
inserted even if the hardware flow director table there are still free. This patch fix it by enabling the rte_hash extensible bucket table feature. Fixes: fcba820d9b9e ("net/hns3: support flow director") Cc: sta...@dpdk.org Signed-off-by: Dengdui Huang Signed-off-by: Jie Hai --- driver

[PATCH 0/2] net/hns3: bugfix for hns3

2024-11-07 Thread Jie Hai
This patchset fixes some bugs. Dengdui Huang (2): net/hns3: fix error code for repeatedly create counter net/hns3: fix cannot fully use hardware flow director table drivers/net/hns3/hns3_fdir.c | 1 + drivers/net/hns3/hns3_flow.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) -- 2

Re: [PATCH v3 0/3] bugfix about KEEP CRC offload

2024-11-05 Thread Jie Hai
Hi, all maintainers, Kindly ping for reviews. Thanks, Jie Hai On 2024/7/19 17:04, Jie Hai wrote: For hns3 NIC, when KEEP_CRC offload is enabled, the CRC data is still be stripped in rare scenarios. Some users of hns3 are already using this feature. So driver has to recaculate packet CRC. In

Re: [PATCH v4 0/2] examples/l3fwd: add more options

2024-11-05 Thread Jie Hai
Hi, all maintainers, Kindly ping for review. Thanks, Jie Hai On 2024/10/18 9:08, Jie Hai wrote: Add options to support configuring RX burst size and cache size of mbuf mempoool. -- v4: 1. fix help info. v3: 1. add Acked-bys. 2. fix compile error. -- Jie Hai (2): examples/l3fwd: add

Re: [PATCH] examples/l3fwd: add option to set RX burst size

2024-11-05 Thread Jie Hai
Hi, all maintainers, Kindly ping for review. Thanks, Jie Hai On 2024/10/12 16:40, Jie Hai wrote: Now the Rx burst size is fixed to MAX_PKT_BURST (32). This parameter needs to be modified in some performance optimization scenarios. So an option '--burst' is added to set the

Re: [PATCH] net/hns3: remove roh devices

2024-10-30 Thread Jie Hai
On 2024/10/26 14:38, Jie Hai wrote: From: Dengdui Huang The devices added in commit 3f1436d7006c ("net/hns3: support new device") is no longer available, so revert it. Fixes: 3f1436d7006c ("net/hns3: support new device") Cc: sta...@dpdk.org Signed-off-by: Dengdui Huan

[PATCH] net/hns3: support flow rule priority

2024-10-30 Thread Jie Hai
e rte_flow key. 2. priority: The flow rule priority feature is supported. The driver uses the rte_flow priority field as the flow director index. Signed-off-by: Dengdui Huang Signed-off-by: Jie Hai --- doc/guides/nics/hns3.rst | 12 +++ drivers/net/hns3/hns3_common.c | 25 +

[PATCH v4 13/13] devtools: check for some reentrant function

2024-10-26 Thread Jie Hai
is non-reentrant. Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- devtools/checkpatches.sh | 8 1 file changed, 8 insertions(+) diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index d860f190457e..8c3d32d8e552 100755

[PATCH v4 08/13] common/cnxk: replace strtok with reentrant version

2024-10-26 Thread Jie Hai
with a reentrant version. Fixes: af75aac78978 ("common/cnxk: support telemetry for NIX") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- drivers/common/cnxk/cnxk_telemetry_nix.c | 12 ++-- 1 file changed, 6 insertions(+), 6

[PATCH v4 07/13] bus/fslmc: replace strtok with reentrant version

2024-10-26 Thread Jie Hai
with a reentrant version. Fixes: 9ccb76b24c1d ("bus/fslmc: enable portal interrupt handling") Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Sachin Saxena Acked-by: Morten Brør

[PATCH v4 11/13] raw/cnxk_gpio: replace strtok with reentrant version

2024-10-26 Thread Jie Hai
with a reentrant version. Fixes: ecc0dd455e9a ("raw/cnxk_gpio: add option to select subset of GPIOs") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- drivers/raw/cnxk_gpio/cnxk_gpio.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH v4 12/13] net/cnxk: replace strtok with reentrant version

2024-10-26 Thread Jie Hai
with a reentrant version. Fixes: c8f91985331c ("raw/cnxk_gpio: replace strtok with reentrant version") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng --- drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) di

[PATCH v4 05/13] security: replace strtok with reentrant version

2024-10-26 Thread Jie Hai
with a reentrant version. Fixes: 259ca6d1617f ("security: add telemetry endpoint for capabilities") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Acked-by: Chengwen Feng Acked-by: Morten Brørup --- lib/security/rte_security.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) di

  1   2   3   4   5   6   7   8   >