[PATCH] ci: build with MSVC in GHA

2025-02-12 Thread David Marchand
Add a build target in Windows 2022 for MSVC. Loading MSVC environment and having successive commands in a single (cmd or pwsh) shell does not seem to correctly report if one of the commands failed. For now, load MSVC environment and run commands in separate shells. Signed-off-by: David Marchand

[PATCH] config/arm: add Phytium TengYun S5000c

2025-02-12 Thread luzhipeng
add support for Phytium tengyunS5000c Signed-off-by: luzhipeng --- config/arm/arm64_fts5000c_linux_gcc | 16 config/arm/meson.build | 20 2 files changed, 36 insertions(+) create mode 100644 config/arm/arm64_fts5000c_linux_gcc diff --git a/con

Inquiry on DPDK Support for Marvell AQtion 10Gbit Network Adapter

2025-02-12 Thread Dilshodjon Mamadaliev
Dear DPDK Development Team, I hope this email finds you well. I am reaching out to inquire about *DPDK support for the Marvell AQtion 10Gbit Network Adapter* on my system. I am working on a *DPDK-based project* and considering integrating the *Marvell AQtion 10Gbit NIC*. *System Details:* - *

[PATCH] config/arm: add Phytium TengYun S5000c

2025-02-12 Thread luzhipeng
add support for Phytium tengyunS5000c Signed-off-by: luzhipeng --- config/arm/arm64_fts5000c_linux_gcc | 16 config/arm/meson.build | 20 2 files changed, 36 insertions(+) create mode 100644 config/arm/arm64_fts5000c_linux_gcc diff --git a/con

[PATCH v1 14/16] net/zxdh: provide extended stats ops implementations

2025-02-12 Thread Junlong Wang
provide extended stats ops implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 3 + drivers/net/zxdh/zxdh_ethdev_ops.c | 265 - drivers/net/zxdh/zxdh_ethdev_ops.h | 4 + 3 files changed, 269 insertions(+), 3 deletions(-) diff --g

[PATCH v1 13/16] net/zxdh: provided rxq/txq info get implementations

2025-02-12 Thread Junlong Wang
provided rxq/txq info get implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 40 -- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/drivers/net/zxdh/zxdh_ethdev.c b/drivers/net/zxdh/zxdh_ethdev.c index d475f54e60..e570

[PATCH v1 10/16] net/zxdh: optimize mtu set ops

2025-02-12 Thread Junlong Wang
optimize mtu set ops. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev_ops.c | 8 ++--- drivers/net/zxdh/zxdh_msg.c| 42 ++ drivers/net/zxdh/zxdh_tables.h | 47 +++--- 3 files changed, 89 insertions(+), 8 deletions(-) diff

[PATCH v1 08/16] net/zxdh: optimize vlan filter/offload ops

2025-02-12 Thread Junlong Wang
optimize vlan filter/offload ops. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev_ops.c | 42 +++-- drivers/net/zxdh/zxdh_msg.c| 81 + drivers/net/zxdh/zxdh_msg.h| 5 +- drivers/net/zxdh/zxdh_tables.c | 139 + d

[PATCH v1 07/16] net/zxdh: optimize promisc ops

2025-02-12 Thread Junlong Wang
optimize promisc ops. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_msg.c| 30 + drivers/net/zxdh/zxdh_tables.c | 49 ++ drivers/net/zxdh/zxdh_tables.h | 3 ++- 3 files changed, 81 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v1 12/16] net/zxdh: provided csum/tso/lro config

2025-02-12 Thread Junlong Wang
provided csum/tso/lro config. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 92 ++ drivers/net/zxdh/zxdh_msg.c| 15 ++ 2 files changed, 107 insertions(+) diff --git a/drivers/net/zxdh/zxdh_ethdev.c b/drivers/net/zxdh/zxdh_ethdev.c index

[PATCH v1 15/16] net/zxdh: provide ptypes fw_version module info/eeprom ops

2025-02-12 Thread Junlong Wang
provide ptypes、fw_version、module info/eeprom ops. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 30 + drivers/net/zxdh/zxdh_ethdev_ops.c | 200 + drivers/net/zxdh/zxdh_ethdev_ops.h | 5 + drivers/net/zxdh/zxdh_msg.h| 37 +- 4

[PATCH v1 09/16] net/zxdh: optimize rss hash config/update, reta update/get

2025-02-12 Thread Junlong Wang
optimize rss hash config/update,reta update/get. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev_ops.c | 1 - drivers/net/zxdh/zxdh_msg.c| 129 + 2 files changed, 129 insertions(+), 1 deletion(-) diff --git a/drivers/net/zxdh/zxdh_ethdev_ops.c

[PATCH v1 02/16] net/zxdh: optimize queue res alloc/free process

