Re: [PATCH] net/hns3: fix Rx packet truncation when KEEP CRC enabled

2024-03-21 Thread Jie Hai
Hi, Ferruh Kindly ping for reply. Thanks, Jie Hai On 2024/3/8 19:36, Jie Hai wrote: On 2024/3/1 19:10, Ferruh Yigit wrote: On 3/1/2024 6:55 AM, huangdengdui wrote: On 2024/2/29 17:25, Ferruh Yigit wrote: On 2/29/2024 3:58 AM, huangdengdui wrote: On 2024/2/28 21:07, Ferruh Yigit wrote:

[PATCH] maintainers: update for gve/igc/ntb drivers

2024-03-21 Thread Junfeng Guo
Remove myself from maintainers. Signed-off-by: Junfeng Guo --- MAINTAINERS | 3 --- 1 file changed, 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index de2f2bf923..aa7612b0a1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -724,7 +724,6 @@ F: doc/guides/nics/enic.rst F: doc/guides/nics/f

Re: [PATCH 0/3] support setting lanes

2024-03-21 Thread Jerin Jacob
On Fri, Mar 22, 2024 at 10:56 AM Ajit Khaparde wrote: > > On Thu, Mar 21, 2024 at 9:39 PM Jerin Jacob wrote: > > > > On Fri, Mar 22, 2024 at 7:58 AM huangdengdui > > wrote: > > > > > > > > > > > > On 2024/3/21 16:28, Thomas Monjalon wrote: > > > > 21/03/2024 03:02, huangdengdui: > > > >> > > >

Re: [PATCH 0/3] support setting lanes

2024-03-21 Thread Ajit Khaparde
On Thu, Mar 21, 2024 at 9:39 PM Jerin Jacob wrote: > > On Fri, Mar 22, 2024 at 7:58 AM huangdengdui wrote: > > > > > > > > On 2024/3/21 16:28, Thomas Monjalon wrote: > > > 21/03/2024 03:02, huangdengdui: > > >> > > >> On 2024/3/20 20:31, Ferruh Yigit wrote: > > >>> On 3/18/2024 9:26 PM, Damodhara

Re: [PATCH 0/3] support setting lanes

2024-03-21 Thread Jerin Jacob
On Fri, Mar 22, 2024 at 7:58 AM huangdengdui wrote: > > > > On 2024/3/21 16:28, Thomas Monjalon wrote: > > 21/03/2024 03:02, huangdengdui: > >> > >> On 2024/3/20 20:31, Ferruh Yigit wrote: > >>> On 3/18/2024 9:26 PM, Damodharam Ammepalli wrote: > On Mon, Mar 18, 2024 at 7:56 AM Thomas Monjalo

Re: [PATCH 0/3] support setting lanes

2024-03-21 Thread huangdengdui
On 2024/3/21 16:28, Thomas Monjalon wrote: > 21/03/2024 03:02, huangdengdui: >> >> On 2024/3/20 20:31, Ferruh Yigit wrote: >>> On 3/18/2024 9:26 PM, Damodharam Ammepalli wrote: On Mon, Mar 18, 2024 at 7:56 AM Thomas Monjalon wrote: > > 12/03/2024 08:52, Dengdui Huang: >>

Re: [PATCH v4 0/6] refine argparse library

2024-03-21 Thread fengchengwen
Hi Thomas, On 2024/3/22 1:27, Thomas Monjalon wrote: > 18/03/2024 12:18, Chengwen Feng: >> I found a couple of issues when I revisited the argparse_autotest >> output, so got this patchset. >> >> Chengwen Feng (6): >> argparse: refine error message >> argparse: remove dead code >> argparse:

Re: [PATCH v10 08/10] eal: add option to put timestamp on console output

2024-03-21 Thread Stephen Hemminger
On Thu, 21 Mar 2024 10:49:06 -0700 Tyler Retzlaff wrote: > On Thu, Mar 21, 2024 at 10:16:36AM -0700, Stephen Hemminger wrote: > > On Thu, 21 Mar 2024 10:11:31 -0700 > > Tyler Retzlaff wrote: > > > > > > > > > > > > > > +Console timestamp > > > > +~ > > > > + > > > > +On Li

