Re: [PATCH v12 05/14] eal: change rte_exit() output to match rte_log()

2024-03-27 Thread Tyler Retzlaff
On Mon, Mar 25, 2024 at 01:47:02PM -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 v1] net/i40e: updated 24.03 recommended matching list

2024-03-27 Thread Mcnamara, John
> Subject: [PATCH v1] net/i40e: updated 24.03 recommended matching list Acked-by: John McNamara

RE: [PATCH v1] net/ice: updated 24.03 recommended matching list

2024-03-27 Thread Mcnamara, John
> Subject: [PATCH v1] net/ice: updated 24.03 recommended matching list Acked-by: John McNamara

[PATCH v5] graph: expose node context as pointers

2024-03-27 Thread Robin Jarry
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. And without intermediate structures, casting to opaque pointers is hard without violating strict ali

[PATCH 0/4] Virtio-user queues setup fixes

2024-03-27 Thread Maxime Coquelin
This series aims at fixing several issues found in Virtio-user PMD related to queues setup and cleanup. It has been tested with Vhost-vDPA backend using Nvidia Cx6-Dx vDPA VF. First patch in the series renames the queues iterator helper, so it is not a fix. But I would suggest to have it backport

[PATCH 1/4] net/virtio: rename Virtio-user queue iterator

2024-03-27 Thread Maxime Coquelin
This is a preliminary rework to prepare for iterating over queues for non-setup operations. Also, remove the error log that does not provide much information given the callbacks already provide one. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_user/virtio_user_dev.c | 13 +--

[PATCH 2/4] net/virtio: use iterator to destroy Virtio-user queues

2024-03-27 Thread Maxime Coquelin
This patch uses the freshly renamed iterator to destroy queues at stop time. Doing this, we fix the missing control queue destroy. Fixes: 90966e8e5b67 ("net/virtio-user: send shadow virtqueue info to the backend") Cc: sta...@dpdk.org Signed-off-by: Maxime Coquelin --- .../net/virtio/virtio_use

[PATCH 3/4] net/virtio: fix shadow control queue notification init

2024-03-27 Thread Maxime Coquelin
The Virtio-user control queue kick and call FDs were not uninitialized at device stop time. This patch fixes this using the queues iterator helper for both initialization and uninitialization. Fixes: 90966e8e5b67 ("net/virtio-user: send shadow virtqueue info to the backend") Cc: sta...@dpdk.org

[PATCH 4/4] net/virtio: fix shadow control queue allocation

2024-03-27 Thread Maxime Coquelin
It is possible to have the control queue without the vDPA device advertising VIRTIO_NET_F_MQ. Let's just rely on hw_cvq flag as in other places. Fixes: 6fdf32d1e318 ("net/virtio-user: remove max queues limitation") Cc: sta...@dpdk.org Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virti

Re: [PATCH 0/4] Virtio-user queues setup fixes

2024-03-27 Thread David Marchand
Hello Maxime, On Wed, Mar 27, 2024 at 10:40 AM Maxime Coquelin wrote: > > This series aims at fixing several issues found in > Virtio-user PMD related to queues setup and cleanup. > > It has been tested with Vhost-vDPA backend using Nvidia > Cx6-Dx vDPA VF. > > First patch in the series renames t

[PATCH] igc/ixgbe: add get/set link settings interface

2024-03-27 Thread Marek Pazdan
There are link settings parameters available from PMD drivers level which are currently not exposed to the user via consistent interface. When interface is available for system level those information can be acquired with 'ethtool DEVNAME' (ioctl: ETHTOOL_SLINKSETTINGS/ ETHTOOL_GLINKSETTINGS). Ther

[PATCH] doc: clarify ipsec-secgw documentation on TSO

2024-03-27 Thread Vladimir Medvedkin
Updated ipsec-secgw user guide to reflect that ipsec-secgw only supports TSO for TCP/IP at this time. Signed-off-by: Vladimir Medvedkin --- doc/guides/sample_app_ug/ipsec_secgw.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/guides/sample_app_ug/ipsec_secgw.rst b/doc/guides/sample_a