2025-02-12 Thread Junlong Wang
optimize queue res alloc/free process. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_common.c | 29 +++-- drivers/net/zxdh/zxdh_ethdev.c | 201 - drivers/net/zxdh/zxdh_ethdev.h | 14 +- drivers/net/zxdh/zxdh_ethdev_ops.c | 13 +- drivers/net/zxd

[PATCH v1 06/16] net/zxdh: optimize mac ops

2025-02-12 Thread Junlong Wang
optimize mac(add/remove/del) ops. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 40 +- drivers/net/zxdh/zxdh_ethdev.h | 13 +++- drivers/net/zxdh/zxdh_ethdev_ops.c | 59 +-- drivers/net/zxdh/zxdh_msg.c| 118 +

[PATCH v1 05/16] net/zxdh: provided msg(pfvf) intr callback

2025-02-12 Thread Junlong Wang
provided msg(pfvf) intr callback for support pf/vf in usermode. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 1 + drivers/net/zxdh/zxdh_msg.c| 186 +++-- drivers/net/zxdh/zxdh_msg.h| 9 ++ drivers/net/zxdh/zxdh_tables.c | 17 +++ drive

[PATCH v1 03/16] net/zxdh: optimize link update process

2025-02-12 Thread Junlong Wang
optimize link update process. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev_ops.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/drivers/net/zxdh/zxdh_ethdev_ops.c b/drivers/net/zxdh/zxdh_ethdev_ops.c index 6ed6c6cfdc..bb9d291181 100

[PATCH v1 00/16] net/zxdh: updated net zxdh driver

2025-02-12 Thread Junlong Wang
V1: - updated net zxdh driver. optimize init and some ops. provided csum/lro/tso 、extend stats、fw_version、module_info 、meter, etc. Junlong Wang (16): net/zxdh: optimize np dtb channel initialization net/zxdh: optimize queue res alloc/free process net/zxdh: optimize link update proc

[PATCH v2 2/2] net/intel: add Tx time queue

2025-02-12 Thread Soumyadeep Hore
Enabling Tx timestamp queue for supporting Tx time based scheduling of packets. Signed-off-by: Soumyadeep Hore --- drivers/net/intel/common/tx.h | 5 + drivers/net/intel/ice/base/ice_lan_tx_rx.h | 1 + drivers/net/intel/ice/ice_ethdev.h | 1 + drivers/net/intel/ice/ice

[PATCH v2 1/2] net/intel: add E830 ETF offload timestamp resolution

2025-02-12 Thread Soumyadeep Hore
From: Paul Greenwalt Update E830 ETF offload time stamp resolution to 128ns along with certain HW defines for TXTIME_PROFILE register. Signed-off-by: Soumyadeep Hore Signed-off-by: Paul Greenwalt --- drivers/net/intel/ice/base/ice_lan_tx_rx.h | 4 1 file changed, 4 insertions(+) diff --

[PATCH v2 0/2] Implement TXPP Support in ICE PMD

2025-02-12 Thread Soumyadeep Hore
This patchset includes TXPP feature implementation in ICE PMD. --- v2: - Addressing Bruce's comments and squashed two commits. --- Paul Greenwalt (1): net/intel: add E830 ETF offload timestamp resolution Soumyadeep Hore (1): net/intel: add Tx time queue drivers/net/intel/common/tx.h

RE: [PATCH v4 0/4] Introduce Topology NUMA grouping for lcores

2025-02-12 Thread Varghese, Vipin
[AMD Official Use Only - AMD Internal Distribution Only] Adding Thomas and Ajit to the loop. Hi Ajit, we have been using the patch series for identifying the topology and getting l3 cache id for populating the steering tag for Device Specific Model & MSI-x driven af-xdp for the experimental STA

Re: [PATCH v2 5/7] dts: add global runtime context

2025-02-12 Thread Nicholas Pratte
Definitely much easier to read, in a general sense, with these changes. Reviewed-by: Nicholas Pratte On Wed, Feb 12, 2025 at 11:46 AM Luca Vizzarro wrote: > > Add a new context module which holds the runtime context. The new > context will describe the current scenario and aid underlying classe

[DPDK/ethdev Bug 1647] uio_pci_generic module bind failed in X710/XL710/XXV710

2025-02-12 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1647 Kevin Traynor (ktray...@redhat.com) changed: What|Removed |Added CC||ktray...@redhat.com

[DPDK/core Bug 1633] Kernel crash on IGB port unbinding

2025-02-12 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1633 Kevin Traynor (ktray...@redhat.com) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

Re: [RFC PATCH 5/7] dts: add runtime status

2025-02-12 Thread Nicholas Pratte
Reviewed-by: Nicholas Pratte On Mon, Feb 3, 2025 at 10:17 AM Luca Vizzarro wrote: > > Add a new module which defines the global runtime status of DTS and the > distinct execution stages and steps. > > Signed-off-by: Luca Vizzarro > --- > doc/api/dts/framework.status.rst | 8 > doc/api/dt

