Replace the use of gcc builtin __atomic_xxx intrinsics with
corresponding rte_atomic_xxx optional stdatomic API
Signed-off-by: Tyler Retzlaff
---
lib/ethdev/ethdev_driver.h | 16
lib/ethdev/ethdev_private.c | 6 +++---
lib/ethdev/rte_ethdev.c | 24 --
Replace the use of gcc builtin __atomic_xxx intrinsics with
corresponding rte_atomic_xxx optional stdatomic API
Signed-off-by: Tyler Retzlaff
---
lib/rcu/rte_rcu_qsbr.c | 48 +--
lib/rcu/rte_rcu_qsbr.h | 68 +-
2 fil
Replace the use of gcc builtin __atomic_xxx intrinsics with
corresponding rte_atomic_xxx optional stdatomic API
Signed-off-by: Tyler Retzlaff
---
lib/pdump/rte_pdump.c | 14 +++---
lib/pdump/rte_pdump.h | 8
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/lib/p
Replace the use of gcc builtin __atomic_xxx intrinsics with
corresponding rte_atomic_xxx optional stdatomic API
Signed-off-by: Tyler Retzlaff
---
lib/distributor/distributor_private.h | 4 +--
lib/distributor/rte_distributor.c | 54 +--
2 files changed, 29 in
Replace the use of gcc builtin __atomic_xxx intrinsics with
corresponding rte_atomic_xxx optional stdatomic API
Signed-off-by: Tyler Retzlaff
---
lib/stack/rte_stack.h| 2 +-
lib/stack/rte_stack_lf_c11.h | 24
lib/stack/rte_stack_lf_generic.h | 18 ++
Replace the use of gcc builtin __atomic_xxx intrinsics with
corresponding rte_atomic_xxx optional stdatomic API
Signed-off-by: Tyler Retzlaff
---
lib/hash/rte_cuckoo_hash.c | 116 ++---
lib/hash/rte_cuckoo_hash.h | 6 +--
2 files changed, 61 insertions(+
Replace the use of gcc builtin __atomic_xxx intrinsics with
corresponding rte_atomic_xxx optional stdatomic API
Signed-off-by: Tyler Retzlaff
---
lib/telemetry/telemetry.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/lib/telemetry/telemetry.c b/lib/telem
Replace the use of gcc builtin __atomic_xxx intrinsics with
corresponding rte_atomic_xxx optional stdatomic API
Signed-off-by: Tyler Retzlaff
---
lib/timer/rte_timer.c | 50 +-
lib/timer/rte_timer.h | 6 +++---
2 files changed, 28 insertions(+), 2
Replace the use of gcc builtin __atomic_xxx intrinsics with
corresponding rte_atomic_xxx optional stdatomic API
Signed-off-by: Tyler Retzlaff
---
drivers/net/mlx5/mlx5_hws_cnt.h | 2 +-
lib/ring/rte_ring_c11_pvt.h | 33 +
lib/ring/rte_ring_core.h
On Mon, Oct 16, 2023 at 01:57:11PM -0700, Sivaprasad Tummala wrote:
> Currently sw eventdev pmd does not support ``rte_power_monitor`` api.
> This patch adds support by adding monitor callback that is called
> whenever we enter sleep state and need to check if it is time to
> wake up.
>
> Signed-o
On Mon, Oct 16, 2023 at 01:57:12PM -0700, Sivaprasad Tummala wrote:
> Add optional support for inline event processing within pmd dequeue
> call. For a dequeue callback, events dequeued from the event port
> were passed them to a callback function if configured, to allow
> additional processing. e.
On Mon, Oct 16, 2023 at 01:57:14PM -0700, Sivaprasad Tummala wrote:
> Add eventdev support to enable power saving when no events
> are arriving. It is based on counting the number of empty
> polls and, when the number reaches a certain threshold, entering
> an architecture-defined optimized power s
In order to clone the traffic from FDB to NIC TIR, user can set
port representor action as mirror clone destination. In that case
cloned traffic will be moved to E-Switch manager root table, and
goes to software TIR.
This series adds the port representor support to mirror action.
This series depen
The packets handled by port representor action will be steered to
E-Switch manager and received by software.
This commit adds port representor action.
Signed-off-by: Suanming Mou
---
doc/guides/nics/mlx5.rst| 6
drivers/net/mlx5/mlx5.h | 2 ++
drivers/net/mlx5/mlx5_flow.h
In order to clone the traffic from FDB to NIC TIR, user can set
port representor action as mirror clone destination. In that case
cloned traffic will be moved to E-Switch manager root table, and
goes to software TIR.
This commit adds the port representor support to mirror action.
Signed-off-by: S
This commit adds the missing port representor support as sample
destination.
Signed-off-by: Suanming Mou
---
app/test-pmd/cmdline_flow.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 6c8571154e..0d521159e9 100644
--- a/app/tes
Currently, during a PF to VF reset due to an action such as changing
trust settings on a VF, the DPDK application running with iavf PMD
loses connectivity, and the only solution is to reset the DPDK
application.
Instead of forcing a reset of the DPDK application to restore
connectivity, the iavf P
Currently, during a PF to VF reset due to an action such as changing
trust settings on a VF, the DPDK application running with iavf PMD
loses connectivity, and the only solution is to reset the DPDK
application.
Instead of forcing a reset of the DPDK application to restore
connectivity, the iavf P
The ".dev_close" should not call rte_eth_dev_release_port() API
directly, the rte_eth_dev_close() API will do it.
Fixes: 831c44ab7869 ("net/nfp: add flower PF related routines")
Cc: chaoyong...@corigine.com
Cc: sta...@dpdk.org
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zh
From: Beilei Xing
Fix resource leak reported in coverity scan.
Coverity issue: 403265
Fixes: 2d823ecd671c ("net/cpfl: support device initialization")
Fixes: 989465ac51ea ("net/cpfl: support probe again")
Cc: sta...@dpdk.org
Signed-off-by: Beilei Xing
---
drivers/net/cpfl/cpfl_ethdev.c | 5 +++
[AMD Official Use Only - General]
> -Original Message-
> From: Tyler Retzlaff
> Sent: Tuesday, October 17, 2023 5:21 AM
> To: Tummala, Sivaprasad
> Cc: jerinjac...@gmail.com; harry.van.haa...@intel.com;
> anatoly.bura...@intel.com; dev@dpdk.org; Yigit, Ferruh ;
> david.h...@intel.com
> S
On Tue, Oct 17, 2023 at 2:27 AM Sivaprasad Tummala
wrote:
>
> Add eventdev support to enable power saving when no events
> are arriving. It is based on counting the number of empty
> polls and, when the number reaches a certain threshold, entering
> an architecture-defined optimized power state th
From: Beilei Xing
Add all supported features in idpf.ini and cpfl.ini.
Signed-off-by: Beilei Xing
---
V2 changes:
- Add all supported features, not just RSS.
doc/guides/nics/features/cpfl.ini | 10 ++
doc/guides/nics/features/idpf.ini | 9 +
2 files changed, 19 insertions(+)
This patch series aims to add the NFP vDPA PMD, we also grab the common
logic into the `drivers/common/nfp` directory.
Chaoyong He (25):
drivers: introduce the NFP common library
net/nfp: make VF PMD using of NFP common module
net/nfp: rename common module name
net/nfp: rename ctrl module
A new NFP vdpa PMD will be added to support vdpa operations by NFP
adapters.
This vdpa PMD share some logic with the net/nfp PMD. So create a new
common library in drivers/common for NFP PMDs.
We import a 'nfp_class_driver' layer and which can support various
device type in addition to the ethern
Modify the logic of NFP VF PMD, make it using of the NFP common module
and link into the 'nfp_drivers_list'.
Signed-off-by: Chaoyong He
Signed-off-by: Shujing Dong
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/net/nfp/meson.build | 6 +-
drivers/net/nfp/nfp_ethdev_vf.c | 1
Rename the 'nfp_common' module into 'nfp_net_common' module, because
which is more suitable and we will add 'nfp_common' module in the
'drivers/common/nfp' directory.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/net/nfp/flower/nfp_flower.h
Rename the 'nfp_ctrl' module into 'nfp_net_ctrl' module, because which
is more suitable and we will add 'nfp_common_ctrl' module in the
'drivers/common/nfp' directory.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/net/nfp/meson.build| 2
Extract the 'cap' data field into the super class, ready for the
upcoming common library.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/net/nfp/flower/nfp_flower.c | 6 +-
drivers/net/nfp/nfd3/nfp_nfd3_dp.c | 10 +--
drivers/net/nfp/nfdk/nfp_nfdk_dp.c |
Extract the 'qcp_cfg' data field into the super class, prepare for the
upcoming common library.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/net/nfp/nfp_net_common.c | 8
drivers/net/nfp/nfp_net_common.h | 2 +-
2 files changed, 5 insertions(+),
Extract the 'ctrl_bar' data filed into the super class, prepare for the
upcoming common library.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/net/nfp/flower/nfp_flower.c | 8
drivers/net/nfp/nfp_ethdev.c| 14 +++---
drivers/net/n
Extract the 'ctrl' data filed into the super class, prepare for the
upcoming common library.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/net/nfp/flower/nfp_flower.c | 8 ++---
drivers/net/nfp/nfd3/nfp_nfd3_dp.c | 2 +-
drivers/net/nfp/nfdk/nfp_nfdk_dp
Change the parameter of some APIs from 'struct nfp_net_hw' into the
super class 'struct nfp_hw', prepare for the upcoming common library.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/net/nfp/flower/nfp_flower.c | 24 ++--
.../net/nfp/flower/nfp
Extract the 'reconfig_lock' data field into the super class, also change
the parameter of the related APIs, prepare for the upcoming common
library.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/net/nfp/flower/nfp_flower.c | 50 +
drivers/net/nfp/
Extract the 'mac_addr' data filed into the super class, prepare for the
upcoming common library.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/net/nfp/nfp_ethdev.c | 14 +++---
drivers/net/nfp/nfp_ethdev_vf.c | 18 +-
drivers/n
Rename parameter 'hw' into 'net_hw' in the related logic, to make the
name more accurate.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/net/nfp/flower/nfp_flower.c | 8 +-
drivers/net/nfp/nfp_ethdev.c| 86 ++---
drivers/net/nfp/n
Add the common ctrl module.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/common/nfp/nfp_common_ctrl.h | 374 +++
drivers/net/nfp/nfp_net_ctrl.h | 365 +-
2 files changed, 375 insertions(+), 364 deletio
Add the nfp common module in the nfp common library.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/common/nfp/meson.build | 3 +-
drivers/common/nfp/nfp_common.c | 133 ++
drivers/common/nfp/nfp_common.h | 227
Move the queue enable/disable logic to the common library.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/common/nfp/nfp_common.c | 49
drivers/common/nfp/nfp_common.h | 7 +
drivers/common/nfp/version.map | 2 ++
Move the platform module to the common library.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/{net/nfp/nfpcore => common/nfp}/nfp_platform.h | 0
drivers/net/nfp/nfdk/nfp_nfdk_dp.c | 2 +-
drivers/net/nfp/nfp_net_ctrl.c
Move the device module to the common library.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/common/nfp/meson.build| 1 +
drivers/{net/nfp/nfpcore => common/nfp}/nfp_dev.c | 0
drivers/{net/nfp/nfpcore => common/nfp}/nfp_dev.h | 3 +++
d
Introduce the very basic NFP vDPA library.
Signed-off-by: Shujing Dong
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/vdpa/meson.build| 1 +
drivers/vdpa/nfp/meson.build| 16
drivers/vdpa/nfp/nfp_vdpa_log.c | 9 +
dri
Add the basic framework of vDPA PMD.
Signed-off-by: Chaoyong He
Signed-off-by: Shujing Dong
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/common/nfp/nfp_common_pci.c | 1 +
drivers/common/nfp/nfp_common_pci.h | 1 +
drivers/vdpa/nfp/meson.build| 7 ++
drivers/vdpa/nfp
Add the logic of remap PCI memory.
Signed-off-by: Chaoyong He
Signed-off-by: Shujing Dong
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/vdpa/nfp/nfp_vdpa.c | 65 -
1 file changed, 64 insertions(+), 1 deletion(-)
diff --git a/drivers/vdpa/nfp/nfp
Add the hardware initialize logic.
Signed-off-by: Chaoyong He
Signed-off-by: Shujing Dong
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/vdpa/nfp/meson.build | 1 +
drivers/vdpa/nfp/nfp_vdpa.c | 10 ++
drivers/vdpa/nfp/nfp_vdpa_core.c | 54 +
Add the vDPA datapath update logic.
Signed-off-by: Chaoyong He
Signed-off-by: Shujing Dong
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/common/nfp/nfp_common_ctrl.h | 1 +
drivers/vdpa/nfp/nfp_vdpa.c | 315 +++
drivers/vdpa/nfp/nfp_vdpa_core.c
Add the logic to process vDPA notify relay.
Signed-off-by: Chaoyong He
Signed-off-by: Shujing Dong
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/vdpa/nfp/nfp_vdpa.c | 155 +++
drivers/vdpa/nfp/nfp_vdpa_core.c | 61
drivers/vdpa/nfp/nfp
Implement the corresponding nfp vDPA opetation functions.
Signed-off-by: Shujing Dong
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/vdpa/nfp/nfp_vdpa.c | 213
1 file changed, 213 insertions(+)
diff --git a/drivers/vdp
Add the document for nfp common library and vDPA PMD.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
MAINTAINERS| 8
doc/guides/platform/index.rst | 1 +
doc/guides/platform/nfp.rst| 30 ++
doc/gui
When the packets is sent in packed mode, and the packets data and
virtio-header are divided into two desc, set the next flag of
virtio-header desc
Bugzilla ID: 1295
Fixes: 892dc798fa9c ("net/virtio: implement Tx path for packed queues")
Signed-off-by: Fengjiang Liu
---
drivers/net/virtio/virtqu
> -Original Message-
> From: Jerin Jacob
> Sent: Monday, October 16, 2023 2:31 PM
> To: Sunil Kumar Kori
> Cc: Thomas Monjalon ; Rakesh Kudurumalla
> ; dev@dpdk.org
> Subject: [EXT] Re: [PATCH v8 01/12] app/graph: add application framework
> to read CLI
>
> External Email
>
> --
> -Original Message-
> From: Jerin Jacob
> Sent: Monday, October 16, 2023 2:34 PM
> To: Sunil Kumar Kori
> Cc: Rakesh Kudurumalla ; dev@dpdk.org
> Subject: [EXT] Re: [PATCH v8 02/12] app/graph: add telnet connectivity
> framework
>
> External Email
>
> --
> -Original Message-
> From: Jerin Jacob
> Sent: Monday, October 16, 2023 2:39 PM
> To: Sunil Kumar Kori
> Cc: Rakesh Kudurumalla ; dev@dpdk.org
> Subject: [EXT] Re: [PATCH v8 04/12] app/graph: add mempool command line
> interfaces
>
> External Email
>
>
> -Original Message-
> From: Bruce Richardson
> Sent: Monday, October 16, 2023 7:41 PM
> To: Jerin Jacob
> Cc: Sunil Kumar Kori ; Rakesh Kudurumalla
> ; dev@dpdk.org
> Subject: [EXT] Re: [PATCH v8 05/12] app/graph: add ethdev command line
> interfaces
>
> External Email
>
>
> -Original Message-
> From: Jerin Jacob
> Sent: Monday, October 16, 2023 9:18 PM
> To: Sunil Kumar Kori
> Cc: Rakesh Kudurumalla ; dev@dpdk.org
> Subject: [EXT] Re: [PATCH v8 06/12] app/graph: add ipv4_lookup command
> line interfaces
>
> External Email
>
>
On Mon, Oct 16, 2023 at 9:07 PM David Marchand
wrote:
>
> On Mon, Oct 16, 2023 at 8:53 PM Tyler Retzlaff
> wrote:
> >
> > We are temporarily exposed while the CI is enabled that tests
> > CC=clang && -Denable_stdatomic.
> >
> > In the meantime two mistakes have been found so fix them to allow
> >
101 - 156 of 156 matches
Mail list logo