RE: [PATCH] doc: clarify ipsec-secgw documentation on TSO

2024-03-27 Thread Mcnamara, John
> -Original Message- > From: Medvedkin, Vladimir > Sent: Wednesday, March 27, 2024 10:51 AM > To: dev@dpdk.org > Cc: Mcnamara, John > Subject: [PATCH] doc: clarify ipsec-secgw documentation on TSO > > Updated ipsec-secgw user guide to reflect that ipsec-secgw only supports > TSO for T

Re: [PATCH] igc/ixgbe: add get/set link settings interface

2024-03-27 Thread Bruce Richardson
On Tue, Mar 26, 2024 at 04:59:07PM -0700, Marek Pazdan wrote: > There are link settings parameters available from PMD drivers level > which are currently not exposed to the user via consistent interface. > When interface is available for system level those information can > be acquired with 'ethtoo

Error in rte_eal_init() when multiple PODs over single node of K8 cluster

2024-03-27 Thread Avijit Pandey
Hello Devs, I hope this email finds you well. I am reaching out to seek assistance regarding an issue I am facing in DPDK within my Kubernetes cluster. I have deployed a Kubernetes cluster v1.26.0, and I am currently running network testing through DPPD-PRoX (commit/02425932

Re: release candidate 24.03-rc4

2024-03-27 Thread Thinh Tran
IBM - Power Systems DPDK v24.03-rc4-2-gded4d47651 * Build CI on Fedora 30,37,38,39,40 container images for ppc64le * Basic PF on Mellanox: No issue found * Performance: not tested. * OS:- RHEL 9.3 kernel: 5.14.0-362.2.1.el9_3.ppc64le with gcc version 11.4.1 20230605 (Red Hat 11.4.1-2)

Re: Error in rte_eal_init() when multiple PODs over single node of K8 cluster

2024-03-27 Thread Bruce Richardson
On Wed, Mar 27, 2024 at 12:42:55PM +, Avijit Pandey wrote: >Hello Devs, > > >I hope this email finds you well. > >I am reaching out to seek assistance regarding an issue I am facing in >DPDK within my Kubernetes cluster. > > >I have deployed a Kubernetes cluster v1.26.

[RFC PATCH] usertools: add telemetry exporter

2024-03-27 Thread Anthony Harivel
Hi Robin, Thanks for this patch. I did test it and it works as expected. Nonetheless, maybe we can improve on some parts. In 'class TelemetrySocket', there is: ... self.sock.connect(path) data = json.loads(self.sock.recv(1024).decode()) ... Maybe we can improve with something like:

DTS WG Meeting Minutes - March 27, 2024

2024-03-27 Thread Patrick Robb
# Attendees * Patrick Robb * Jeremy Spewock * Honnappa Nagarahalli * Luca Vizzarro * Nicholas Pratte # Minutes ==

[PATCH v16 00/15] Logging unification and improvements

2024-03-27 Thread Stephen Hemminger
Improvements and unification of logging library (for 24.07 release). This version works on all platforms: Linux, Windows and FreeBSD. This is update to rework patch set. It adds several new features to the console log output. * Putting a timestamp on console output which is useful for analy

[PATCH v16 01/15] maintainers: add for log library

2024-03-27 Thread Stephen Hemminger
"You touch it you own it" Add myself as maintainer for log library. Signed-off-by: Stephen Hemminger --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7abb3aee49..54c28a601d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -180,6 +180,7 @@ F: app/te

[PATCH v16 02/15] windows: make getopt functions have const properties

2024-03-27 Thread Stephen Hemminger
Having different prototypes on different platforms can lead to lots of unnecessary workarounds. Looks like the version of getopt used from windows was based on an older out of date version from FreeBSD. This patch changes getopt, getopt_long, etc to have the same const attributes as Linux and Fre

[PATCH v16 03/15] windows: add os shim for localtime_r

2024-03-27 Thread Stephen Hemminger
Windows does not have localtime_r but it does have a similar function that can be used instead. Signed-off-by: Stephen Hemminger --- lib/eal/windows/include/rte_os_shim.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/lib/eal/windows/include/rte_os_shim.h b/lib/eal/windows/incl

[PATCH v16 04/15] windows: common wrapper for vasprintf and asprintf

2024-03-27 Thread Stephen Hemminger
Replace the windows version of asprintf() that was only usable in eal. With a more generic one that supports both vasprintf() and asprintf(). This also eliminates duplicate code. Fixes: 8f4de2dba9b9 ("bus/pci: fill bus specific information") Fixes: 9ec521006db0 ("eal/windows: hide asprintf shim")

[PATCH v16 05/15] eal: make eal_log_level_parse common

2024-03-27 Thread Stephen Hemminger
The code to parse for log-level option should be same on all OS variants. Signed-off-by: Stephen Hemminger --- lib/eal/common/eal_common_options.c | 46 + lib/eal/common/eal_options.h| 1 + lib/eal/freebsd/eal.c | 42 --

[PATCH v16 06/15] eal: do not duplicate rte_init_alert() messages

2024-03-27 Thread Stephen Hemminger
The message already goes through logging, and does not need to be printed on stderr. Message level should be ALERT to match function name. Signed-off-by: Stephen Hemminger --- lib/eal/freebsd/eal.c | 3 +-- lib/eal/linux/eal.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --g

[PATCH v16 07/15] eal: change rte_exit() output to match rte_log()

2024-03-27 Thread Stephen Hemminger
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 init EAL: Permission denied After: [ 0.006238] EAL: Error - exiting with co

[PATCH v16 08/15] log: move handling of syslog facility out of eal

2024-03-27 Thread Stephen Hemminger
The syslog facility property is better handled in lib/log rather than in eal. This also allows for changes to what syslog flag means in later steps. Signed-off-by: Stephen Hemminger --- lib/eal/common/eal_common_options.c | 51 ++--- lib/eal/freebsd/eal.c |

[PATCH v16 09/15] eal: initialize log before everything else

2024-03-27 Thread Stephen Hemminger
In order for all log messages (including CPU mismatch) to come out through the logging library, it must be initialized as early in rte_eal_init() as possible on all platforms. Where it was done before was likely historical based on the support of non-OS isolated CPU's which required a shared memor

[PATCH v16 10/15] log: drop syslog support, and make code common

2024-03-27 Thread Stephen Hemminger
This patch makes the log setup code common across all platforms. Drops syslog support for now, will come back in later patch. Signed-off-by: Stephen Hemminger --- app/test/test_eal_flags.c | 11 ++- lib/eal/common/eal_common_options.c | 3 - lib/log/log.c | 2

[PATCH v16 11/15] log: add hook for printing log messages

2024-03-27 Thread Stephen Hemminger
This is useful for when decorating log output for console or journal. Provide basic version in this patch. Signed-off-by: Stephen Hemminger --- lib/log/log.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/lib/log/log.c b/lib/log/log.c index f597da2e39..acd4

[PATCH v16 12/15] log: add timestamp option

2024-03-27 Thread Stephen Hemminger
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 timestamp formats similar to Linux dmesg. The default is time relative since star

[PATCH v16 13/15] log: add optional support of syslog

2024-03-27 Thread Stephen Hemminger
Log to syslog only if option is specified. And if syslog is used then normally only log to syslog, don't duplicate output. Also enables syslog support on FreeBSD. Signed-off-by: Stephen Hemminger --- app/test/test_eal_flags.c | 5 +- doc/guides/linux_gsg/linux_eal_parameter

[PATCH v16 14/15] log: add support for systemd journal

2024-03-27 Thread Stephen Hemminger
If DPDK application is being run as a systemd service, then it can use the journal protocol which allows putting more information in the log such as priority and other information. The use of journal protocol is automatically detected and handled. Rather than having a dependency on libsystemd, ju

[PATCH v16 15/15] log: colorize log output

2024-03-27 Thread Stephen Hemminger
Like dmesg, colorize the log output (unless redirected to file). Timestamp is green, the subsystem is in yellow and the message is red if urgent, boldface if an error, and normal for info and debug messages. Signed-off-by: Stephen Hemminger --- app/test/test_eal_flags.c | 24 doc

Re: [PATCH v16 01/15] maintainers: add for log library

2024-03-27 Thread Tyler Retzlaff
On Wed, Mar 27, 2024 at 09:45:19AM -0700, Stephen Hemminger wrote: > "You touch it you own it" > Add myself as maintainer for log library. > > Signed-off-by: Stephen Hemminger > --- Acked-by: Tyler Retzlaff

Re: [PATCH v16 03/15] windows: add os shim for localtime_r

2024-03-27 Thread Tyler Retzlaff
On Wed, Mar 27, 2024 at 09:45:21AM -0700, Stephen Hemminger wrote: > Windows does not have localtime_r but it does have a similar > function that can be used instead. > > Signed-off-by: Stephen Hemminger > --- > lib/eal/windows/include/rte_os_shim.h | 10 ++ > 1 file changed, 10 insertio

Re: [PATCH v16 04/15] windows: common wrapper for vasprintf and asprintf

2024-03-27 Thread Tyler Retzlaff
On Wed, Mar 27, 2024 at 09:45:22AM -0700, Stephen Hemminger wrote: > Replace the windows version of asprintf() that was only usable > in eal. With a more generic one that supports both vasprintf() > and asprintf(). This also eliminates duplicate code. > > Fixes: 8f4de2dba9b9 ("bus/pci: fill bus s

Re: [PATCH v16 05/15] eal: make eal_log_level_parse common

2024-03-27 Thread Tyler Retzlaff
On Wed, Mar 27, 2024 at 09:45:23AM -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 v16 06/15] eal: do not duplicate rte_init_alert() messages

2024-03-27 Thread Tyler Retzlaff
On Wed, Mar 27, 2024 at 09:45:24AM -0700, Stephen Hemminger wrote: > The message already goes through logging, and does not need > to be printed on stderr. Message level should be ALERT > to match function name. > > Signed-off-by: Stephen Hemminger > --- Acked-by: Tyler Retzlaff

Re: [PATCH v16 07/15] eal: change rte_exit() output to match rte_log()

2024-03-27 Thread Tyler Retzlaff
On Wed, Mar 27, 2024 at 09:45:25AM -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 v16 09/15] eal: initialize log before everything else