[DPDK/ethdev Bug 1624] The rte_malloc library is not fully implemented

2025-02-12 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1624 Kevin Traynor (ktray...@redhat.com) changed: What|Removed |Added Resolution|--- |INVALID CC|

[DPDK/other Bug 1649] igb_uio legacy mode can not be used in X710/XL710/XXV710

2025-02-12 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1649 Kevin Traynor (ktray...@redhat.com) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

Re: [RFC PATCH 0/7] dts: revamp framework

2025-02-12 Thread Luca Vizzarro
On 04/02/2025 21:08, Dean Marx wrote: Hi Luca, I saw in the meeting minutes that the main purpose of this series is to implement the separation of concern principle better in DTS. Just wondering, what parts of the current framework did you think needed to be separated and why? I'm taking an OOP

release candidate 25.03-rc1

2025-02-12 Thread Thomas Monjalon
A new DPDK release candidate is ready for testing: https://git.dpdk.org/dpdk/tag/?id=v25.03-rc1 There are 478 new patches in this snapshot. Release notes: https://doc.dpdk.org/guides/rel_notes/release_25_03.html Highlights of 25.03-rc1: - Staged-Ordered ring (SORING)

Re: [RFC PATCH 1/7] dts: add port topology configuration

2025-02-12 Thread Luca Vizzarro
Thank you Dean! Applied.

Re: [RFC PATCH 1/7] dts: add port topology configuration

2025-02-12 Thread Luca Vizzarro
Great points! Thank you, will apply.

Re: [PATCH v2 0/7] dts: revamp framework

2025-02-12 Thread Luca Vizzarro
Forgot to mention that I've also removed the distinction between SUT and TG nodes. These are now all the same nodes. Runtime configuration for DPDK and TG now lies within the test run.

[PATCH v2 7/7] dts: remove node distinction

2025-02-12 Thread Luca Vizzarro
Remove the distinction between SUT and TG nodes for configuration purposes. As DPDK and the traffic generator belong to the runtime side of testing, and don't belong to the testbed model, these are better suited to be configured under the test runs. Split the DPDK configuration in DPDKBuildConfigu

Re: [PATCH v2 0/7] dts: revamp framework

2025-02-12 Thread Luca Vizzarro
Please dismiss this email. Was sent in error.

[PATCH v2 6/7] dts: revamp runtime internals

2025-02-12 Thread Luca Vizzarro
Enforce separation of concerns by letting test runs being isolated through a new TestRun class and respective module. This also means that any actions taken on the nodes must be handled exclusively by the test run. An example being the creation and destruction of the traffic generator. TestSuiteWit

[PATCH v2 4/7] dts: improve Port model

2025-02-12 Thread Luca Vizzarro
Make Port models standalone, so that they can be directly manipulated by the test suites as needed. Moreover, let them handle themselves and retrieve the logical name and mac address in autonomy. Signed-off-by: Luca Vizzarro Reviewed-by: Paul Szczepanek Reviewed-by: Dean Marx --- dts/framework

[PATCH v2 5/7] dts: add global runtime context

2025-02-12 Thread Luca Vizzarro
Add a new context module which holds the runtime context. The new context will describe the current scenario and aid underlying classes used by the test suites to automatically infer their parameters. This further simplifies the test writing process as the test writer won't need to be concerned abo

[PATCH v2 3/7] dts: revamp Topology model

2025-02-12 Thread Luca Vizzarro
Change the Topology model to add further flexility in its usage as a standalone entry point to test suites. Signed-off-by: Luca Vizzarro Reviewed-by: Paul Szczepanek Reviewed-by: Nicholas Pratte Reviewed-by: Dean Marx --- dts/framework/testbed_model/topology.py | 85 +

[PATCH v2 2/7] dts: isolate test specification to config

2025-02-12 Thread Luca Vizzarro
In an effort to improve separation of concerns, make the TestRunConfig class responsible for processing the configured test suites. Moreover, give TestSuiteConfig a facility to yield references to the selected test cases. Signed-off-by: Luca Vizzarro Reviewed-by: Paul Szczepanek Reviewed-by: Nic

[PATCH v2 1/7] dts: add port topology configuration

2025-02-12 Thread Luca Vizzarro
The current configuration makes the user re-specify the port links for each port in an unintuitive and repetitive way. Moreover, this design does not give the user to opportunity to map the port topology as desired. This change adds a port_topology field in the test runs, so that the user can use

[PATCH v2 0/7] dts: revamp framework

2025-02-12 Thread Luca Vizzarro
Hi there, sending some more final code, hence dropping the RFC. v2: - applied suggested changes to the port topology config - re-implemented FSM from a generator function to a more traditional approach where each state is actually is self-contained in its own class. - dropped the status enums