DPDK/Hot swap of SFPs 10G/1G current is not support on Intel x553 controller

2024-03-21 Thread Prasanna Panchamukhi
Hot swap of SFPs 10G/1G current is not support on Intel x553 controller with dpdk 21.11.3 CPU Intel(R) Atom(TM) CPU C3558R @ 2.40GHz x553 ports bond to dpdk inserted with 10G and 1G SFPs # lspci 07:00.0 *Ether*net controller: Intel Corporation *Ether*net Connection X553 10 GbE SFP+ (rev 11)

Re: [PATCH] eal: fix comment about vfio device info in version.map

2024-03-21 Thread Thomas Monjalon
14/03/2024 17:28, Stephen Hemminger: > The function was added for 24.03 release, not 23.11. > > Fixes: de2d364f0c57 ("vfio: get device info") > Signed-off-by: Stephen Hemminger Applied, thanks. Note: I insert a blank line between Fixes and Signed-off to make 2 separate blocks.

RE: [PATCH v2 38/45] bus/vmbus: use rte stdatomic API

2024-03-21 Thread Long Li
> > static inline void > > vmbus_set_monitor(const struct vmbus_channel *channel, uint32_t > monitor_id) > > { > > - uint32_t *monitor_addr, monitor_mask; > > + RTE_ATOMIC(uint32_t) *monitor_addr, monitor_mask; > > unsigned int trigger_index; > > > > trigger_index = monitor_id /

Re: [PATCH v2 38/45] bus/vmbus: use rte stdatomic API

2024-03-21 Thread Mattias Rönnblom
On 2024-03-21 20:17, Tyler Retzlaff wrote: Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/bus/vmbus/vmbus_channel.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-)

Re: [PATCH v2 34/45] event/dlb2: use rte stdatomic API

2024-03-21 Thread Mattias Rönnblom
On 2024-03-21 20:17, Tyler Retzlaff wrote: Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/event/dlb2/dlb2.c| 34 +- drivers/event/dlb2/dlb2_

Re: [PATCH v2 25/45] event/dsw: use rte stdatomic API

2024-03-21 Thread Mattias Rönnblom
On 2024-03-21 20:17, Tyler Retzlaff wrote: Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/event/dsw/dsw_evdev.h | 6 +++--- drivers/event/dsw/dsw_event.c | 34 +-

Re: [PATCH] doc: update default value for config parameter