2024-03-27 Thread Tyler Retzlaff
On Wed, Mar 27, 2024 at 09:45:27AM -0700, Stephen Hemminger wrote: > In order for all log messages (including CPU mismatch) to > come out through the logging library, it must be initialized > as early in rte_eal_init() as possible on all platforms. > > Where it was done before was likely historica

Re: [PATCH v16 03/15] windows: add os shim for localtime_r

2024-03-27 Thread Stephen Hemminger
On Wed, 27 Mar 2024 09:56:59 -0700 Tyler Retzlaff wrote: > On Wed, Mar 27, 2024 at 09:45:21AM -0700, Stephen Hemminger wrote: > > Windows does not have localtime_r but it does have a similar > > function that can be used instead. > > > > Signed-off-by: Stephen Hemminger > > --- > > lib/eal/win

Re: [PATCH v7 1/4] net/i40e: use inline prefetch function

2024-03-27 Thread Tyler Retzlaff
On Tue, Mar 26, 2024 at 11:16:10AM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Wednesday, 20 March 2024 23.02 > > > > Don't directly access the cacheline1 field in rte_mbuf struct for > > prefetch instead just use rte_mbuf_prefetch_part2() t

[PATCH] net/ice: fix vlan stripping in double VLAN mode

2024-03-27 Thread Vladimir Medvedkin
The ICE hardware can operate in two modes - single vlan mode or double vlan mode. Depending on the operating mode the hardware handles vlan header with single vlan tag differently. When double vlan enabled, a packet with a single VLAN is treated as a packet with outer VLAN only. Otherwise, a single

