Re: [PATCH] eal: allow both allow and block options coexistence

2023-07-07 Thread Thomas Monjalon
07/07/2023 07:07, Marvin Liu: > Currently, all buses use the same eal allow and block options. Need to > allow both allow and block options for different buses to coexist. > It wouldn't be a problem for pci bus if both allow and block options > were present. When the first option occurs, the scan m

[Bug 1261] [dpdk 23.07] the dpdk-testpmd (based on VF) 's throughput is 0

2023-07-07 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1261 Bug ID: 1261 Summary: [dpdk 23.07] the dpdk-testpmd (based on VF) 's throughput is 0 Product: DPDK Version: 23.07 Hardware: x86 OS: Linux Status: UNCONF

RedHat QE's test result against release candidate 23.07-rc2

2023-07-07 Thread YangHang Liu
Hi,I has runned all my dpdk test cases against 23.07-rc2 already and the test details fris as follows: Test environment: - kernel 5.14 - qemu 6.2 - dpdk: git://dpdk.org/dpdk # git log -1 commit 93a4b3beba4ee611685148917981f846427cafb2 Author: Thomas Monjalon Date: Wed Ju

[PATCH] net/iavf: fix vlan offload strip flag inconsistency

2023-07-07 Thread Wenjing Qiao
For i40e in-tree kernel driver, it will set strip on when setting filter on. To be consistent with dpdk, disable strip again. Fixes: cb25d4323fbf ("net/avf: enable MAC VLAN and promisc ops") Signed-off-by: Wenjing Qiao --- drivers/net/iavf/iavf.h| 1 + drivers/net/iavf/iavf_ethdev.c |

Re: [PATCH v6] app/mldev: add internal function for file read

2023-07-07 Thread Thomas Monjalon
07/06/2023 19:24, Srikanth Yalavarthi: > Added internal function to read model, input and reference > files with required error checks. This change fixes the > unchecked return value and improper use of negative value > issues reported by coverity scan for file read operations. > > Coverity issue:

Re: [PATCH v1] app/mldev: improve checks for invalid options

2023-07-07 Thread Thomas Monjalon
12/06/2023 19:58, Srikanth Yalavarthi: > Improve checks for ML application options. Check for negative, > non-integral and hexadecimal values. Check for number of entries > in filelist option. Improve error reporting for invalid options. > > Signed-off-by: Srikanth Yalavarthi Applied, thanks.

Re: [PATCH v1] app/mldev: fix error reporting on IO failure

2023-07-07 Thread Thomas Monjalon
12/06/2023 20:00, Srikanth Yalavarthi: > Application is reporting the test output as success when a > failure occurs in writing the output. Fix incorrect error > reporting on failure to write output files. > > Fixes: da6793390596 ("app/mldev: support inference validation") > > Signed-off-by: Srik

RE: [PATCH] bus/cdx: provide driver flag for optional resource mapping

2023-07-07 Thread Gupta, Nipun
> -Original Message- > From: Abhijit Gangurde > Sent: Monday, June 26, 2023 4:10 PM > To: Gupta, Nipun ; Agarwal, Nikhil > > Cc: dev@dpdk.org; david.march...@redhat.com; Yigit, Ferruh > ; Gangurde, Abhijit > Subject: [PATCH] bus/cdx: provide driver flag for optional resource mapping >

[Bug 1261] [dpdk 23.07] the dpdk-testpmd (based on VF) 's throughput is 0

2023-07-07 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1261 David Marchand (david.march...@redhat.com) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Res

RE: [PATCH] doc: update BIOS setting and supported HW list for NTB

2023-07-07 Thread Guo, Junfeng
> -Original Message- > From: Stephen Hemminger > Sent: Friday, July 7, 2023 04:30 > To: Wu, Jingjing > Cc: Guo, Junfeng ; dev@dpdk.org; > sta...@dpdk.org > Subject: Re: [PATCH] doc: update BIOS setting and supported HW list for > NTB > > On Mon, 3 Jul 2023 09:35:29 + > "Wu, Jingji

Re: [EXT] [PATCH] ipsec: fix NAT-T length calculation

2023-07-07 Thread Radu Nicolau
On 07-Jul-23 4:12 AM, Xiao Liang wrote: |<- mb->pkt_len - sqh_len ->| |<-sa->hdr_len->| |<- sa->hdr_l3_off ->||<- udph->dgram_len ->| +++-+-+-+-+ | ETH| IP