2024-03-21 Thread Thomas Monjalon
05/01/2024 18:30, Tyler Retzlaff: > On Fri, Jan 05, 2024 at 10:44:17AM +0800, Simei Su wrote: > > Update documentation value to match default value in code base. > > > > Signed-off-by: Simei Su > > Acked-by: Tyler Retzlaff It is a fix: Fixes: f8e0f8ce9030 ("ip_frag: increase default maximum o

[PATCH v2 45/45] app/test-bbdev: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- app/test-bbdev/test_bbdev_perf.c | 183 +++ 1 file changed, 110 insertions(+), 73 deletions(-) diff --git a/

[PATCH v2 44/45] app/test-compress-perf: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- app/test-compress-perf/comp_perf_test_common.h | 2 +- app/test-compress-perf/comp_perf_test_cyclecount.c | 4 ++-- app/test-compress-perf/

[PATCH v2 43/45] app/test-crypto-perf: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- app/test-crypto-perf/cperf_test_latency.c| 6 +++--- app/test-crypto-perf/cperf_test_pmd_cyclecount.c | 10 +- app/test-crypto-p

[PATCH v2 42/45] app/test-eventdev: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- app/test-eventdev/test_order_atq.c| 4 ++-- app/test-eventdev/test_order_common.c | 5 +++-- app/test-eventdev/test_order_common.h | 8 --

[PATCH v2 41/45] app/test: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- app/test/test_bpf.c| 46 - app/test/test_distributor.c| 114 - app/t

[PATCH v2 40/45] app/dumpcap: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- app/dumpcap/main.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/dumpcap/main.c b/app/dumpcap/main.c index

[PATCH v2 38/45] bus/vmbus: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/bus/vmbus/vmbus_channel.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/bus/vmbus/vmbus_channel.c

[PATCH v2 39/45] examples: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- examples/bbdev_app/main.c | 13 + examples/l2fwd-event/l2fwd_common.h| 4 +-- examples/l2fwd-ev

[PATCH v2 37/45] common/cpt: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/common/cpt/cpt_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cpt/cpt_common.h b/drivers/com

[PATCH v2 36/45] crypto/ccp: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/crypto/ccp/ccp_dev.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/ccp/ccp_dev.c b/drivers/c

[PATCH v2 35/45] dma/idxd: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/dma/idxd/idxd_internal.h | 2 +- drivers/dma/idxd/idxd_pci.c | 9 + 2 files changed, 6 insertions(+), 5 deletions(-) diff -

[PATCH v2 34/45] event/dlb2: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/event/dlb2/dlb2.c| 34 +- drivers/event/dlb2/dlb2_priv.h | 10 +- drivers/event/dlb2/dl

[PATCH v2 33/45] net/null: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/null/rte_eth_null.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/null/rte_eth_null.c

[PATCH v2 32/45] net/txgbe: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/txgbe/txgbe_ethdev.c| 12 +++- drivers/net/txgbe/txgbe_ethdev.h| 2 +- drivers/net/txgbe/txgbe_ethdev_vf.c | 2 +-

[PATCH v2 31/45] baseband/acc: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/baseband/acc/rte_acc100_pmd.c | 36 +-- drivers/baseband/acc/rte_vrb_pmd.c| 46 +++---

[PATCH v2 30/45] common/iavf: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/common/iavf/iavf_impl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/common/iavf/iavf_impl.c b/drivers

[PATCH v2 29/45] common/idpf: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/common/idpf/idpf_common_device.h | 6 +++--- drivers/common/idpf/idpf_common_rxtx.c| 14 -- drivers/common/idpf

[PATCH v2 28/45] common/mlx5: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/common/mlx5/linux/mlx5_nl.c | 5 +-- drivers/common/mlx5/mlx5_common.h | 2 +- drivers/common/mlx5/mlx5_common_mr.c| 16 +

[PATCH v2 26/45] dma/skeleton: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/dma/skeleton/skeleton_dmadev.c | 5 +++-- drivers/dma/skeleton/skeleton_dmadev.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-)

[PATCH v2 27/45] crypto/octeontx: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/crypto/octeontx/otx_cryptodev_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/octeontx/otx_c

[PATCH v2 25/45] event/dsw: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/event/dsw/dsw_evdev.h | 6 +++--- drivers/event/dsw/dsw_event.c | 34 +- drivers/event/dsw/dsw_xstats.

[PATCH v2 22/45] raw/ifpga: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/raw/ifpga/ifpga_rawdev.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/raw/ifpga/ifpga_rawdev.c b/

[PATCH v2 24/45] event/octeontx: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/event/octeontx/timvf_evdev.h | 8 drivers/event/octeontx/timvf_worker.h | 36 +-- 2 files chan

[PATCH v2 15/45] net/thunderx: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/thunderx/nicvf_rxtx.c | 9 + drivers/net/thunderx/nicvf_struct.h | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-)

[PATCH v2 23/45] event/opdl: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/event/opdl/opdl_ring.c | 80 +- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/d

[PATCH v2 21/45] vdpa/mlx5: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/vdpa/mlx5/mlx5_vdpa.c | 24 +- drivers/vdpa/mlx5/mlx5_vdpa.h | 14 +-- drivers/vdpa/mlx5/mlx5_vdp

[PATCH v2 20/45] net/ring: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/ring/rte_eth_ring.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ring/rte_eth_ring.c b/dri

[PATCH v2 18/45] net/idpf: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/idpf/idpf_ethdev.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/idpf/idpf_ethdev.c b/driver

[PATCH v2 19/45] net/qede: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/qede/base/bcm_osal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/qede/base/bcm_osal.c b/dri

