From: Long Wu
Meta data parsing should be controlled by meta data flag. So use
flag to determine if receive function can use 'port_id' meta data.
Fixes: 580ea0b09a7c ("net/nfp: fix Rx descriptor")
Cc: sta...@dpdk.org
Signed-off-by: Long Wu
Reviewed-by: Chaoyong He
Reviewed-by: Peng Zhang
---
> -Original Message-
> From: Wu, Jingjing
> Sent: Thursday, March 21, 2024 11:39 AM
> To: Yan, Zhirun ; dev@dpdk.org
> Cc: jer...@marvell.com; pbhagavat...@marvell.com; sta...@dpdk.org
> Subject: RE: [PATCH] graph: fix head move when graph walk in mcore dispatch
>
>
>
> > -Origin
I tried this modification and it works as well.
[root@compute3 /]# /dpdk/app/dpdk-dumpcap -i :18:00.0
File: /tmp/dpdk-dumpcap_0_:18:00.0_20240321043451.pcapng
Capturing on ':18:00.0'
Packets captured: 499 ^C
Packets received/dropped on interface ':18:00.0': 499/0 (100.0)
diff --gi
> -Original Message-
> From: Yan, Zhirun
> Sent: Wednesday, March 20, 2024 4:43 PM
> To: Wu, Jingjing ; dev@dpdk.org
> Cc: jer...@marvell.com; pbhagavat...@marvell.com; sta...@dpdk.org
> Subject: RE: [PATCH] graph: fix head move when graph walk in mcore dispatch
>
>
>
> > -Origin
Hi Moren,
Thanks for your revew.
在 2024/3/20 22:05, Morten Brørup 写道:
From: Huisong Li [mailto:lihuis...@huawei.com]
Sent: Wednesday, 20 March 2024 11.55
The system-wide CPU latency QoS limit has a positive impact on the idle
state selection in cpuidle governor.
Linux creates a cpu_dma_latenc
> -Original Message-
> From: Mingjin Ye
> Sent: Friday, March 15, 2024 6:24 PM
> To: dev@dpdk.org
> Cc: Ye, MingjinX ; sta...@dpdk.org
> Subject: [PATCH 2/2] net/ice: Tx path check mbuf sub-segment
>
> Add check mbuf sub-segment to Tx diagnostic path.
>
> Fixes: 2a0244d611b4 ("net/ice: s
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:
Some speeds can be achieved with different number of lanes. For example,
100Gbps can be achiev
Hi, Thomas
> -Original Message-
> From: Thomas Monjalon
> Sent: Wednesday, March 20, 2024 7:37 PM
> To: fengcheng...@huawei.com; Ma, WenwuX
> Cc: dev@dpdk.org; Jiale, SongX ; sta...@dpdk.org
> Subject: Re: [PATCH v3] dmadev: fix structure alignment
>
> 20/03/2024 08:23, Wenwu Ma:
> > Th
So just top posting to revive this discussion.
i spent some time going through lib and drivers and the use of VLAs is
very extensive. additionally, i have learned that there is some syntax
improvement value in using them over alloca() in spite of neither being
able to report allocation failure.
RTE_MARKER typedefs are a GCC extension unsupported by MSVC. Remove
RTE_MARKER fields from rte_mbuf struct.
Maintain alignment of fields after removed cacheline1 marker by placing
C11 alignas(RTE_CACHE_LINE_MIN_SIZE).
Signed-off-by: Tyler Retzlaff
---
doc/guides/rel_notes/release_24_03.rst | 3
RTE_MARKER typedefs are a GCC extension unsupported by MSVC. Remove
RTE_MARKER fields from rte_mbuf struct.
Maintain alignment of fields after removed cacheline1 marker by placing
C11 alignas(RTE_CACHE_LINE_MIN_SIZE).
Signed-off-by: Tyler Retzlaff
---
doc/guides/rel_notes/release_24_03.rst | 3
RTE_MARKER typedefs are a GCC extension unsupported by MSVC. Remove
RTE_MARKER fields from rte_mbuf struct.
Maintain alignment of fields after removed cacheline1 marker by placing
C11 alignas(RTE_CACHE_LINE_MIN_SIZE).
Provide new rearm_data and rx_descriptor_fields1 fields in anonymous
unions as
Don't directly access the cacheline1 field in rte_mbuf struct for
prefetch instead just use rte_mbuf_prefetch_part2() to prefetch.
Signed-off-by: Tyler Retzlaff
---
drivers/net/i40e/i40e_rxtx_vec_avx512.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_r
As per techboard meeting 2024/03/20 adopt hybrid proposal of adapting
descriptor fields and removing cachline fields.
RTE_MARKER typedefs are a GCC extension unsupported by MSVC. Remove
RTE_MARKER fields.
For cacheline{0,1} fields remove fields entirely and use inline
functions to prefetch.
Prov
Use newly introduced __rte_constant(e) macro instead of directly using
__builtin_constant_p() allowing mempool to be built by MSVC.
Signed-off-by: Tyler Retzlaff
---
lib/mempool/rte_mempool.h | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/lib/mempool/rte_mempool.h b/l
MSVC does not have a __builtin_constant_p intrinsic so provide
__rte_constant(e) that expands false for MSVC and to the intrinsic for
GCC.
Signed-off-by: Tyler Retzlaff
---
lib/eal/include/rte_common.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/lib/eal/include/rte_common.h b/lib/e
Decouple direct dependency on GCC built-in __builtin_constant_p provide
a new macro __rte_constant(e) that expands to the built-in for GCC and
to false for MSVC.
Tyler Retzlaff (2):
eal: provide macro for GCC builtin constant intrinsic
mempool: use rte constant macro instead of GCC builtin
l
Provide crc32 inline functions implemented using intrinsics for MSVC.
Signed-off-by: Tyler Retzlaff
---
lib/hash/rte_crc_x86.h | 46 --
1 file changed, 36 insertions(+), 10 deletions(-)
diff --git a/lib/hash/rte_crc_x86.h b/lib/hash/rte_crc_x86.h
inde
MSVC does not support inline assembly so provide crc32 functions
using intrinsics.
Tyler Retzlaff (1):
hash: provide crc32 functions based on intrinsics
lib/hash/rte_crc_x86.h | 46 --
1 file changed, 36 insertions(+), 10 deletions(-)
--
1.8.3.1
MSVC does not support inline assembly instead it provides compiler
intrinsics. Provide conditional compile for MSVC for movdiri using the
_directstoreu_u32 intrinsic.
Signed-off-by: Tyler Retzlaff
---
lib/eal/x86/include/rte_io.h | 4
1 file changed, 4 insertions(+)
diff --git a/lib/eal/x8
provide toolchain abstraction for __builtin_ffs{,l,ll} gcc built-in
intrinsics.
Signed-off-by: Tyler Retzlaff
---
lib/eal/include/rte_bitops.h | 34 ++
1 file changed, 34 insertions(+)
diff --git a/lib/eal/include/rte_bitops.h b/lib/eal/include/rte_bitops.h
index
MSVC does not support inline assembly so use movdiri intrinsic and
provide abstracted rte_ffs{32,64} inline functions instead of directly
using GCC built-ins.
Tyler Retzlaff (2):
eal: provide movdiri for MSVC
eal: add rte ffs32 and rte ffs64 inline functions
lib/eal/include/rte_bitops.h | 34
MSVC does not have intrinsics that allow prefetch specifying
read/write so adjust conditional compilation to allow MSVC to
use the non access type inline functions from rte_prefetch.h
While here fix issues with C++ build (which only appears on
MSVC because it uses intrinsics and not inline assembl
MSVC does not have an equivalent of __builtin_prefetch that allows read
or read-write parameter. Introduce conditional compile expansion of
rte_prefetch[0-2] inline functions when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
lib/eal/include/generic/rte_prefetch.h | 12
1 fi
_mm_prefetch does not take a volatile qualified pointer, cast it away.
Additionally the pointer type should be char * not void * so adjust the
cast to match.
_mm_cldemote does not take a volatile qualified pointer, cast it away.
Signed-off-by: Tyler Retzlaff
---
lib/eal/x86/include/rte_prefetch
Update code to use only avx/sse intrinsics as mmx is not supported on
MSVC.
Signed-off-by: Tyler Retzlaff
---
lib/net/net_crc_avx512.c | 28 ++--
lib/net/net_crc_sse.c| 28 ++--
2 files changed, 20 insertions(+), 36 deletions(-)
diff --git a/l
MSVC does not support older MMX intrinsics use SSE/AVX instead.
Tyler Retzlaff (1):
net: stop using mmx intrinsics
lib/net/net_crc_avx512.c | 28 ++--
lib/net/net_crc_sse.c| 28 ++--
2 files changed, 20 insertions(+), 36 deletions(-)
--
1.8
Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
drivers/net/iavf/iavf_ipsec_crypto.h | 3 +++
drivers/net/iavf/iavf_rxtx.c | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/net/iavf/iavf_ipsec_
Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
drivers/net/mlx5/hws/mlx5dr.h | 1 +
drivers/net/mlx5/mlx5.h | 1 +
drivers/net/mlx5/mlx5_flow.h| 5 +
drivers/net/mlx5/mlx5_hws_cnt.h | 1 +
drive
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 +
examples/ipsec-secgw/ipsec.h | 1 +
examples/l3fwd-power/main.c | 2
Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
drivers/net/octeon_ep/otx_ep_mbox.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/octeon_ep/otx_ep_mbox.h
b/drivers/net/octeon_ep/otx_ep_mbox.h
in
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/test-pmd/csumonly.c b/app/test-pmd/csumonly.c
index 6711dda..638e607 100644
--- a/app
Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
drivers/net/ice/base/ice_osdep.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ice/base/ice_osdep.h b/drivers/net/ice/base/ice_osdep.h
index 0e14
Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
drivers/common/mlx5/mlx5_common_mr.h| 4
drivers/common/mlx5/mlx5_common_utils.h | 1 +
drivers/common/mlx5/mlx5_prm.h | 28 +
Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
app/test/test_efd.c| 1 +
app/test/test_hash.c | 1 +
app/test/test_member.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/app/test/test_efd.c b/app/te
Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
drivers/net/i40e/base/i40e_osdep.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_osdep.h
b/drivers/net/i40e/base/i40e_osdep.h
ind
Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
drivers/dma/ioat/ioat_hw_defs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/ioat/ioat_hw_defs.h b/drivers/dma/ioat/ioat_hw_defs.h
index dc3493a..
Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
drivers/common/idpf/base/idpf_osdep.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/common/idpf/base/idpf_osdep.h
b/drivers/common/idpf/base/idpf_os
Add __rte_msvc_pack to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
lib/eal/common/eal_private.h | 1 +
lib/eal/include/rte_memory.h | 1 +
lib/eal/include/rte_memzone.h | 1 +
lib/eal/include/rte_trace_point.h | 1 +
lib/eal/
Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
drivers/common/iavf/iavf_osdep.h| 2 ++
drivers/common/iavf/virtchnl_inline_ipsec.h | 11 +++
2 files changed, 13 insertions(+)
diff --git a/dr
Add __rte_msvc_pushpack(1) to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff
---
lib/net/rte_arp.h | 2 ++
lib/net/rte_dtls.h | 1 +
lib/net/rte_esp.h | 2 ++
lib/net/rte_ether.h| 1 +
lib/net/rte_geneve.h | 1 +
lib/net/rte_g
MSVC struct packing is not compatible with GCC provide a macro that can
be used to push existing pack value and sets packing to 1-byte. The
existing __rte_packed macro is then used to restore the pack value
prior to the push.
Instead of providing macros exclusively for MSVC and for GCC the
existin
MSVC struct packing is not compatible with GCC provide a macro that can
be used to push existing pack value and sets packing to 1-byte. The
existing __rte_packed macro is then used to restore the pack value
prior to the push.
Instead of providing macros exclusively for MSVC and for GCC the
existin
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/
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/
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
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 --
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
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
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
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
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
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
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 -
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
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
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 +-
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 +++---
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
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
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 +
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
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(-)
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.
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
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
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/
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
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
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
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
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/
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
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 +++---
drivers/net/sfc/sfc_repr_pro
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(-)
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
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
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 ++-
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_
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 -
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/
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
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 ++
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 ++
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
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 |
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
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
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
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
On Wed, Mar 20, 2024 at 6:08 AM Ferruh Yigit wrote:
>
> On 3/20/2024 6:06 AM, Gregory Etelson wrote:
> > Hello Ferruh,
> >
> >>BUT overall how can we catch issues like this in the feature, we don't
> >>have a good way to test testpmd flow commands.
> >>@Ori, @Gregory, do you have any idea?
> >>cc'
On Wed, Mar 20, 2024 at 06:41:30PM +0100, David Marchand wrote:
> Hello Tyler,
>
> On Wed, Mar 20, 2024 at 4:38 PM Tyler Retzlaff
> wrote:
> >
> > The current location used for __rte_aligned(a) for alignment of types
> > and variables is not compatible with MSVC. There is only a single
> > locati
https://bugs.dpdk.org/show_bug.cgi?id=1405
Bug ID: 1405
Summary: Static Memory footprint large increase due to net/bnxt
changes in 23.11
Product: DPDK
Version: 23.11
Hardware: All
OS: All
Status:
Hello Stephen,
I noticed a (time based?) failure of the pcapng unit test in some UNH
Debian 11 container.
Please have a look.
https://lab.dpdk.org/results/dashboard/patchsets/29604/
--- stdout ---
RTE>>pcapng_autotest
+ ---
Hello Tyler,
On Wed, Mar 20, 2024 at 4:38 PM Tyler Retzlaff
wrote:
>
> The current location used for __rte_aligned(a) for alignment of types
> and variables is not compatible with MSVC. There is only a single
> location accepted by both toolchains.
>
> After having established this as the convent
> From: Bruce Richardson [mailto:bruce.richard...@intel.com]
> Sent: Wednesday, 20 March 2024 16.51
>
> On Wed, Mar 20, 2024 at 08:36:53AM -0700, Tyler Retzlaff wrote:
> > The current location used for __rte_aligned(a) for alignment of types
> > and variables is not compatible with MSVC. There is
> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Wednesday, 20 March 2024 15.39
>
> On Wed, 20 Mar 2024 09:34:21 +0100
> Morten Brørup wrote:
>
> > > From: Stephen Hemminger [mailto:step...@networkplumber.org]
> > > Sent: Wednesday, 20 March 2024 04.34
> > >
> > > On Tue, 19
The code to update link status is not safe in secondary process.
If called from secondary it will crash, example from dumpcap:
ixgbe_dev_link_update_share()
ixgbe_dev_link_update()
rte_eth_link_get()
Signed-off-by: Stephen Hemminger
Reported-by: Jun Wang
---
Simpler versi
In some cases, the node context data is used to store two pointers
because the data is larger than the reserved 16 bytes. Having to define
intermediate structures just to be able to cast is tedious. Add two
pointers that take the same space than ctx.
Signed-off-by: Robin Jarry
---
lib/graph/rte_
On 3/20/2024 2:52 PM, shaib...@amazon.com wrote:
> From: Shai Brandes
>
> Fixed an issue of double free of mbufs which is exposed
> in mbuf fast free mode when handling multi-mbuf packets.
>
> The faulty patch mishandled free of non-head mbufs as it
> iterated over linked mbufs and collected the
1 - 100 of 219 matches
Mail list logo