RE: [PATCH v7 1/4] net/i40e: use inline prefetch function

2024-03-27 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Wednesday, 27 March 2024 19.15 > > On Tue, Mar 26, 2024 at 11:16:10AM +0100, Morten Brørup wrote: > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > Sent: Wednesday, 20 March 2024 23.02 > > > > > > Don't direc

[PATCH v8 1/4] net/i40e: use inline prefetch function

2024-03-27 Thread Tyler Retzlaff
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 Reviewed-by: Morten Brørup --- drivers/net/i40e/i40e_rxtx_vec_avx512.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH v8 0/4] remove use of RTE_MARKER fields in libraries

2024-03-27 Thread Tyler Retzlaff
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

[PATCH v8 2/4] mbuf: remove rte marker fields

2024-03-27 Thread Tyler Retzlaff
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

[PATCH v8 4/4] cryptodev: remove rte marker fields

2024-03-27 Thread Tyler Retzlaff
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 Reviewed-by: Morten Brørup --- doc/guides/rel_

[PATCH v8 3/4] security: remove rte marker fields

2024-03-27 Thread Tyler Retzlaff
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 Reviewed-by: Morten Brørup --- doc/guides/rel_

Re: [PATCH v7 3/4] security: remove rte marker fields

2024-03-27 Thread Tyler Retzlaff
On Tue, Mar 26, 2024 at 11:28:21AM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Wednesday, 20 March 2024 23.02 > > > > RTE_MARKER typedefs are a GCC extension unsupported by MSVC. Remove > > RTE_MARKER fields from rte_mbuf struct. > > > > Ma