[PATCH v2 16/45] net/virtio: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/virtio/virtio_ring.h | 4 +-- drivers/net/virtio/virtio_user/virtio_user_dev.c | 12 - drivers/net/virtio/vi

[PATCH v2 17/45] net/hinic: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/hinic/hinic_pmd_rx.c | 2 +- drivers/net/hinic/hinic_pmd_rx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/

[PATCH v2 13/45] net/gve: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/gve/base/gve_osdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/gve/base/gve_osdep.h b/drive

[PATCH v2 14/45] net/memif: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/memif/memif.h | 4 ++-- drivers/net/memif/rte_eth_memif.c | 50 +++ 2 files changed, 27

[PATCH v2 12/45] net/cxgbe: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/cxgbe/clip_tbl.c | 12 ++-- drivers/net/cxgbe/clip_tbl.h | 2 +- drivers/net/cxgbe/cxgbe_main.c | 20 ++-

[PATCH v2 11/45] net/octeontx: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/octeontx/octeontx_ethdev.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/octeontx/octeontx_

[PATCH v2 10/45] net/octeon_ep: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/octeon_ep/cnxk_ep_rx.h| 5 +++-- drivers/net/octeon_ep/cnxk_ep_tx.c| 5 +++-- drivers/net/octeon_ep/cnxk_ep_vf.c| 8 -

[PATCH v2 09/45] net/af_xdp: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/af_xdp/rte_eth_af_xdp.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/net/af_xdp/

[PATCH v2 08/45] net/cpfl: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/cpfl/cpfl_ethdev.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drive

[PATCH v2 07/45] net/bnxt: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/bnxt/bnxt_cpr.h | 4 ++-- drivers/net/bnxt/bnxt_rxq.h | 2 +- drivers/net/bnxt/bnxt_rxr.c | 13 ++

[PATCH v2 05/45] net/i40e: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/i40e/i40e_ethdev.c| 4 ++-- drivers/net/i40e/i40e_rxtx.c | 6 +++--- drivers/net/i40e/i40e_rxtx_vec_neon.c | 2 +- 3

[PATCH v2 06/45] net/hns3: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/hns3/hns3_cmd.c | 18 ++-- drivers/net/hns3/hns3_dcb.c | 2 +- drivers/net/hns3/hns3_ethdev.c| 36 ++

[PATCH v2 04/45] net/ice: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/ice/base/ice_osdep.h | 4 ++-- drivers/net/ice/ice_dcf.c| 6 +++--- drivers/net/ice/ice_dcf.h| 2 +- drivers/net/i

[PATCH v2 03/45] net/iavf: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/iavf/iavf.h | 16 drivers/net/iavf/iavf_rxtx.c | 4 ++-- drivers/net/iavf/iavf_rxtx_vec_neon

[PATCH v2 01/45] net/mlx5: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/mlx5/linux/mlx5_ethdev_os.c | 6 +- drivers/net/mlx5/linux/mlx5_verbs.c | 9 ++- drivers/net/mlx5/mlx5.c |

[PATCH v2 02/45] net/ixgbe: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API. Signed-off-by: Tyler Retzlaff --- drivers/net/ixgbe/ixgbe_ethdev.c | 14 -- drivers/net/ixgbe/ixgbe_ethdev.h | 2 +- drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++-- 3 fil

[PATCH v2 00/45] use stdatomic API

2024-03-21 Thread Tyler Retzlaff
This series converts all non-generic built atomics to use the rte_atomic macros that allow optional enablement of standard C11 atomics. Use of generic atomics for non-scalar types are not converted in this change and will be evaluated as a part of a separate series. Note if this series ends up re

[PATCH v6 13/14] examples/l3fwd-graph: fix port ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently application supports port IDs up to 255 irrespective of RTE_MAX_ETHPORTS. The patch fixes these constraints by allowing port IDs up to RTE_MAX_ETHPORTS. Fixes: 08bd1a174461 ("examples/l3fwd-graph: add graph-based l3fwd skeleton") Cc: ndabilpu...@marvell.com Cc: sta...@dpdk.org Signed-o