[PATCH v2 0/7] dts: revamp framework

2025-02-12 Thread Luca Vizzarro
Hi there, sending some more final code, hence dropping the RFC. v2: - applied suggested changes to the port topology config - re-implemented FSM from a generator function to a more traditional approach where each state is actually is self-contained in its own class. - dropped the status enums

[PATCH v7 3/4] app/test: add tests to find devices

2025-02-12 Thread Shani Peretz
Added tests to PCI and vdev bus that compare and find devices in various forms of names under test_devargs. The tests check the functionality of the rte_cmp_dev_name function by calling it with different variations of names, like short and full, full and full, etc. Signed-off-by: Shani Peretz ---

[PATCH v7 1/4] bus/pci: fix registration of PCI device

2025-02-12 Thread Shani Peretz
When registering a new PCI device, the device->name field stored the user-provided string from devargs (e.g., "08:00.0" or ":08:00.0"). This approach led to inconsistencies when registering new devices. This patch fix this issue by saving the parsed PCI in device->name, so when a new PCI devic

[PATCH v7 4/4] lib: change find device and cmp dev name functions

2025-02-12 Thread Shani Peretz
Change find_device and rte_cmp_dev_name to accept a struct with pointer and size instead of a void* pointer. Signed-off-by: Shani Peretz --- app/test/test_devargs.c | 23 +++ app/test/test_vdev.c | 23 ++- drivers/bus/a

[PATCH v7 2/4] lib: fix comparison between devices

2025-02-12 Thread Shani Peretz
DPDK supports multiple formats for specifying buses, (such as ":08:00.0" and "08:00.0" for PCI). This flexibility can lead to inconsistencies when using one format while running testpmd, then attempts to use the other format in a later command, resulting in a failure. The issue arises from the

Re: [PATCH v9 04/28] net/rnp: support mailbox basic operate

2025-02-12 Thread Stephen Hemminger
On Wed, 12 Feb 2025 10:54:20 +0800 "11" wrote: > Hi Stephen, > > This flag add will ignore some warning error ? > > +error_cflags = ['-Wno-unused-value', > > +'-Wno-unused-but-set-variable', > > +'-Wno-unused-parameter', > > +] > > Regards Wenbo Yes, but can't they b

Re: [PATCH] mbuf: enable to be compiled with MSVC

2025-02-12 Thread Thomas Monjalon
Mer 12 févr 2025, à 15:23, Thomas Monjalon a écrit : > 11/02/2025 03:19, Andre Muezerie: >> On Mon, Feb 10, 2025 at 02:34:29PM -0800, Stephen Hemminger wrote: >> > On Mon, 10 Feb 2025 13:51:05 -0800 >> > Andre Muezerie wrote: >> > >> > > Now that the issues preventing this lib from be compiled

[PATCH v12 04/28] net/rnp: support mailbox basic operate

2025-02-12 Thread Wenbo Cao
This patch adds support for mailbox of rnp PMD driver, mailbox is used for communication between pf with fw and vf driver. Signed-off-by: Wenbo Cao Reviewed-by: Stephen Hemminger --- drivers/net/rnp/base/meson.build | 11 + drivers/net/rnp/base/rnp_hw.h| 76 + drivers/net/rnp/base/rnp

Re: [PATCH] doc: add release not for af_packet

2025-02-12 Thread Thomas Monjalon
22/01/2025 16:56, Stephen Hemminger: > +* **Enhancements to af_packet net driver.** > + > + Added ability to option to configure receive packet fanout mode. > + Improved statistics including failed receive buffer allocation > + and missed packets. Was squashed in relevant commits, thanks.

Re: [PATCH V1] doc: add tested Intel platforms two NICs

2025-02-12 Thread Thomas Monjalon
06/12/2024 06:39, Lingli Chen: > Add tested E825-C and I350 NICs to v24.11 release note. > > Signed-off-by: Lingli Chen Cc: sta...@dpdk.org Applied after the release, and can be backported, thanks.

RE: [PATCH v9 12/28] net/rnp: add support link update operations

2025-02-12 Thread 11
Hi Stephen, Thanks for your explain abort the memcpy, on Fedora41 I had I understood why rte_memcpy will cause compile fault. I will be carefull to use memcpy, when a address of src or dst is not alignment. Regards Wenbo > -Original Message- > From: Stephen Hemminger > Sent: 2025年2月12

Re: [PATCH] doc: add tested platforms with NVIDIA NICs

2025-02-12 Thread Thomas Monjalon
03/12/2024 08:59, Raslan Darawsheh: > Add tested platforms with NVIDIA NICs to the 24.11 release notes. > > Signed-off-by: Raslan Darawsheh Cc: sta...@dpdk.org Applied after the release, and can be backported, thanks.