Re: [PATCH] doc: clarify ipsec-secgw documentation on TSO

2024-03-27 Thread Thomas Monjalon
27/03/2024 12:10, Mcnamara, John: > > From: Medvedkin, Vladimir > > Updated ipsec-secgw user guide to reflect that ipsec-secgw only supports > > TSO for TCP/IP at this time. > > Acked-by: John McNamara Applied, thanks.

Re: [PATCH v1] net/i40e: updated 24.03 recommended matching list

2024-03-27 Thread Thomas Monjalon
27/03/2024 09:21, Mcnamara, John: > > > Subject: [PATCH v1] net/i40e: updated 24.03 recommended matching list > > Acked-by: John McNamara Applied and squashed with ice one.

Re: [PATCH v1] net/ice: updated 24.03 recommended matching list

2024-03-27 Thread Thomas Monjalon
27/03/2024 09:21, Mcnamara, John: > > > Subject: [PATCH v1] net/ice: updated 24.03 recommended matching list > > > Acked-by: John McNamara Applied and squashed with i40e one.

[PATCH v3 00/45] use stdatomic API

2024-03-27 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 v3 02/45] net/ixgbe: use rte stdatomic API

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/ixgbe/ixgbe_ethdev.c | 14 -- drivers/net/ixgbe/ixgbe_ethdev.h | 2 +- drivers/net/ixgbe/ix

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/mlx5/linux/mlx5_ethdev_os.c | 6 +- drivers/net/mlx5/linux/mlx5_verbs.c | 9 ++- drivers/net/mlx

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/iavf/iavf.h | 16 drivers/net/iavf/iavf_rxtx.c | 4 ++-- driver

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/ice/base/ice_osdep.h | 4 ++-- drivers/net/ice/ice_dcf.c| 6 +++--- drivers/net/ice/ice_dcf.h

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/i40e/i40e_ethdev.c| 4 ++-- drivers/net/i40e/i40e_rxtx.c | 6 +++--- drivers/net/i40e/i

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/hns3/hns3_cmd.c | 18 ++-- drivers/net/hns3/hns3_dcb.c | 2 +- drivers/net/hns3/hns

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/bnxt/bnxt_cpr.h | 4 ++-- drivers/net/bnxt/bnxt_rxq.h | 2 +- drivers/net/bnxt/bnx

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/cpfl/cpfl_ethdev.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/n

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/octeon_ep/cnxk_ep_rx.h| 5 +++-- drivers/net/octeon_ep/cnxk_ep_tx.c| 5 +++-- drivers/net/octeon

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/af_xdp/rte_eth_af_xdp.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) dif

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/octeontx/octeontx_ethdev.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/d

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/cxgbe/clip_tbl.c | 12 ++-- drivers/net/cxgbe/clip_tbl.h | 2 +- drivers/net/cxgbe/cxgbe_ma

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/gve/base/gve_osdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/memif/memif.h | 4 ++-- drivers/net/memif/rte_eth_memif.c | 50 +++-

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/virtio/virtio_ring.h | 4 +-- drivers/net/virtio/virtio_user/virtio_user_dev.c | 12 +++

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/thunderx/nicvf_rxtx.c | 9 + drivers/net/thunderx/nicvf_struct.h | 4 ++-- 2 files changed, 7

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/hinic/hinic_pmd_rx.c | 2 +- drivers/net/hinic/hinic_pmd_rx.h | 2 +- 2 files changed, 2 insertions(+),

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/idpf/idpf_ethdev.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/ne

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/qede/base/bcm_osal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/n

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/ring/rte_eth_ring.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/vdpa/mlx5/mlx5_vdpa.c | 24 +- drivers/vdpa/mlx5/mlx5_vdpa.h | 14 +-

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/raw/ifpga/ifpga_rawdev.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/driver

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/event/opdl/opdl_ring.c | 80 +- 1 file changed, 40 insertions(+), 40

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/event/octeontx/timvf_evdev.h | 8 drivers/event/octeontx/timvf_worker.h | 36 +---

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