[PATCH v6 00/10] fix lcore ID restriction

2024-03-21 Thread Sivaprasad Tummala
With modern CPUs, it is possible to have higher CPU count thus we can have higher RTE_MAX_LCORES. In DPDK sample applications, the current config lcore options are hard limited to 255. The patchset fixes these constraints by allowing all lcore IDs up to RTE_MAX_LCORES. Also the queue IDs are incre

[PATCH v6 14/14] examples/ipsec-secgw: fix port ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently application supports port IDs up to 255 irrespective of RTE_MAX_ETHPORTS. The patch fixes these constraints by allowing port IDs up to RTE_MAX_ETHPORTS. Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application") Cc: sergio.gonzalez.mon...@intel.com Cc: sta...@dpdk.org S

[PATCH v6 11/14] examples/l3fwd: fix port ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently application supports port IDs up to 255 irrespective of RTE_MAX_ETHPORTS. The patch fixes these constraints by allowing port IDs up to RTE_MAX_ETHPORTS. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Sivaprasad Tummala Acked-by: Konstantin Ananyev Ack

[PATCH v6 12/14] examples/l3fwd-power: fix port ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently application supports port IDs up to 255 irrespective of RTE_MAX_ETHPORTS. The patch fixes these constraints by allowing port IDs up to RTE_MAX_ETHPORTS. Fixes: f88e7c175a68 ("examples/l3fwd-power: add high/regular perf cores options") Cc: radu.nico...@intel.com Cc: sta...@dpdk.org Sig

