[PATCH v1 6/6] doc: announce TxPP support for E830 adapters

2025-06-06 Thread Soumyadeep Hore
E830 adapters currently support Tx Time based queues. Signed-off-by: Soumyadeep Hore --- doc/guides/nics/ice.rst | 16 1 file changed, 16 insertions(+) diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst index 77985ae5a2..73c5477946 100644 --- a/doc/guides/nics/ice.r

[PATCH v1 5/6] net/intel: add AVX512 Support for TxPP

2025-06-06 Thread Soumyadeep Hore
Tx Time based queues are supported using AVX512 vector. Signed-off-by: Soumyadeep Hore --- drivers/net/intel/ice/ice_rxtx_vec_avx512.c | 205 +++- 1 file changed, 203 insertions(+), 2 deletions(-) diff --git a/drivers/net/intel/ice/ice_rxtx_vec_avx512.c b/drivers/net/intel/ice/

[PATCH v1 4/6] net/intel: add AVX2 Support for TxPP

2025-06-06 Thread Soumyadeep Hore
Tx Time based queues are supported using AVX2 vector. Signed-off-by: Soumyadeep Hore --- drivers/net/intel/ice/ice_rxtx_vec_avx2.c | 134 +++- drivers/net/intel/ice/ice_rxtx_vec_common.h | 17 +++ 2 files changed, 149 insertions(+), 2 deletions(-) diff --git a/drivers/net/int

[PATCH v1 3/6] net/intel: add TxPP Support for E830

2025-06-06 Thread Soumyadeep Hore
Add support for Tx Time based queues. This is used to schedule packets based on Tx timestamp. Signed-off-by: Soumyadeep Hore --- drivers/net/intel/common/tx.h | 14 ++ drivers/net/intel/ice/base/ice_lan_tx_rx.h | 4 + drivers/net/intel/ice/ice_ethdev.c | 3 +- drivers/n

[PATCH v1 2/6] net/intel: add read clock feature in ICE

2025-06-06 Thread Soumyadeep Hore
Adding eth_ice_read_clock() feature to get current time for scheduling Packets based on Tx time. Signed-off-by: Soumyadeep Hore --- drivers/net/intel/ice/ice_ethdev.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/intel/ice/ice_ethdev.c b/drivers/net/intel/ice/ic

[PATCH v1 1/6] net/intel: update E830 Tx Time Queue Context Structure

2025-06-06 Thread Soumyadeep Hore
From: Paul Greenwalt Updated the Tx Time Queue Context Structure to align with HAS. Signed-off-by: Soumyadeep Hore Signed-off-by: Paul Greenwalt --- drivers/net/intel/ice/base/ice_common.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/net

[PATCH v1 0/6] Add TxPP Support for E830

2025-06-06 Thread Soumyadeep Hore
Added TxPP support for E830 adapters. Paul Greenwalt (1): net/intel: update E830 Tx Time Queue Context Structure Soumyadeep Hore (5): net/intel: add read clock feature in ICE net/intel: add TxPP Support for E830 net/intel: add AVX2 Support for TxPP net/intel: add AVX512 Support for TxPP

[PATCH v1 3/3] net/zxdh: modify RSS related issues

2025-06-06 Thread Junlong Wang
modify rss related issues in testing process. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 1 + drivers/net/zxdh/zxdh_ethdev_ops.c | 66 +++--- drivers/net/zxdh/zxdh_ethdev_ops.h | 4 +- drivers/net/zxdh/zxdh_msg.c| 12 +++--- drivers/net

[PATCH v1 2/3] net/zxdh: modify some VLAN related issues

2025-06-06 Thread Junlong Wang
modify some vlan related issues, and provided vlan tpid set ops. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 10 +- drivers/net/zxdh/zxdh_ethdev_ops.c | 39 +++- drivers/net/zxdh/zxdh_ethdev_ops.h | 1 + drivers/net/zxdh/zxdh_msg.c| 58 ++

[PATCH v1 1/3] net/zxdh: modify some MAC config issues

2025-06-06 Thread Junlong Wang
modify some mac config issues, which were discovered during the testing process. Signed-off-by: Junlong Wang --- drivers/net/zxdh/meson.build | 2 +- drivers/net/zxdh/zxdh_ethdev.c | 16 + drivers/net/zxdh/zxdh_ethdev_ops.c | 36 +++--- drivers/net/