Re: [PATCH] net/mana: fix wrong indexing on CQE error when coalescing is used

2023-07-07 Thread Ferruh Yigit
On 7/7/2023 1:17 AM, lon...@linuxonhyperv.com wrote: > From: Long Li > > On a fatal CQE error when coalescing is used, update the correct index > and allow proceeding to the next CQE. > > Fixes: 3409e0f172f6 ("net/mana: implement Rx CQE coalescing") > Is above fixes commit correct? Logic for 'C

Re: [PATCH v17] app/procinfo: display eventdev xstats

2023-07-07 Thread Thomas Monjalon
25/05/2023 22:07, Stephen Hemminger: > On Thu, 25 May 2023 13:47:31 -0500 > Abdullah Sevincer wrote: > > > This commit extends proc-info application to > > display xstats for the eventdev devices. > > > > New command line arguments are introduced to > > display xstats for eventdev devices. The c

Re: release candidate 23.07-rc2

2023-07-07 Thread Thinh Tran
IBM - Power Systems DPDK v23.07-rc2-5-ga64a456470 * Build CI on Fedora 30,31,34,36,37 for ppc64le * Basic PF on Mellanox: No issue found * Performance: not tested. * OS: RHEL 9.1 kernel: 5.14.0-162.6.1.el9_1.ppc64le with gcc version 11.3.1 20220421 (Red Hat 11.3.1-2) (GCC) RHEL 8.8

RE: [PATCH] net/iavf: fix vlan offload strip flag inconsistency

2023-07-07 Thread Huang, ZhiminX
-Original Message- From: Qiao, Wenjing Sent: Friday, July 7, 2023 3:58 PM To: Wu, Jingjing ; Xing, Beilei Cc: dev@dpdk.org; Huang, ZhiminX ; Qiao, Wenjing Subject: [PATCH] net/iavf: fix vlan offload strip flag inconsistency For i40e in-tree kernel driver, it will set strip on when set

Re: [PATCH v2] net/failsafe: link_update request crashing at boot

2023-07-07 Thread Ferruh Yigit
On 2/15/2022 4:24 PM, Vipul Ashri wrote: > On 11/22/2021 3:53 PM, Gaëtan Rivet wrote: >> Could describe in more detail the execution? >> In particular, setting the EAL log-level to debug with the option: >> ' --log-level pmd.net.failsafe:debug ' >> for example while using testpmd or your DPDK app.

Re: [PATCH v11] app/dma-perf: introduce dma-perf application

2023-07-07 Thread Thomas Monjalon
> > There are many high-performance DMA devices supported in DPDK now, and > > these DMA devices can also be integrated into other modules of DPDK as > > accelerators, such as Vhost. Before integrating DMA into applications, > > developers need to know the performance of these DMA devices in variou

Re: [PATCH v3] graph: fix graph model check in core binding

2023-07-07 Thread Jerin Jacob
On Wed, Jul 5, 2023 at 7:38 AM Zhirun Yan wrote: > > Fix graph model check in core binding with graph. And rte_graph_clone() Two fixes, Lets have two patches. Also tell what is fixed and how it is fixed. > need to use valid params rather than NULL pointer. Update release notes > for new mcore d

Re: [PATCH v4] dmadev: add tracepoints

2023-07-07 Thread Thomas Monjalon
26/05/2023 10:42, Chengwen Feng: > Add tracepoints at important APIs for tracing support. > > Signed-off-by: Chengwen Feng > Acked-by: Morten Brørup > > --- > v4: Fix asan smoke fail. > v3: Address Morten's comment: > Move stats_get and vchan_status and to trace_fp.h. > v2: Address Morten's

[PATCH] net/hns3: fix non-zero weight for disabled TC

2023-07-07 Thread Dongdong Liu
From: Huisong Li hns3 PF driver enables one TC, allocates to 100% weight for this TC and 0% for other disabled TC by default. But driver modifies the weight to 1% for disabled TC and then set to hardware to make all TC work in DWRR mode. As a result, the total percent of all TC is more than 100%.

Re: [PATCH] net/hns3: fix non-zero weight for disabled TC

2023-07-07 Thread Ferruh Yigit
On 7/7/2023 11:40 AM, Dongdong Liu wrote: > From: Huisong Li > > hns3 PF driver enables one TC, allocates to 100% weight for this > TC and 0% for other disabled TC by default. But driver modifies > the weight to 1% for disabled TC and then set to hardware to make > all TC work in DWRR mode. As a