[PATCH v6 10/14] examples/vm_power_manager: fix lcore ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently the config option allows lcore IDs up to 255, irrespective of RTE_MAX_LCORES and needs to be fixed. The patch fixes these constraints by allowing all lcore IDs up to RTE_MAX_LCORES. Also the queue IDs are increased to support up to 65535. Fixes: 0e8f47491f09 ("examples/vm_power: add com

[PATCH v6 09/14] examples/qos_sched: fix lcore ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently the config option allows lcore IDs up to 255, irrespective of RTE_MAX_LCORES and needs to be fixed. The patch fixes these constraints by allowing all lcore IDs up to RTE_MAX_LCORES. Also the queue IDs are increased to support up to 65535. Fixes: de3cfa2c9823 ("sched: initial import") Cc

[PATCH v6 08/14] examples/ipsec-secgw: fix lcore ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently the config option allows lcore IDs up to 255, irrespective of RTE_MAX_LCORES and needs to be fixed. The patch fixes these constraints by allowing all lcore IDs up to RTE_MAX_LCORES. Also the queue IDs are increased to support up to 65535. Fixes: d299106e8e31 ("examples/ipsec-secgw: add

[PATCH v6 07/14] examples/l3fwd-graph: fix lcore ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently the config option allows lcore IDs up to 255, irrespective of RTE_MAX_LCORES and needs to be fixed. The patch fixes these constraints by allowing all lcore IDs up to RTE_MAX_LCORES. Also the queue IDs are increased to support up to 65535. Fixes: 08bd1a174461 ("examples/l3fwd-graph: add

[PATCH v6 06/14] examples/l3fwd-power: fix lcore ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently the config option allows lcore IDs up to 255, irrespective of RTE_MAX_LCORES and needs to be fixed. The patch fixes these constraints by allowing all lcore IDs up to RTE_MAX_LCORES. Fixes: f88e7c175a68 ("examples/l3fwd-power: add high/regular perf cores options") Cc: radu.nico...@intel

[PATCH v6 05/14] examples/l3fwd: fix lcore ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently the config option allows lcore IDs up to 255, irrespective of RTE_MAX_LCORES and needs to be fixed. The patch fixes these constraints by allowing all lcore IDs up to RTE_MAX_LCORES. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Sivaprasad Tummala Acke

[PATCH v6 04/14] examples/ipsec-secgw: fix queue ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently application supports queue IDs up to 255 and max queues of 256 irrespective of device support. This limits the number of active lcores to 256. The patch fixes these constraints by increasing the queue IDs to support up to 65535. Signed-off-by: Sivaprasad Tummala Acked-by: Konstantin An

[PATCH v6 03/14] examples/l3fwd-graph: fix queue ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently application supports queue IDs up to 255 and max queues of 256 irrespective of device support. This limits the number of active lcores to 256. The patch fixes these constraints by increasing the queue IDs to support up to 65535. Fixes: 08bd1a174461 ("examples/l3fwd-graph: add graph-base

[PATCH v6 02/14] examples/l3fwd-power: fix queue ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently application supports queue IDs up to 255 and max queues of 256 irrespective of device support. This limits the number of active lcores to 256. The patch fixes these constraints by increasing the queue IDs to support up to 65535. Fixes: f88e7c175a68 ("examples/l3fwd-power: add high/regul

[PATCH v6 00/10] fix lcore ID restriction

2024-03-21 Thread Sivaprasad Tummala
With modern CPUs, it is possible to have higher CPU count thus we can have higher RTE_MAX_LCORES. In DPDK sample applications, the current config lcore options are hard limited to 255. The patchset fixes these constraints by allowing all lcore IDs up to RTE_MAX_LCORES. Also the queue IDs are incre

[PATCH v6 01/14] examples/l3fwd: fix queue ID restriction

2024-03-21 Thread Sivaprasad Tummala
Currently application supports queue IDs up to 255 and max queues of 256 irrespective of device support. This limits the number of active lcores to 256. The patch fixes these constraints by increasing the queue IDs to support up to 65535. Fixes: af75078fece3 ("first public release") Cc: sta...@dp

RE: [PATCH v5 1/6] examples/l3fwd: fix lcore ID restriction

2024-03-21 Thread Tummala, Sivaprasad
[AMD Official Use Only - General] > -Original Message- > From: Thomas Monjalon > Sent: Thursday, March 21, 2024 4:48 PM > To: Tummala, Sivaprasad > Cc: david.h...@intel.com; anatoly.bura...@intel.com; jer...@marvell.com; > radu.nico...@intel.com; gak...@marvell.com; cristian.dumitre...@i

Re: [PATCH] net: stop using mmx intrinsics

2024-03-21 Thread Tyler Retzlaff
On Thu, Mar 21, 2024 at 07:01:17PM +0100, Thomas Monjalon wrote: > 21/03/2024 18:27, Tyler Retzlaff: > > On Thu, Mar 21, 2024 at 06:09:01PM +0100, Thomas Monjalon wrote: > > > 20/03/2024 22:12, Tyler Retzlaff: > > > > +#ifdef RTE_TOOLCHAIN_MSVC > > > > +#include > > > > +#else > > > > #include >

Re: [PATCH 15/46] net/sfc: use rte stdatomic API

2024-03-21 Thread Tyler Retzlaff
On Thu, Mar 21, 2024 at 02:11:00PM -0400, Aaron Conole wrote: > Tyler Retzlaff writes: > > > Replace the use of gcc builtin __atomic_xxx intrinsics with > > corresponding rte_atomic_xxx optional rte stdatomic API. > > > > Signed-off-by: Tyler Retzlaff > > --- > > drivers/net/sfc/meson.build

Re: [PATCH 15/46] net/sfc: use rte stdatomic API

2024-03-21 Thread Aaron Conole
Tyler Retzlaff writes: > Replace the use of gcc builtin __atomic_xxx intrinsics with > corresponding rte_atomic_xxx optional rte stdatomic API. > > Signed-off-by: Tyler Retzlaff > --- > drivers/net/sfc/meson.build | 5 ++--- > drivers/net/sfc/sfc_mae_counter.c | 30 +++---

Re: [PATCH] net: stop using mmx intrinsics

2024-03-21 Thread Thomas Monjalon
21/03/2024 18:27, Tyler Retzlaff: > On Thu, Mar 21, 2024 at 06:09:01PM +0100, Thomas Monjalon wrote: > > 20/03/2024 22:12, Tyler Retzlaff: > > > +#ifdef RTE_TOOLCHAIN_MSVC > > > +#include > > > +#else > > > #include > > > +#endif > > > > It is not the same include in MSVC? > > unfortunately in

Re: [PATCH 1/2] net/txgbe: add vectorized functions for Rx/Tx

2024-03-21 Thread Tyler Retzlaff
On Thu, Mar 21, 2024 at 04:27:26PM +, Ferruh Yigit wrote: > On 3/5/2024 8:10 AM, Jiawen Wu wrote: > > <...> > > >>> +++ b/drivers/net/txgbe/txgbe_rxtx_vec_neon.c > >>> @@ -0,0 +1,604 @@ > >>> +/* SPDX-License-Identifier: BSD-3-Clause > >>> + * Copyright(c) 2015-2024 Beijing WangXun Technology

Community CI Meeting Minutes - March 21, 2024

2024-03-21 Thread Patrick Robb
March 21, 2024 # Attendees 1. Patrick Robb 2. Aaron Conole 3. Nicholas Pratte 4. Jeremy Spewock 5. Cody Cheng # Minutes

Re: [PATCH v10 08/10] eal: add option to put timestamp on console output

2024-03-21 Thread Tyler Retzlaff
On Thu, Mar 21, 2024 at 10:16:36AM -0700, Stephen Hemminger wrote: > On Thu, 21 Mar 2024 10:11:31 -0700 > Tyler Retzlaff wrote: > > > > > > > > > > +Console timestamp > > > +~ > > > + > > > +On Linux and FreeBSD, an optional timestamp can be added before each > > > +message by

Re: [PATCH v4 0/6] refine argparse library

2024-03-21 Thread Thomas Monjalon
18/03/2024 12:18, Chengwen Feng: > I found a couple of issues when I revisited the argparse_autotest > output, so got this patchset. > > Chengwen Feng (6): > argparse: refine error message > argparse: remove dead code > argparse: replace flag enum with marco > argparse: fix argument flags

Re: [PATCH] net: stop using mmx intrinsics

2024-03-21 Thread Tyler Retzlaff
On Thu, Mar 21, 2024 at 06:09:01PM +0100, Thomas Monjalon wrote: > 20/03/2024 22:12, Tyler Retzlaff: > > +#ifdef RTE_TOOLCHAIN_MSVC > > +#include > > +#else > > #include > > +#endif > > It is not the same include in MSVC? unfortunately intrin.h is vestigial in the monolithic approach. to use a

Re: [dpdk-dev] [PATCH] eal: add option to put timestamp on console output

2024-03-21 Thread Thomas Monjalon
19/10/2020 17:25, Stephen Hemminger: > On Mon, 19 Oct 2020 16:11:19 +0200 > Thomas Monjalon wrote: > > > There was no ack or conclusion for this patch. > > > > 17/08/2020 17:11, Stephen Hemminger: > > > On Mon, 17 Aug 2020 11:37:40 +0100 > > > Bruce Richardson wrote: > > > > > > > On Fri, Au

Re: [PATCH] argparse: fix parser callback type name

2024-03-21 Thread Thomas Monjalon
07/03/2024 18:50, Tyler Retzlaff: > On Thu, Mar 07, 2024 at 05:14:02PM +0100, David Marchand wrote: > > All types exposed in a public header must be prefixed with rte_. > > > > Fixes: e3e579f5bab5 ("argparse: introduce argparse library") > > > > Signed-off-by: David Marchand > > Acked-by: Tyler

Re: [PATCH v10 08/10] eal: add option to put timestamp on console output

2024-03-21 Thread Stephen Hemminger
On Thu, 21 Mar 2024 10:11:31 -0700 Tyler Retzlaff wrote: > > > > > > +Console timestamp > > +~ > > + > > +On Linux and FreeBSD, an optional timestamp can be added before each > > +message by adding the ``--log-timestamp`` option. > > i don't think Windows should be excluded

Re: [PATCH v1] doc: update QAT compression doc IDs

2024-03-21 Thread Thomas Monjalon
20/03/2024 10:58, Power, Ciara: > From: Sivaramakrishnan, VenkatX > > > > Missing GEN2, GEN3 and GEN4 devices updated for the QAT compression. > > > > Signed-off-by: Sivaramakrishnan Venkat > > --- > > doc/guides/compressdevs/qat_comp.rst | 4 > > 1 file changed, 4 insertions(+) > > > >

Re: [PATCH v10 08/10] eal: add option to put timestamp on console output

2024-03-21 Thread Tyler Retzlaff
On Thu, Mar 21, 2024 at 09:00:24AM -0700, Stephen Hemminger wrote: > When debugging driver or startup issues, it is useful to have > a timestamp on each message printed. The messages in syslog > already have a timestamp, but often syslog is not available > during testing. > > There are multiple ti

Re: [PATCH] net: stop using mmx intrinsics

2024-03-21 Thread Thomas Monjalon
20/03/2024 22:12, Tyler Retzlaff: > +#ifdef RTE_TOOLCHAIN_MSVC > +#include > +#else > #include > +#endif It is not the same include in MSVC? Is it something we want to wrap in a DPDK header file?

Re: [PATCH v10 07/10] eal: allow user to set default log stream before init

2024-03-21 Thread Tyler Retzlaff
On Thu, Mar 21, 2024 at 09:00:23AM -0700, Stephen Hemminger wrote: > It is useful for application to be able to set the default log > stream before call rte_eal_init(). This makes all messages go > to the new default. > > For example, to skip using syslog; just doing > rte_openlog_stream(std

Re: [PATCH v2 1/1] doc: update command scope information

2024-03-21 Thread Thomas Monjalon
07/03/2024 11:06, sk...@marvell.com: > From: Sunil Kumar Kori > > Set of CLI commands are classified into following types; > > - Commands which must be used in script only. > - Commands which must be used via telnet session only. > - Commands which can be used either in script or via telnet sess

Re: [PATCH v10 06/10] eal: change rte_exit() output to match rte_log()

2024-03-21 Thread Tyler Retzlaff
On Thu, Mar 21, 2024 at 09:00:22AM -0700, Stephen Hemminger wrote: > The rte_exit() output format confuses the timestamp and coloring > options. Change it to use be a single line with proper prefix. > > Before: > [ 0.006481] EAL: Error - exiting with code: 1 > Cause: [ 0.006489] Cannot i

Re: [PATCH v10 03/10] eal: make eal_log_level_parse common

2024-03-21 Thread Tyler Retzlaff
On Thu, Mar 21, 2024 at 09:00:19AM -0700, Stephen Hemminger wrote: > The code to parse for log-level option should be same on > all OS variants. > > Signed-off-by: Stephen Hemminger > --- Acked-by: Tyler Retzlaff

Re: [PATCH 15/15] examples: pack structures when building with MSVC

2024-03-21 Thread Bruce Richardson
On Wed, Mar 20, 2024 at 02:06:11PM -0700, Tyler Retzlaff wrote: > Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing > when building with MSVC. > > Signed-off-by: Tyler Retzlaff > --- > examples/common/neon/port_group.h | 1 + > examples/ip_pipeline/cli.c| 5 + >

Re: [PATCH 13/15] app/testpmd: pack structures when building with MSVC

2024-03-21 Thread Bruce Richardson
On Wed, Mar 20, 2024 at 02:06:09PM -0700, Tyler Retzlaff wrote: > Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing > when building with MSVC. > > Signed-off-by: Tyler Retzlaff > --- > app/test-pmd/csumonly.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/app/tes

Re: [PATCH 1/2] net/txgbe: add vectorized functions for Rx/Tx

2024-03-21 Thread Ferruh Yigit
On 3/5/2024 8:10 AM, Jiawen Wu wrote: <...> >>> +++ b/drivers/net/txgbe/txgbe_rxtx_vec_neon.c >>> @@ -0,0 +1,604 @@ >>> +/* SPDX-License-Identifier: BSD-3-Clause >>> + * Copyright(c) 2015-2024 Beijing WangXun Technology Co., Ltd. >>> + * Copyright(c) 2010-2015 Intel Corporation >>> + */ >>> + >>>

  1   2   >