2024-03-27 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 Acked-by: Stephen Hemminger Reviewed-by: Mattias Rönnblom --- drivers/event/dsw/dsw_evdev.h | 6 +++--- drivers/event/dsw/dsw_event.c | 47 +

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/dma/skeleton/skeleton_dmadev.c | 5 +++-- drivers/dma/skeleton/skeleton_dmadev.h | 2 +- 2 files changed, 4

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/crypto/octeontx/otx_cryptodev_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/common/mlx5/linux/mlx5_nl.c | 5 +-- drivers/common/mlx5/mlx5_common.h | 2 +- drivers/common/ml

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/common/idpf/idpf_common_device.h | 6 +++--- drivers/common/idpf/idpf_common_rxtx.c| 14 ++

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/common/iavf/iavf_impl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/comm

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/baseband/acc/rte_acc100_pmd.c | 36 +-- drivers/baseband/acc/rte_vrb_pmd.c| 46 +

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/txgbe/txgbe_ethdev.c| 12 +++- drivers/net/txgbe/txgbe_ethdev.h| 2 +- drivers/net/txgb

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/event/dlb2/dlb2.c| 34 +- drivers/event/dlb2/dlb2_priv.h | 15

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/net/null/rte_eth_null.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dri

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/dma/idxd/idxd_internal.h | 2 +- drivers/dma/idxd/idxd_pci.c | 9 + 2 files changed, 6 insertio

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/crypto/ccp/ccp_dev.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/cry

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/common/cpt/cpt_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/c

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

2024-03-27 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 Acked-by: Stephen Hemminger --- examples/bbdev_app/main.c | 13 + examples/l2fwd-event/l2fwd_common.h

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

2024-03-27 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 Acked-by: Stephen Hemminger --- drivers/bus/vmbus/rte_vmbus_reg.h | 2 +- drivers/bus/vmbus/vmbus_channel.c | 8 2 files changed, 5 inserti

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

2024-03-27 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 Acked-by: Stephen Hemminger --- app/dumpcap/main.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/dumpcap/main

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

2024-03-27 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 Acked-by: Stephen Hemminger --- app/test/test_bpf.c| 46 - app/test/test_distributor.c| 114 +++

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

2024-03-27 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 Acked-by: Stephen Hemminger --- app/test-eventdev/test_order_atq.c| 4 ++-- app/test-eventdev/test_order_common.c | 5 +++-- app/test-eventdev/t

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

2024-03-27 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 Acked-by: Stephen Hemminger --- app/test-crypto-perf/cperf_test_latency.c| 6 +++--- app/test-crypto-perf/cperf_test_pmd_cyclecount.c | 10

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

2024-03-27 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 Acked-by: Stephen Hemminger --- app/test-compress-perf/comp_perf_test_common.h | 2 +- app/test-compress-perf/comp_perf_test_cyclecount.c | 4

  1   2   >