[PATCH v12 12/28] net/rnp: add support link update operations

2025-02-12 Thread Wenbo Cao
This patch add support poll/irq link get mode. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini | 2 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_fw_cmd.c | 45 drivers/net/rnp/base/rnp_fw_cmd.h | 55 ++ drivers/net/rnp/base/rnp

[PATCH v12 07/28] net/rnp: add support MAC promisc mode

2025-02-12 Thread Wenbo Cao
add support two method of MAC unicast promisc mulcast promisc broadcast promisc mode Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 2 + doc/guides/nics/rnp.rst | 5 ++ drivers/net/rnp/base/rnp_common.c | 5 ++ drivers/net/rnp/base/rnp_eth_regs.h | 15 +++

[PATCH v12 14/28] net/rnp: add Rx burst simple support

2025-02-12 Thread Wenbo Cao
add only support simple recv pkts. Signed-off-by: Wenbo Cao --- drivers/net/rnp/rnp_ethdev.c | 7 ++ drivers/net/rnp/rnp_rxtx.c | 129 +++ drivers/net/rnp/rnp_rxtx.h | 5 ++ 3 files changed, 141 insertions(+) diff --git a/drivers/net/rnp/rnp_ethdev.c b/dr

[PATCH v12 22/28] net/rnp: add supported packet types

2025-02-12 Thread Wenbo Cao
add support parse hw packet types result. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini | 1 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_bdq_if.h | 4 +++ drivers/net/rnp/rnp_rxtx.c| 45 +++ 4 files changed, 51 inser

Re: [PATCH v9 12/28] net/rnp: add support link update operations

2025-02-12 Thread Stephen Hemminger
On Wed, 12 Feb 2025 11:21:49 +0800 "11" wrote: > Hi Stephen, > For memcpy what ever base code or other code all used memcpy not rte_memcpy > ? > Even the memory is malloc from rte_malloc/zmalloc ? > > Regards Wenbo. The documentation doesn't make it clear but rte_memcpy is the same as memcpy.

Re: [PATCH] build: allow disabling avx512 support via compiler flag

2025-02-12 Thread Thomas Monjalon
11/02/2025 18:02, Stokes, Ian: > > DPDK build checks for build support for various instruction sets by > > checking both the target machine and the compiler for support. However, > > any disabling of instruction sets via compiler flags was not taken into > > account in many cases. For AVX512 suppor

[PATCH v12 26/28] net/rnp: add support VLAN filters operations

2025-02-12 Thread Wenbo Cao
add support to update vid for vlan filter. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 1 + doc/guides/nics/rnp.rst | 2 +- drivers/net/rnp/base/meson.build| 1 + drivers/net/rnp/base/rnp_bitrev.h | 64 ++ drivers/net/rnp/base/rnp_c

[PATCH v12 28/28] net/rnp: support Rx/Tx burst mode info

2025-02-12 Thread Wenbo Cao
add platform method for get rx/tx burst function select by upload func name. Signed-off-by: Wenbo Cao --- drivers/net/rnp/rnp_ethdev.c | 2 ++ drivers/net/rnp/rnp_rxtx.c | 58 drivers/net/rnp/rnp_rxtx.h | 6 3 files changed, 66 insertions(+) diff

[PATCH v12 24/28] net/rnp: add support Tx TSO offload

2025-02-12 Thread Wenbo Cao
Add support tx tso and tunnel tso. for tunnel just support vxlan/nvgre Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini | 1 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_bdq_if.h | 1 + drivers/net/rnp/rnp.h | 2 +- drivers/net/rnp/rnp_eth

[PATCH v12 27/28] net/rnp: add queue info operation

2025-02-12 Thread Wenbo Cao
add support get queue configure info for user debug Signed-off-by: Wenbo Cao --- drivers/net/rnp/rnp_ethdev.c | 2 ++ drivers/net/rnp/rnp_rxtx.c | 42 drivers/net/rnp/rnp_rxtx.h | 4 3 files changed, 48 insertions(+) diff --git a/drivers/net/rnp/r

[PATCH v12 25/28] net/rnp: support VLAN offloads

2025-02-12 Thread Wenbo Cao
add support rx vlan strip,filter,tx vlan/qinq insert. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 2 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_bdq_if.h | 2 +- drivers/net/rnp/base/rnp_eth_regs.h | 5 + drivers/net/rnp/base/rnp_hw.h

[PATCH v12 23/28] net/rnp: add support Rx checksum offload

2025-02-12 Thread Wenbo Cao
Add support Rx l3/l4 checum and tunnel inner l3/l4, out l3 chksum. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 4 ++ doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_eth_regs.h | 13 drivers/net/rnp/rnp.h | 7 +++ drivers/net/rnp/rn

[PATCH v12 21/28] net/rnp: add unicast MAC filter operation