[PATCH v5 23/34] net/iavf: clean up definitions

2025-06-06 Thread Anatoly Burakov
This commit does the following cleanups: - Mark vector-PMD related definitions with IAVF_VPMD_ prefix - Create "descriptors per loop" for different vector implementations (regular for SSE, Neon, AltiVec, wide for AVX2, AVX512) - Make definitions' names match naming conventions used in other driv

[PATCH v5 00/34] Intel PMD drivers Rx cleanup

2025-06-06 Thread Anatoly Burakov
There is certain amount of duplication between different ixgbe, i40e, ice, and iavf. This patchset specifically focuses on laying groundwork for deduplicating the Rx side of things - providing common queue definitions, using common Rx descriptor formats, and some low hanging fruit in terms of Rx co

[PATCH v5 03/34] net/ixgbe: match variable names to other drivers

2025-06-06 Thread Anatoly Burakov
Currently, the ixgbe driver has variables that have the same semantics as in other drivers, but have different names. Rename these variables to match ones in other drivers: - rdt_reg_addr -> qrx_tail (Rx ring tail register address) - rx_using_sse -> vector_rx (indicates if vectorized path is enabl

[PATCH v5 27/34] net/iavf: use the common Rx queue structure

2025-06-06 Thread Anatoly Burakov
Make the iavf driver use the new common Rx queue structure. The iavf driver only supports 32-byte descriptors but they are of a common format, so replace all usages of iavf-specific descriptors with the common ones, and force the common queue structure to only use 32-byte descriptor formats for IA

[PATCH v5 32/34] net/intel: support wider x86 vectors for Rx rearm

2025-06-06 Thread Anatoly Burakov
Currently, for 32-byte descriptor format, only SSE instruction set is supported. Add implementation for AVX2 and AVX512 instruction sets. Since we are using Rx descriptor definitions from common code, we can just use the generic descriptor definition, as we only ever write the first 16 bytes of it,

[PATCH v5 34/34] net/intel: add common Tx mbuf recycle

2025-06-06 Thread Anatoly Burakov
Currently, there are duplicate implementations of Tx mbuf recycle in some drivers, specifically ixgbe and i40e. Move them into a common header. Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson --- Notes: v3 -> v4: - Use the common desc_done function to check for DD bit status

[PATCH v5 33/34] net/intel: add common Rx mbuf recycle

2025-06-06 Thread Anatoly Burakov
Currently, there are duplicate implementations of Rx mbuf recycle in some drivers, specifically ixgbe and i40e. Move them into a common header. While we're at it, also support no-IOVA-in-mbuf case. Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson --- Notes: v5: - Renamed paddr

[PATCH v5 30/34] net/iavf: use common Rx rearm code

2025-06-06 Thread Anatoly Burakov
The iavf driver has implementations of vectorized mbuf rearm code that is identical to the ones in the common code, so just use those. While we're at it, also make sure to use common definitions for things like burst size, rearm threshold, and descriptors per loop, which is currently defined separ

[PATCH v5 31/34] net/ixgbe: use common Rx rearm code

2025-06-06 Thread Anatoly Burakov
The ixgbe driver has implementations of vectorized mbuf rearm code that is identical to the ones in the common code, so just use those. Since ixgbe Rx descriptors are always 16-byte wide, force using 16-byte definitions in the common headers with a define flag. While we're at it, also make sure t

[PATCH v5 29/34] net/i40e: use common Rx rearm code

2025-06-06 Thread Anatoly Burakov
The i40e driver has an implementation of vectorized mbuf rearm code that is identical to the one in the common code, so just use that. In addition, the i40e has implementations of Rx queue rearm for Neon and AltiVec instruction sets, so create a common headers for each of the instruction sets, and

[PATCH v5 28/34] net/intel: generalize vectorized Rx rearm

2025-06-06 Thread Anatoly Burakov
There is certain amount of duplication between various drivers when it comes to Rx ring rearm. This patch takes implementation from ice driver as a base because it has support for no IOVA in mbuf as well as all vector implementations, and moves them to a common file. While we're at it, also make s

[PATCH v5 26/34] net/ice: use the common Rx queue structure

2025-06-06 Thread Anatoly Burakov
Make the ice driver use the new common Rx queue structure. In addition to 16-byte and 32-byte descriptors supported by other drivers which we adjust ice driver to use where necessary, ice driver also supports flex descriptor format that is also shared by some of the other drivers, so add a common

[PATCH v5 04/34] net/i40e: match variable name to other drivers

2025-06-06 Thread Anatoly Burakov
Currently, the i40e driver has a variable that has the same semantics as in other drivers, but has a different name. Rename `rx_using_sse` to `vector_rx` to match it to other drivers. Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson --- Notes: v3 -> v4: - Make this commit separ

[PATCH v5 25/34] net/i40e: use the common Rx queue structure

2025-06-06 Thread Anatoly Burakov
Make the i40e driver use the new common Rx queue structure. The i40e driver supports 16-byte and 32-byte Rx descriptor formats, which is shared by other drivers. To have fewer driver-specific definitions in common structures, add a header file defining shared descriptor formats, and switch between

[PATCH v5 24/34] net/ixgbe: create common Rx queue structure

2025-06-06 Thread Anatoly Burakov
In preparation for deduplication effort, generalize the Rx queue structure. The entire Rx queue structure is moved to common/rx.h, clarifying the comments where necessary, and separating common parts from ixgbe-specific parts. Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson --- Notes

[PATCH v5 20/34] net/ixgbe: clean up definitions

2025-06-06 Thread Anatoly Burakov
This patch does the following cleanups: - Remove RTE_ and RTE_PMD_ prefix from internal definitions - Mark vector-PMD related definitions with IXGBE_VPMD_ prefix Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson --- Notes: v3 -> v4: - Add this commit drivers/net/intel/ixgbe/i

[PATCH v5 22/34] net/ice: clean up definitions

2025-06-06 Thread Anatoly Burakov
This commit does the following cleanups: - Mark vector-PMD related definitions with ICE_VPMD_ prefix - Remove unused definitions - Create "descriptors per loop" for different vector implementations (regular for SSE, Neon, wide for AVX2, AVX512) Signed-off-by: Anatoly Burakov Acked-by: Bruce Ri

[PATCH v5 21/34] net/i40e: clean up definitions

2025-06-06 Thread Anatoly Burakov
This commit does the following cleanups: - Remove RTE_ and RTE_PMD_ prefix from internal definitions - Mark vector-PMD related definitions with I40E_VPMD_ prefix - Remove unused definitions - Create "descriptors per loop" for different vector implementations (regular for SSE, Neon, AltiVec, wide

[PATCH v5 19/34] net/ixgbe: add a desc done function

2025-06-06 Thread Anatoly Burakov
Add a function to check DD bit status, and use it everywhere we do these checks. Signed-off-by: Anatoly Burakov --- Notes: v5: - Add this commit drivers/net/intel/ixgbe/ixgbe_rxtx.c| 8 ++-- drivers/net/intel/ixgbe/ixgbe_rxtx_vec_common.c | 4 +--- drivers/net/intel/i

[PATCH v5 18/34] net/ixgbe: replace always-true check

2025-06-06 Thread Anatoly Burakov
There is an option `RTE_PMD_PACKET_PREFETCH` in `rte_config.h` that is always set to 1 by default, and that controls some prefetch behavior in the driver. However, there's another prefetch behavior that is controlled by `RTE_PMD_USE_PREFETCH`, which is always defined unconditionally (literally usin

[PATCH v5 17/34] net/ixgbe: simplify vector PMD compilation

2025-06-06 Thread Anatoly Burakov
Currently, vector code is guarded by platform checks, and unused functions are implemented using stubs. Simplify things the following way: - Define a compilation flag `IXGBE_VPMD_SUPPORTED` that will enable or disable vector code support regardless of platform - Wrap platform checks with said d

[PATCH v5 16/34] net/ixgbe: move vector Rx/Tx code to vec common

2025-06-06 Thread Anatoly Burakov
There is no reason why bits and pieces of vectorized code should be defined in `ixgbe_rxtx.c`, so move them to the vec common file. Signed-off-by: Anatoly Burakov --- drivers/net/intel/ixgbe/ixgbe_rxtx.c | 38 --- drivers/net/intel/ixgbe/ixgbe_rxtx.h | 6 --- .

[PATCH v5 14/34] net/ixgbe: rename vector txq free mbufs

2025-06-06 Thread Anatoly Burakov
There is no reason why scalar and vector implementations of tx free mbufs function have to share the same name. Fix it. Signed-off-by: Anatoly Burakov --- Notes: v5: - Add this commit drivers/net/intel/ixgbe/ixgbe_rxtx_vec_common.h | 2 +- drivers/net/intel/ixgbe/ixgbe_rxtx_vec_neon.c

[PATCH v5 15/34] net/ixgbe: refactor vector common code

2025-06-06 Thread Anatoly Burakov
Each vector driver provides its own Rx queue setup etc. functions, but actually they're entirely identical, and can be merged. Rename the `ixgbe_recycle_mbufs_vec_common.c` to `ixgbe_rxtx_vec_common.c` and move all common code there from each respective vector driver. Signed-off-by: Anatoly Burako

[PATCH v5 12/34] net/ixgbe: make context desc creation non-static

2025-06-06 Thread Anatoly Burakov
We will need this function in multiple files, so make it non-static. Signed-off-by: Anatoly Burakov --- Notes: v5: - Add this commit drivers/net/intel/ixgbe/ixgbe_rxtx.c | 3 +-- drivers/net/intel/ixgbe/ixgbe_rxtx.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/

[PATCH v5 09/34] net/ixgbe: simplify packet type support check

2025-06-06 Thread Anatoly Burakov
There are no differences between scalar and vector paths when it comes to packet type support, and the only data path currently not covered by the check is the VF representor path, because it's not meant to be used directly anyway. Simplify the check to reflect that fact. Signed-off-by: Anatoly Bu

[PATCH v5 10/34] net/ixgbe: adjust indentation

2025-06-06 Thread Anatoly Burakov
There is wrong indentation in `ixgbe_set_tx_function`. Fix it. Signed-off-by: Anatoly Burakov --- Notes: v5: - Add this commit drivers/net/intel/ixgbe/ixgbe_rxtx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/intel/ixgbe/ixgbe_rxtx.c b/drivers/n

[PATCH v5 11/34] net/ixgbe: remove unnecessary platform checks

2025-06-06 Thread Anatoly Burakov
Some of the things that are only used by vector drivers is guarded by platform define checks, but there is actually no real reason to have those checks, because this code won't run anyway. Remove all of the unnecessary platform checks, and provide function stubs where necessary to make compilation

[PATCH v5 13/34] net/ixgbe: decouple scalar and vec rxq free mbufs

2025-06-06 Thread Anatoly Burakov
Currently, vector Rx queue release mbufs function is only called from inside the scalar variant. Decouple them to allow both to be defined separately from each other, and provide a common function that picks between the two when necessary. Signed-off-by: Anatoly Burakov --- Notes: v5: -

[PATCH v5 08/34] net/iavf: remove 16-byte descriptor define

2025-06-06 Thread Anatoly Burakov
There are no physical functions that support having VF use 16-byte descriptors, so remove all 16-byte descriptor related code from the driver. Suggested-by: Bruce Richardson Signed-off-by: Anatoly Burakov --- Notes: v4 -> v5: - Remove 16-byte descriptor related codepaths v3 ->

[PATCH v5 07/34] net/ice: rename 16-byte descriptor define

2025-06-06 Thread Anatoly Burakov
In preparation for having a common definition for 16-byte and 32-byte Rx descriptors, rename RTE_LIBRTE_ICE_16BYTE_RX_DESC to RTE_NET_INTEL_USE_16BYTE_DESC. Suggested-by: Bruce Richardson Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson --- Notes: v3 -> v4: - Add this commit

[PATCH v5 06/34] net/i40e: rename 16-byte descriptor define

2025-06-06 Thread Anatoly Burakov
In preparation for having a common definition for 16-byte and 32-byte Rx descriptors, rename `RTE_LIBRTE_I40E_16BYTE_RX_DESC` to `RTE_NET_INTEL_USE_16BYTE_DESC``. Suggested-by: Bruce Richardson Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson --- Notes: v3 -> v4: - Add this co

[PATCH v5 05/34] net/ice: match variable name to other drivers

2025-06-06 Thread Anatoly Burakov
Currently, the ice driver has a variable that have the same semantics as in other drivers, but has a different name. Rename `rx_ring_dma` to `rx_ring_phys_addr` for consistency with other drivers. Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson --- Notes: v3 -> v4: - Make this

[PATCH v5 01/34] net/ixgbe: remove unused field in Rx queue struct

2025-06-06 Thread Anatoly Burakov
The `rdh` (read head) field in the `ixgbe_rx_queue` struct is not used anywhere in the codebase, and can be removed. Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson --- drivers/net/intel/ixgbe/ixgbe_rxtx.c | 9 ++--- drivers/net/intel/ixgbe/ixgbe_rxtx.h | 1 - 2 files changed, 2 i

[PATCH v5 02/34] net/iavf: make IPsec stats dynamically allocated

2025-06-06 Thread Anatoly Burakov
Currently, the stats structure is directly embedded in the queue structure. We're about to move iavf driver to a common Rx queue structure, so we can't have driver-specific structures that aren't pointers, inside the common queue structure. To prepare, we replace direct embedding into the queue str

Re: [PATCH v17 0/4] add support for self monitoring

2025-06-06 Thread Tomasz Duszynski
Hi Thomas, >Hello, > >17/01/2025 10:00, Tomasz Duszynski: >> lib/pmu/meson.build | 22 + >> lib/pmu/pmu_arm64.c | 94 >> lib/pmu/pmu_private.h| 32 ++ >> lib/pmu/rte_pmu.c| 537 +++ >>

Re: [PATCH 02/12] net/txgbe: refactor FDIR filter to improve functionality

2025-06-06 Thread Stephen Hemminger
On Fri, 6 Jun 2025 16:01:07 +0800 Jiawen Wu wrote: > There were some defects in the original configuration for flow director > filter. Now make the following improvements: > > 1) Fix incorrect parsing to ntuple filter when set the pattern likes: >flow create ... ipv4 / udp dst is ... / raw

Re: [PATCH v9 1/3] net/macb: add new poll mode driver

2025-06-06 Thread Stephen Hemminger
On Fri, 6 Jun 2025 09:06:10 + Wencheng Li wrote: > +static int macb_get_speed_info(struct rte_eth_dev *dev, char *speed_info) > +{ > + char filename[PATH_MAX]; > + char *s; > + struct macb_priv *priv = dev->data->dev_private; > + > + if (!speed_info) { > + MACB_LO

Re: [PATCH v9 0/3] net/macb: updated net macb driver

2025-06-06 Thread Stephen Hemminger
On Fri, 6 Jun 2025 09:05:14 + Wencheng Li wrote: > v9: > - Added RTE_PMD_REGISTER_KMOD_DEP macro to > declare dependency on macb_uio kernel module. > - The source link for the macb_uio module > can be found in macb.rst. > > v8: > - Delete log level reset code. > - Delete code that links t

Re: [PATCH v2 1/1] ethdev: add support to provide link type

2025-06-06 Thread Stephen Hemminger
On Fri, 6 Jun 2025 11:54:52 +0200 Morten Brørup wrote: > > From: sk...@marvell.com [mailto:sk...@marvell.com] > > Sent: Friday, 6 June 2025 11.28 > > > > From: Sunil Kumar Kori > > > > Adding link type parameter to provide the type > > of port like twisted pair, fibre etc. > > > > Also added

Re: [PATCH v2] pcapng: allow any protocol link type for the interface block

2025-06-06 Thread Stephen Hemminger
On Thu, 5 Jun 2025 17:02:37 -0600 Schneide wrote: > > +RTE_VERSION_SYMBOL(25, int, rte_pcapng_add_interface, > + (rte_pcapng_t *self, uint16_t port, > +const char *ifname, const char *ifdescr, > +cons

Re: [PATCH 0/2] Search the split vq desc and avail in RO areas

2025-06-06 Thread Maxime Coquelin
On 6/6/25 4:20 PM, David Marchand wrote: On Thu, Jun 5, 2025 at 4:55 PM Eugenio Perez Martin wrote: On Thu, Jun 5, 2025 at 1:50 PM David Marchand wrote: On Thu, Jun 5, 2025 at 1:36 PM Eugenio Pérez wrote: QEMU's shadow virtqueue and VDUSE exposes these areas as read-only. If we don't

Re: [PATCH 0/2] Search the split vq desc and avail in RO areas

2025-06-06 Thread David Marchand
On Thu, Jun 5, 2025 at 4:55 PM Eugenio Perez Martin wrote: > > On Thu, Jun 5, 2025 at 1:50 PM David Marchand > wrote: > > > > On Thu, Jun 5, 2025 at 1:36 PM Eugenio Pérez wrote: > > > > > > QEMU's shadow virtqueue and VDUSE exposes these areas as read-only. If > > > we don't change it, vhost_io

Re: [PATCH] kernel/freebsd: Allow contigmem allocation in NUMA domains

2025-06-06 Thread Bruce Richardson
On Tue, May 06, 2025 at 12:48:38PM -0500, Jake Freeland wrote: > Allow the user to specify a list of comma separated NUMA domains in > `hw.contigmem.domains` to allocate memory from. All contigmem will be > allocated in an interleaved fashion across the specified domains using > the DOMAINSET_POLIC

RE: [PATCH v2 1/1] ethdev: add support to provide link type

2025-06-06 Thread Morten Brørup
> From: sk...@marvell.com [mailto:sk...@marvell.com] > Sent: Friday, 6 June 2025 11.28 > > From: Sunil Kumar Kori > > Adding link type parameter to provide the type > of port like twisted pair, fibre etc. > > Also added an API to convert the RTE_ETH_LINK_TYPE_XXX > to a readable string. > > Si

[PATCH v3 1/2] test/dma: update the sg test to verify wrap around case

2025-06-06 Thread Vidya Sagar Velumuri
Run the sg test in a loop to verify wrap around case. Total number commands submitted to be more than the number descriptors allocated to verify the scenario. Signed-off-by: Vidya Sagar Velumuri Acked-by: Amit Prakash Shukla diff --git a/app/test/test_dmadev.c b/app/test/test_dmadev.c index 9cb

[PATCH v3 2/2] test/dma: add functions to verify zero and one fill

2025-06-06 Thread Vidya Sagar Velumuri
Add test cases to verify zero fill and one fill Signed-off-by: Vidya Sagar Velumuri Acked-by: Amit Prakash Shukla diff --git a/app/test/test_dmadev.c b/app/test/test_dmadev.c index 88c3d02fd6..82f8e82783 100644 --- a/app/test/test_dmadev.c +++ b/app/test/test_dmadev.c @@ -872,42 +872,52 @@ test

[PATCH 1/1] dts: fix deterministic doc

2025-06-06 Thread Clemens Famulla-Conrad
Previously, `capture_name` defaulted to a "dynamic" value. This caused non-deterministic documentation and could lead to overwriting capture files if the method was called multiple times within a single Python process. Bugzilla ID: 1718 Signed-off-by: Clemens Famulla-Conrad --- .mailmap

[PATCH v2 1/1] ethdev: add support to provide link type

2025-06-06 Thread skori
From: Sunil Kumar Kori Adding link type parameter to provide the type of port like twisted pair, fibre etc. Also added an API to convert the RTE_ETH_LINK_TYPE_XXX to a readable string. Signed-off-by: Nithin Dabilpuram Signed-off-by: Sunil Kumar Kori --- v1..v2: - Updated the commit message.

[PATCH v9 2/3] net/macb: add NEON vectorized Rx/Tx

2025-06-06 Thread Wencheng Li
To optimize Rx/Tx burst process, add NEON vector instructions on arm architecture. Signed-off-by: Wencheng Li --- drivers/net/macb/macb_rxtx.c | 3 + drivers/net/macb/macb_rxtx_vec_neon.c | 675 ++ drivers/net/macb/meson.build | 4 + 3 files

[PATCH v9 3/3] net/macb: add necessary docs and update related files

2025-06-06 Thread Wencheng Li
Added missing documentation in doc/guides/nics, mailmap entry, and updated MAINTAINERS file. Signed-off-by: Wencheng Li --- MAINTAINERS| 6 ++ doc/guides/nics/features/macb.ini | 19 doc/guides/nics/index.rst | 1 + doc/guides/nics/macb.rst

[PATCH v9 0/3] net/macb: updated net macb driver

2025-06-06 Thread Wencheng Li
v9: - Added RTE_PMD_REGISTER_KMOD_DEP macro to declare dependency on macb_uio kernel module. - The source link for the macb_uio module can be found in macb.rst. v8: - Delete log level reset code. - Delete code that links to external phy library. - Update document macb.rst. - Add usage instructio

[PATCH 04/12] net/txgbe: support RSS offload for SCTP port

2025-06-06 Thread Jiawen Wu
Add support for IPv4/IPv6 SCTP RSS offload. Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_regs.h | 4 drivers/net/txgbe/txgbe_ethdev.h| 2 ++ drivers/net/txgbe/txgbe_rxtx.c | 16 3 files changed, 22 insertions(+) diff --git a/drivers/net/txgbe/base/t

Re: [PATCH v12 7/7] test/graph_feature_arc: add functional tests

2025-06-06 Thread Jerin Jacob
On Thu, Jun 5, 2025 at 11:22 PM Nitin Saxena wrote: > > Added functional unit test case for verifying feature arc control plane > and fast path APIs > > How to run: > $ echo "graph_feature_arc_autotest" | ./bin/dpdk-test > > Signed-off-by: Nitin Saxena Series Acked-by: Jerin Jacob > --- > ap

Re: [PATCH v12 4/7] graph: add feature enable/disable APIs

2025-06-06 Thread Jerin Jacob
On Thu, Jun 5, 2025 at 11:42 PM Nitin Saxena wrote: > > This patch also adds feature arc fast path APIs as well along with > documentation > > Signed-off-by: Nitin Saxena Acked-by: Jerin Jacob > --- > doc/guides/prog_guide/graph_lib.rst | 180 ++ > lib/graph/graph_feature_arc.c

Re: [PATCH v12 3/7] graph: add feature arc init APIs

2025-06-06 Thread Jerin Jacob
On Thu, Jun 5, 2025 at 11:04 PM Nitin Saxena wrote: > > This patch adds feature arc init()/create()/destroy() APIs. It also add > APIs for adding feature node to an arc. > > Signed-off-by: Nitin Saxena Acked-by: Jerin Jacob

[PATCH 12/12] net/txgbe: add missing LRO flag in mbuf when LRO enabled

2025-06-06 Thread Jiawen Wu
When LRO is enabled, the driver must set the LRO flag in received aggregated packets to indicate LRO processing to upper-layer applications. Add the missing LRO flag into the ol_flags field of mbuf to fix it. Fixes: 0e484278c85f ("net/txgbe: support Rx") Cc: sta...@dpdk.org Signed-off-by: Jiawen

[PATCH 11/12] net/ngbe: restrict VLAN strip configuration on VF

2025-06-06 Thread Jiawen Wu
Fix the same issue as PF in commit baca8ec066dc ("net/ngbe: restrict configuration of VLAN strip offload"). There is a hardware limitation that Rx ring config register is not writable when Rx ring is enabled, i.e. the TXGBE_RXCFG_ENA bit is set. But disabling the ring when there is traffic will ca

[PATCH 10/12] net/txgbe: restrict VLAN strip configuration on VF

2025-06-06 Thread Jiawen Wu
Fix the same issue as PF in commit 66364efcf958 ("net/txgbe: restrict configuration of VLAN strip offload"). There is a hardware limitation that Rx ring config register is not writable when Rx ring is enabled, i.e. the TXGBE_RXCFG_ENA bit is set. But disabling the ring when there is traffic will c

[PATCH 06/12] net/txgbe: fix MAC control frame forwarding

2025-06-06 Thread Jiawen Wu
Test Failure on the case "test_pause_fwd_port_stop_start", which expect MAC control frame forwarding setting still working after port stop/start. Fix the bug to pass the test case. Fixes: 69ce8c8a4ce3 ("net/txgbe: support flow control") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/n

[PATCH 09/12] net/ngbe: fix incorrect device statistics

2025-06-06 Thread Jiawen Wu
The extend statistic "rx_undersize_errors" is incorrectly read as the counter of frames received with a length error, which names "rx_length_error". And "rx_undersize_errors" is the counter of shorter-than-64B frames received without any errors. In addition, "tx_broadcast_packets" should use rd64(

[PATCH 08/12] net/txgbe: fix incorrect device statistics

2025-06-06 Thread Jiawen Wu
The extend statistic "rx_undersize_errors" is incorrectly read as the counter of frames received with a length error, which names "rx_length_error". And "rx_undersize_errors" is the counter of shorter-than-64B frames received without any errors. In addition, "tx_broadcast_packets" should use rd64(

[PATCH 07/12] net/ngbe: fix MAC control frame forwarding

2025-06-06 Thread Jiawen Wu
Test failure on the case "test_pause_fwd_port_stop_start", which expect MAC control frame forwarding setting still working after port stop/start. Fix the bug to pass the test case. Fixes: f40e9f0e2278 ("net/ngbe: support flow control") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/ne

[PATCH 05/12] net/ngbe: support RSS offload for SCTP port

2025-06-06 Thread Jiawen Wu
Add support for IPv4/IPv6 SCTP RSS offload. Signed-off-by: Jiawen Wu --- drivers/net/ngbe/base/ngbe_regs.h | 2 ++ drivers/net/ngbe/ngbe_ethdev.h| 2 ++ drivers/net/ngbe/ngbe_rxtx.c | 8 3 files changed, 12 insertions(+) diff --git a/drivers/net/ngbe/base/ngbe_regs.h b/driver

[PATCH 02/12] net/txgbe: refactor FDIR filter to improve functionality

2025-06-06 Thread Jiawen Wu
There were some defects in the original configuration for flow director filter. Now make the following improvements: 1) Fix incorrect parsing to ntuple filter when set the pattern likes: flow create ... ipv4 / udp dst is ... / raw ... / end actions ... / end 2) Fix flex offset base to set item

[PATCH 03/12] net/txgbe: fix reserved extra FDIR headroom

2025-06-06 Thread Jiawen Wu
Remove redundant 256KB FDIR headroom reservation. FDIR headroom was already allocated in txgbe_fdir_configure() when FDIR is enabled, the second reservation resulted in 256KB less available RX packet buffer than the theoretical size. Fixes: 8bdc7882f376 ("net/txgbe: support DCB") Cc: sta...@dpdk.o

[PATCH 01/12] net/txgbe: support flow filter for VF

2025-06-06 Thread Jiawen Wu
Add 5-tuple filter for VF driver, which request PF driver to write the hardware configurations. So add new PF-VF mailbox API version 2.1 to implement it. Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_hw.c | 10 drivers/net/txgbe/base/txgbe_hw.h | 1 + drivers/net/txgbe/base

[PATCH 00/12] Fixes and supports for Wangxun NICs

2025-06-06 Thread Jiawen Wu
Fix some bugs and improve flow filters. Jiawen Wu (12): net/txgbe: support flow filter for VF net/txgbe: refactor FDIR filter to improve functionality net/txgbe: fix reserved extra FDIR headroom net/txgbe: support RSS offload for SCTP port net/ngbe: support RSS offload for SCTP port ne

Re: [PATCH v12 2/7] graph: add feature arc registrations

2025-06-06 Thread Jerin Jacob
On Thu, Jun 5, 2025 at 11:03 PM Nitin Saxena wrote: > > This patch defines RTE_GRAPH_FEATURE_ARC_REGISTER() and > RTE_GRAPH_FEATURE_REGISTER() constructors and associated APIs with > programming guide. > > Signed-off-by: Nitin Saxena Acked-by: Jerin Jacob

Re: [PATCH v12 1/7] graph: add API to override node process function

2025-06-06 Thread Jerin Jacob
On Thu, Jun 5, 2025 at 11:12 PM Nitin Saxena wrote: > > New internal API used by feature arc library to override node's original > process() func. > > Signed-off-by: Nitin Saxena Acked-by: Jerin Jacob @Thomas Monjalon While merging, please add in .mailmap for Nitin Saxena in addition to cur