Re: [PATCH v3 1/2] crypto/ipsec_mb: remove unused defines

2023-07-07 Thread Maxime Coquelin
On 7/6/23 18:21, Brian Dooley wrote: removed AESNI_MB_DOCSIS_SEC_ENABLED defines as they are no longer used. Fixes: 798f9d134519 ("crypto/ipsec_mb: remove security lib presence checks") Cc: maxime.coque...@redhat.com Signed-off-by: Brian Dooley --- drivers/crypto/ipsec_mb/ipsec_mb_private

Re: [PATCH v3 04/14] test: cryptodev use rte_pktmbuf_mtod_offset

2023-07-07 Thread Ferruh Yigit
On 7/6/2023 6:59 PM, Stephen Hemminger wrote: > Based off patch generated by cocci/mtod-offset.cocci. > With some cleanup to shorten lines by using conditional > with omitted operand. > > Signed-off-by: Stephen Hemminger <...> > @@ -5163,9 +5169,9 @@ test_snow3g_auth_cipher(const struct snow3g_

Re: [PATCH v3 13/14] net/mlx4: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Ferruh Yigit
On 7/6/2023 6:59 PM, Stephen Hemminger wrote: > Autogenerated with cocci/mtod-offset.cocci. > > Signed-off-by: Stephen Hemminger > --- > drivers/net/mlx4/mlx4_rxtx.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/mlx4/mlx4_rxtx.c b/drivers/net/mlx4/ml

Re: [PATCH v3 00/14] Use rte_pktmbuf_mtod_offset() where possible

2023-07-07 Thread Ferruh Yigit
On 7/6/2023 6:59 PM, Stephen Hemminger wrote: > Run the coccinelle script for rte_pktmbuf_mtod_offset > against current main branch. > > v3 - rebase to cover gro changes > There is one more instance in 'gro_tcp6.c' ``` $ ag -s 'rte_pktmbuf_mtod\(.*\).*\+' lib/ lib/gro/gro_tcp6.c 121:ipv6_hd

Re: [EXT] [PATCH] ipsec: fix NAT-T length calculation

2023-07-07 Thread Xiao Liang
> sa->hdr_len and prm->tun.hdr_len don't include L2 length so both should > start in the diagram at the end of the ETH header. > > So the right way to compute datagram length is > > dgram_len = mb->pkt_len - sqh_len - sa->hdr_l3_off - sa->hdr_len + > sizeof(struct rte_udp_hdr) > |<- mb->

Re: [EXT] [PATCH] ipsec: fix NAT-T length calculation

2023-07-07 Thread Xiao Liang
The context hlen = sa->hdr_len + sa->iv_len + sizeof(*esph); ... ph = rte_pktmbuf_prepend(mb, hlen - l2len); ... update_tun_outb_l3hdr(sa, ph + sa->hdr_l3_off, ph + hlen, mb->pkt_len - sqh_len, sa->hdr_l3_off, sqn_low16(sqc)); assumes L2 header length included in sa->h

Re: [EXT] [PATCH] ipsec: fix NAT-T length calculation

2023-07-07 Thread Radu Nicolau
On 07-Jul-23 1:51 PM, Xiao Liang wrote: sa->hdr_len and prm->tun.hdr_len don't include L2 length so both should start in the diagram at the end of the ETH header. So the right way to compute datagram length is dgram_len = mb->pkt_len - sqh_len - sa->hdr_l3_off - sa->hdr_len + sizeof(struct rt

Re: [PATCH v17] app/procinfo: display eventdev xstats

2023-07-07 Thread Stephen Hemminger
On Fri, 07 Jul 2023 11:15:22 +0200 Thomas Monjalon wrote: > 25/05/2023 22:07, Stephen Hemminger: > > On Thu, 25 May 2023 13:47:31 -0500 > > Abdullah Sevincer wrote: > > > > > This commit extends proc-info application to > > > display xstats for the eventdev devices. > > > > > > New command l

Re: [PATCH v2 1/2] net/virtio: fix legacy device IO port map in secondary process

2023-07-07 Thread Gupta, Nipun
On 7/3/2023 3:01 PM, Xia, Chenbo wrote: +Nipun -Original Message- From: David Marchand Sent: Monday, July 3, 2023 4:58 PM To: Li, Miao Cc: dev@dpdk.org; sta...@dpdk.org; Maxime Coquelin ; Xia, Chenbo Subject: Re: [PATCH v2 1/2] net/virtio: fix legacy device IO port map in secondar

RE: [PATCH] net/mana: fix wrong indexing on CQE error when coalescing is used

2023-07-07 Thread Long Li
> Subject: Re: [PATCH] net/mana: fix wrong indexing on CQE error when coalescing > is used > > On 7/7/2023 1:17 AM, lon...@linuxonhyperv.com wrote: > > From: Long Li > > > > On a fatal CQE error when coalescing is used, update the correct index > > and allow proceeding to the next CQE. > > > > Fi

[PATCH] net/mana: set the correct queue state

2023-07-07 Thread longli
From: Long Li Set the queue state when queue is started/stopped Signed-off-by: Long Li --- drivers/net/mana/rx.c | 15 +++ drivers/net/mana/tx.c | 13 + 2 files changed, 28 insertions(+) diff --git a/drivers/net/mana/rx.c b/drivers/net/mana/rx.c index 220b372b15..1047a

[PATCH] net/netvsc: set the correct queue state

2023-07-07 Thread longli
From: Long Li Set the queue state when queue is started/stopped. Signed-off-by: Long Li --- drivers/net/netvsc/hn_ethdev.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/net/netvsc/hn_ethdev.c b/drivers/net/netvsc/hn_ethdev.c index d0bbc0a4c0..0c15f

Re: [PATCH] net/netvsc: set the correct queue state

2023-07-07 Thread Stephen Hemminger
On Fri, 7 Jul 2023 11:53:16 -0700 lon...@linuxonhyperv.com wrote: > From: Long Li > > Set the queue state when queue is started/stopped. > > Signed-off-by: Long Li > --- > drivers/net/netvsc/hn_ethdev.c | 15 ++- > 1 file changed, 14 insertions(+), 1 deletion(-) Interesting that

[PATCH v4 01/11] gro: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- lib/gro/gro_tcp.h| 4 ++-- lib/gro/gro_tcp4.c | 4 ++-- lib/gro/gro_tcp6.c | 4 ++-- lib/gro/gro_udp4.c | 4 ++-- lib/gro/gro_vxlan_tcp4.c | 4 ++-- lib/gro/

[PATCH v4 00/11] Use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
v4 - drop mlx4 change not needed - add some new ones in gro Stephen Hemminger (11): gro: use rte_pktmbuf_mtod_offset gso: use rte_pktmbuf_mtod_offset test: use rte_pktmbuf_mtod_offset drivers/crypto: use rte_pktmbuf_mtod_offset net/nfp: use rte_pktmbuf_mtod_offset net/tap: use rte_p

[PATCH v4 02/11] gso: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- lib/gso/gso_common.h | 12 ++-- lib/gso/gso_tcp4.c| 8 lib/gso/gso_tunnel_tcp4.c | 12 ++-- lib/gso/gso_tunnel_udp4.c | 18 +- 4

[PATCH v4 03/11] test: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- app/test/test_cryptodev.c | 66 +-- 1 file changed, 36 insertions(+), 30 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_crypt

[PATCH v4 04/11] drivers/crypto: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- drivers/crypto/caam_jr/caam_jr.c | 8 drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 2 +- drivers/crypto/cnxk/cnxk_se.h| 5 ++--- drivers/cryp

[PATCH v4 05/11] net/nfp: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- drivers/net/nfp/flower/nfp_flower_cmsg.h | 3 ++- drivers/net/nfp/flower/nfp_flower_ctrl.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/nfp/flo

[PATCH v4 06/11] net/tap: use rte_pktmbuf_motd_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- drivers/net/tap/rte_eth_tap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index bf98f7555990.

[PATCH v4 07/11] baseband/fpga: use rte_pktmbuf_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c b/dri

[PATCH v4 08/11] cpt: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- drivers/common/cpt/cpt_ucode.h | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/common/cpt/cpt_ucode.h b/drivers/common/cpt/cpt_ucode.h index b39

[PATCH v4 09/11] testpmd: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- app/test-pmd/ieee1588fwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/ieee1588fwd.c b/app/test-pmd/ieee1588fwd.c index 386d9f10e642..33717717

[PATCH v4 10/11] examples/ptpclient: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- examples/ptpclient/ptpclient.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c i

[PATCH v4 11/11] examples/l2fwd-crypto: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- examples/l2fwd-crypto/main.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index efe

RE: [PATCH] net/netvsc: set the correct queue state

2023-07-07 Thread Long Li
> Subject: Re: [PATCH] net/netvsc: set the correct queue state > > On Fri, 7 Jul 2023 11:53:16 -0700 > lon...@linuxonhyperv.com wrote: > > > From: Long Li > > > > Set the queue state when queue is started/stopped. > > > > Signed-off-by: Long Li > > --- > > drivers/net/netvsc/hn_ethdev.c | 15

Re: [PATCH] net/netvsc: set the correct queue state

2023-07-07 Thread Stephen Hemminger
On Fri, 7 Jul 2023 20:43:51 + Long Li wrote: > > Subject: Re: [PATCH] net/netvsc: set the correct queue state > > > > On Fri, 7 Jul 2023 11:53:16 -0700 > > lon...@linuxonhyperv.com wrote: > > > > > From: Long Li > > > > > > Set the queue state when queue is started/stopped. > > > > > >

Re: [PATCH v3 1/2] app/testpmd: do not poll stopped queues

2023-07-07 Thread Stephen Hemminger
On Wed, 9 Mar 2022 10:36:15 + Dmitry Kozlyuk wrote: > > Calling Rx/Tx functions on a stopped queue is not supported. > > Do not run packet forwarding for streams that use stopped queues. > > > > Each stream has a read-only "disabled" field, > > so that lcore function can skip such streams. >

[PATCH v5 00/11] use rte_pktmbuf_mto_offset

2023-07-07 Thread Stephen Hemminger
v5 - fix checkpatch warnings about long lines split up complex expression in test/crypto_dev Stephen Hemminger (11): gro: use rte_pktmbuf_mtod_offset gso: use rte_pktmbuf_mtod_offset test/crypto_dev: use rte_pktmbuf_mtod_offset drivers/crypto: use rte_pktmbuf_mtod_offset net/nfp: us

[PATCH v5 01/11] gro: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- lib/gro/gro_tcp.h| 4 ++-- lib/gro/gro_tcp4.c | 4 ++-- lib/gro/gro_tcp6.c | 4 ++-- lib/gro/gro_udp4.c | 4 ++-- lib/gro/gro_vxlan_tcp4.c | 4 ++-- lib/gro/

[PATCH v5 02/11] gso: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- lib/gso/gso_common.h | 12 ++-- lib/gso/gso_tcp4.c| 8 lib/gso/gso_tunnel_tcp4.c | 12 ++-- lib/gso/gso_tunnel_udp4.c | 18 +- 4

[PATCH v5 03/11] test/crypto_dev: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- app/test/test_cryptodev.c | 83 +-- 1 file changed, 53 insertions(+), 30 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_crypt

[PATCH v5 05/11] net/nfp: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- drivers/net/nfp/flower/nfp_flower_cmsg.h | 3 ++- drivers/net/nfp/flower/nfp_flower_ctrl.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/nfp/flo

[PATCH v5 04/11] drivers/crypto: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- drivers/crypto/caam_jr/caam_jr.c | 8 drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 2 +- drivers/crypto/cnxk/cnxk_se.h| 5 ++--- drivers/cryp

[PATCH v5 06/11] net/tap: use rte_pktmbuf_motd_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- drivers/net/tap/rte_eth_tap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index bf98f7555990.

[PATCH v5 07/11] baseband/fpga: use rte_pktmbuf_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c b/dri

[PATCH v5 08/11] cpt: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- drivers/common/cpt/cpt_ucode.h | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/common/cpt/cpt_ucode.h b/drivers/common/cpt/cpt_ucode.h index b39

[PATCH v5 09/11] testpmd: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- app/test-pmd/ieee1588fwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/ieee1588fwd.c b/app/test-pmd/ieee1588fwd.c index 386d9f10e642..33717717

[PATCH v5 11/11] examples/l2fwd-crypto: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- examples/l2fwd-crypto/main.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index efe7e

[PATCH v5 10/11] examples/ptpclient: use rte_pktmbuf_mtod_offset

2023-07-07 Thread Stephen Hemminger
Replace explicit packet offset computations with rte_pktmbuf_mtod_offset(). Signed-off-by: Stephen Hemminger --- examples/ptpclient/ptpclient.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c i