2025-02-12 Thread Wenbo Cao
add mac filter for single/multiple port. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 1 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_eth_regs.h | 4 ++ drivers/net/rnp/base/rnp_hw.h | 3 + drivers/net/rnp/base/rnp_mac.c | 91

[PATCH v12 20/28] net/rnp: add support xstats operation

2025-02-12 Thread Wenbo Cao
add support mac eth rx tx hw xstats. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 1 + drivers/net/rnp/base/rnp_eth_regs.h | 3 + drivers/net/rnp/base/rnp_mac_regs.h | 80 + drivers/net/rnp/rnp.h | 51 ++ drivers/net/rnp/rnp_ethdev.c|

[PATCH v12 16/28] net/rnp: add MTU set operation

2025-02-12 Thread Wenbo Cao
add mtu update limit for multiple port mode. multiple mode just used the max-mtu of ports to limit receive. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 1 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_eth_regs.h | 3 + drivers/net/rnp/rnp.h

[PATCH v12 19/28] net/rnp: add support basic stats operation

2025-02-12 Thread Wenbo Cao
add support hw-missed rx/tx packets bytes. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 2 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_eth_regs.h | 3 + drivers/net/rnp/rnp.h | 10 +- drivers/net/rnp/rnp_ethdev.c| 147 +

[PATCH v12 18/28] net/rnp: add Tx multiple segment version

2025-02-12 Thread Wenbo Cao
add support multiple segs mbuf send. Signed-off-by: Wenbo Cao --- drivers/net/rnp/rnp_rxtx.c | 126 - drivers/net/rnp/rnp_rxtx.h | 3 +- 2 files changed, 126 insertions(+), 3 deletions(-) diff --git a/drivers/net/rnp/rnp_rxtx.c b/drivers/net/rnp/rnp_rxtx.c

[PATCH v12 17/28] net/rnp: add Rx scatter segment version

2025-02-12 Thread Wenbo Cao
add support scatter multi segment received. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini | 1 + doc/guides/nics/rnp.rst | 2 + drivers/net/rnp/rnp_rxtx.c | 131 ++- drivers/net/rnp/rnp_rxtx.h | 2 + 4 files changed, 134 inse

[PATCH v12 15/28] net/rnp: add Tx burst simple support

2025-02-12 Thread Wenbo Cao
add only support simple send pkts. Signed-off-by: Wenbo Cao --- drivers/net/rnp/rnp_ethdev.c | 6 +++ drivers/net/rnp/rnp_rxtx.c | 85 +++- drivers/net/rnp/rnp_rxtx.h | 1 + 3 files changed, 91 insertions(+), 1 deletion(-) diff --git a/drivers/net/rnp/rnp_e

[PATCH v12 13/28] net/rnp: add support link setup operations

2025-02-12 Thread Wenbo Cao
add set link_down/link_up implement Signed-off-by: Wenbo Cao --- drivers/net/rnp/base/rnp_eth_regs.h | 3 + drivers/net/rnp/base/rnp_fw_cmd.c | 22 +++ drivers/net/rnp/base/rnp_fw_cmd.h | 6 ++ drivers/net/rnp/base/rnp_mbx_fw.c | 33 ++ drivers/net/rnp/base/rnp_mbx_fw.h |

[PATCH v12 08/28] net/rnp: add queue setup and release operations

2025-02-12 Thread Wenbo Cao
support tx/rx queue setup and release add hw bd queue reset,sw queue reset. Signed-off-by: Wenbo Cao --- doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/meson.build| 1 + drivers/net/rnp/base/rnp_bdq_if.c | 398 +++ drivers/net/rnp/base/rnp_bdq_if.h

[PATCH v12 11/28] net/rnp: add RSS support operations

2025-02-12 Thread Wenbo Cao
add support rss reta updata/query rss hash update/get dev_configure add rss conf check. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 4 + doc/guides/nics/rnp.rst | 3 + drivers/net/rnp/base/rnp_eth_regs.h | 16 ++ drivers/net/rnp/meson.build | 1 +

[PATCH v12 10/28] net/rnp: add support device start stop operations

2025-02-12 Thread Wenbo Cao
add basic support for device to start/stop function Signed-off-by: Wenbo Cao --- drivers/net/rnp/base/rnp_common.c | 22 +++ drivers/net/rnp/base/rnp_common.h | 1 + drivers/net/rnp/base/rnp_dma_regs.h | 10 + drivers/net/rnp/base/rnp_eth_regs.h | 5 + drivers/net/rnp/base/rnp_hw.h

[PATCH v12 09/28] net/rnp: add queue stop and start operations

2025-02-12 Thread Wenbo Cao
support rx/tx queue stop/start,for rx queue stop need to reset a queue,must stop all rx queue during reset this queue. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini | 1 + drivers/net/rnp/base/rnp_common.c | 3 + drivers/net/rnp/rnp_link.c| 340 ++

[PATCH v12 05/28] net/rnp: add device init and uninit

2025-02-12 Thread Wenbo Cao
add firmware communic method and basic device init, uninit and close resource function. Signed-off-by: Wenbo Cao Reviewed-by: Ferruh Yigit --- drivers/net/rnp/base/meson.build| 4 + drivers/net/rnp/base/rnp_common.c | 73 ++ drivers/net/rnp/base/rnp_common.h | 12 + drivers/net/

[PATCH v12 06/28] net/rnp: add get device information operation

2025-02-12 Thread Wenbo Cao
add get device hardware capability function Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini | 1 + drivers/net/rnp/base/rnp_fw_cmd.c | 20 ++ drivers/net/rnp/base/rnp_fw_cmd.h | 80 + drivers/net/rnp/base/rnp_mbx_fw.c | 58 drivers/net

[PATCH v12 01/28] net/rnp: add skeleton

2025-02-12 Thread Wenbo Cao
Add basic PMD library and doc build infrastructure Update maintainers file to claim responsibility. Signed-off-by: Wenbo Cao Reviewed-by: Thomas Monjalon --- .mailmap | 1 + MAINTAINERS | 6 +++ doc/guides/nics/features/rnp.ini | 8 doc/guide

[PATCH v12 02/28] net/rnp: add ethdev probe and remove

2025-02-12 Thread Wenbo Cao
Add basic PCIe ethdev probe and remove. Signed-off-by: Wenbo Cao Reviewed-by: Stephen Hemminger --- drivers/net/rnp/rnp.h| 13 +++ drivers/net/rnp/rnp_ethdev.c | 74 2 files changed, 87 insertions(+) create mode 100644 drivers/net/rnp/rnp.h dif

[PATCH v12 03/28] net/rnp: add log

2025-02-12 Thread Wenbo Cao
add log function for trace or debug Signed-off-by: Wenbo Cao --- drivers/net/rnp/rnp_ethdev.c | 2 ++ drivers/net/rnp/rnp_logs.h | 36 2 files changed, 38 insertions(+) create mode 100644 drivers/net/rnp/rnp_logs.h diff --git a/drivers/net/rnp/rnp_ethdev

[PATCH v12 00/28] [v12]drivers/net Add Support mucse N10 Pmd Driver

2025-02-12 Thread Wenbo Cao
For This patchset just to support the basic chip init work and user can just found the eth_dev, but can't control more. For Now just support 2*10g nic,the chip can support 2*10g,4*10g,4*1g,8*1g,8*10g. The Feature rx side can support rx-cksum-offload,rss,vlan-filter flow_clow,uncast_filter,mcast_fil

[PATCH v11 26/28] net/rnp: add support VLAN filters operations

2025-02-12 Thread Wenbo Cao
add support to update vid for vlan filter. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 1 + doc/guides/nics/rnp.rst | 2 +- drivers/net/rnp/base/meson.build| 1 + drivers/net/rnp/base/rnp_bitrev.h | 64 ++ drivers/net/rnp/base/rnp_c

[PATCH v11 22/28] net/rnp: add supported packet types

2025-02-12 Thread Wenbo Cao
add support parse hw packet types result. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini | 1 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_bdq_if.h | 4 +++ drivers/net/rnp/rnp_rxtx.c| 45 +++ 4 files changed, 51 inser

Re: [PATCH v5 01/11] eal: introduce new secure memory fill

2025-02-12 Thread Stephen Hemminger
On Wed, 12 Feb 2025 10:09:27 +0100 Morten Brørup wrote: > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Tuesday, 11 February 2025 18.35 > > > > When memset() is used before a release function such as free, > > the compiler if allowed to optimize the memset away under >

Re: [DPDK/other Bug 1562] dumpcap captures all available network interfaces when specifying any PCI network interface

2025-02-12 Thread Stephen Hemminger
On Wed, 12 Feb 2025 13:29:57 +0530 Navin Srinivas wrote: > Hi, > > Is this backported to 22.11.1? > > Thanks, > Navn Srinivas No, it required a couple of other patches related to management of network interface list.

[PATCH v11 27/28] net/rnp: add queue info operation

2025-02-12 Thread Wenbo Cao
add support get queue configure info for user debug Signed-off-by: Wenbo Cao --- drivers/net/rnp/rnp_ethdev.c | 2 ++ drivers/net/rnp/rnp_rxtx.c | 42 drivers/net/rnp/rnp_rxtx.h | 4 3 files changed, 48 insertions(+) diff --git a/drivers/net/rnp/r

Re: [PATCH v4] mbuf: add raw free and alloc bulk functions

2025-02-12 Thread Thomas Monjalon
30/01/2025 15:49, Morten Brørup: > When putting an mbuf back into its mempool, there are certain requirements > to the mbuf. Specifically, some of its fields must be initialized. > > These requirements are in fact invariants about free mbufs, held in > mempools, and thus also apply when allocating

[PATCH v11 01/28] net/rnp: add skeleton

2025-02-12 Thread Wenbo Cao
Add basic PMD library and doc build infrastructure Update maintainers file to claim responsibility. Signed-off-by: Wenbo Cao Reviewed-by: Thomas Monjalon --- .mailmap | 1 + MAINTAINERS | 6 +++ doc/guides/nics/features/rnp.ini | 8 doc/guide

Re: net/mlx5: wrong Rx/Tx descriptor limits when DevX is off

2025-02-12 Thread Edwin Brossette
Hello, Sorry for bothering you again. May I inquire if this issue is still being worked on ? If so, when can I expect to see a fix ? Best regards, Edwin Brossette On Mon, Dec 23, 2024 at 2:09 PM Slava Ovsiienko wrote: > Confirm, it’s a bug, IIUC was introduced by reporting function update. > A

[PATCH v11 15/28] net/rnp: add Tx burst simple support

2025-02-12 Thread Wenbo Cao
add only support simple send pkts. Signed-off-by: Wenbo Cao --- drivers/net/rnp/rnp_ethdev.c | 6 +++ drivers/net/rnp/rnp_rxtx.c | 85 +++- drivers/net/rnp/rnp_rxtx.h | 1 + 3 files changed, 91 insertions(+), 1 deletion(-) diff --git a/drivers/net/rnp/rnp_e

[PATCH v11 25/28] net/rnp: support VLAN offloads

2025-02-12 Thread Wenbo Cao
add support rx vlan strip,filter,tx vlan/qinq insert. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 2 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_bdq_if.h | 2 +- drivers/net/rnp/base/rnp_eth_regs.h | 5 + drivers/net/rnp/base/rnp_hw.h

[PATCH v11 28/28] net/rnp: support Rx/Tx burst mode info

2025-02-12 Thread Wenbo Cao
add platform method for get rx/tx burst function select by upload func name. Signed-off-by: Wenbo Cao --- drivers/net/rnp/rnp_ethdev.c | 2 ++ drivers/net/rnp/rnp_rxtx.c | 58 drivers/net/rnp/rnp_rxtx.h | 6 3 files changed, 66 insertions(+) diff

[PATCH v11 21/28] net/rnp: add unicast MAC filter operation

2025-02-12 Thread Wenbo Cao
add mac filter for single/multiple port. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 1 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_eth_regs.h | 4 ++ drivers/net/rnp/base/rnp_hw.h | 3 + drivers/net/rnp/base/rnp_mac.c | 91

[PATCH v11 14/28] net/rnp: add Rx burst simple support

2025-02-12 Thread Wenbo Cao
add only support simple recv pkts. Signed-off-by: Wenbo Cao --- drivers/net/rnp/rnp_ethdev.c | 7 ++ drivers/net/rnp/rnp_rxtx.c | 129 +++ drivers/net/rnp/rnp_rxtx.h | 5 ++ 3 files changed, 141 insertions(+) diff --git a/drivers/net/rnp/rnp_ethdev.c b/dr

[PATCH v11 12/28] net/rnp: add support link update operations

2025-02-12 Thread Wenbo Cao
This patch add support poll/irq link get mode. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini | 2 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_fw_cmd.c | 45 drivers/net/rnp/base/rnp_fw_cmd.h | 55 ++ drivers/net/rnp/base/rnp

[PATCH v11 19/28] net/rnp: add support basic stats operation

2025-02-12 Thread Wenbo Cao
add support hw-missed rx/tx packets bytes. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 2 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_eth_regs.h | 3 + drivers/net/rnp/rnp.h | 10 +- drivers/net/rnp/rnp_ethdev.c| 147 +

[PATCH v11 24/28] net/rnp: add support Tx TSO offload

2025-02-12 Thread Wenbo Cao
Add support tx tso and tunnel tso. for tunnel just support vxlan/nvgre Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini | 1 + doc/guides/nics/rnp.rst | 1 + drivers/net/rnp/base/rnp_bdq_if.h | 1 + drivers/net/rnp/rnp.h | 2 +- drivers/net/rnp/rnp_eth

[PATCH v11 20/28] net/rnp: add support xstats operation

2025-02-12 Thread Wenbo Cao
add support mac eth rx tx hw xstats. Signed-off-by: Wenbo Cao --- doc/guides/nics/features/rnp.ini| 1 + drivers/net/rnp/base/rnp_eth_regs.h | 3 + drivers/net/rnp/base/rnp_mac_regs.h | 80 + drivers/net/rnp/rnp.h | 51 ++ drivers/net/rnp/rnp_ethdev.c|

  1   2   >