Re: [PATCH v1 04/12] node: add process callback for IP4 FIB

2025-04-16 Thread Medvedkin, Vladimir
Hi Ankur, On 15/04/2025 13:10, Ankur Dwivedi wrote: Adds the process callback function for ip4_lookup_fib node. Signed-off-by: Ankur Dwivedi --- lib/node/ip4_lookup_fib.c | 164 ++ 1 file changed, 164 insertions(+) diff --git a/lib/node/ip4_lookup_fib.c

Re: [PATCH 00/46] Support AMD Solarflare X45xx adaptors

2025-04-16 Thread Stephen Hemminger
On Wed, 16 Apr 2025 17:59:30 +0400 Ivan Malov wrote: > New X4522 (dual port SFP56) and X4542 (dual port QSFP56) adaptors are > Medford4 (X4) chips that are based on EF10 architecture. An X4 NIC > supports multiple network engine types. This series provides support > only for the Medford2-alike, '

[PATCH v2] net/ixgbe: support Rx/Tx burst mode info

2025-04-16 Thread Roger Melton
Return burst mode according to the selected Rx/Tx burst function name. Update 25.07 release notes with this information. Signed-off-by: Roger Melton --- doc/guides/rel_notes/release_25_07.rst| 3 + drivers/net/intel/ixgbe/ixgbe_ethdev.c| 4 ++ drivers/net/intel/ixgbe/ixgbe_ethd

[PATCH v3] net/ixgbe: support Rx/Tx burst mode info

2025-04-16 Thread Roger Melton
Return burst mode according to the selected Rx/Tx burst function name. Update 25.07 release notes with this information. Signed-off-by: Roger Melton --- doc/guides/rel_notes/release_25_07.rst| 3 + drivers/net/intel/ixgbe/ixgbe_ethdev.c| 4 ++ drivers/net/intel/ixgbe/ixgbe_ethd

[PATCH 02/46] common/sfc_efx/base: add efsys option for Medford4

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Later patches will use this to implement support for Medford4. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx_check.h | 24 ++-- drivers/common/sfc_efx/efsys.h | 2 ++ 2 files changed, 16

[PATCH 03/46] common/sfc_efx/base: add Medford4 support to NIC module

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Implement NIC family discovery and minimum probe support. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/ef10_nic.c | 33 - drivers/common/sfc_efx/base/efx.h | 1 + drivers/common/sfc_efx/base/efx_im

[PATCH 04/46] common/sfc_efx/base: add Medford4 support to EV module

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Use common EF10 method table for that. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx_ev.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/common/sfc_efx/base/efx_ev.c b/drivers/common/sfc_efx/base/

[PATCH 01/46] common/sfc_efx/base: add Medford4 PCI IDs to common code

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Later patches will use this to implement support for Medford4. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx.h | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/common/sfc_efx/base/efx.h b/drivers/com

[PATCH 05/46] common/sfc_efx/base: add Medford4 support to FILTER module

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Use common EF10 method table for that. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx_filter.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/common/sfc_efx/base/efx_filter.c b/drivers/common/sfc_e

[PATCH 06/46] common/sfc_efx/base: add Medford4 support to INTR module

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Use common EF10 method table for that. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx_intr.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/common/sfc_efx/base/efx_intr.c b/drivers/common/sfc_efx/b

DPDK Release Status Meeting 2025-04-15

2025-04-16 Thread Mcnamara, John
Release status meeting minutes 2025-04-15 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * Broadcom * ARM * Debian * Intel * Marvell * Microsoft * Nvidia * Red Hat Release Dates - The following are the p

[PATCH] net/ixgbe: support Rx/Tx burst mode info

2025-04-16 Thread Roger Melton
Return burst mode according to the selected Rx/Tx burst function name. Update 25.07 release notes with this information. Signed-off-by: Roger Melton --- doc/guides/rel_notes/release_25_07.rst| 4 ++ drivers/net/intel/ixgbe/ixgbe_ethdev.c| 4 ++ drivers/net/intel/ixgbe/ixgbe_eth

[PATCH] net/iavf: support Rx/Tx burst mode info

2025-04-16 Thread Roger Melton
Return burst mode according to the selected Rx/Tx burst function name. Update 25.07 release notes with this information. Signed-off-by: Roger Melton --- doc/guides/rel_notes/release_25_07.rst | 3 + drivers/net/intel/iavf/iavf.h | 2 + drivers/net/intel/iavf/iavf_ethdev.c | 2 +

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

2025-04-16 Thread Stephen Hemminger
On Tue, 8 Apr 2025 06:19:07 + liwencheng wrote: > v6: > - Fixed build failures across different OS. > > v5: > - Putting __rte_unused after the declaration. > - Correct RX-bytes and TX-bytes statistics. > - Initialize the mbuf_initializer. > - Add driver based on 25.07. > - Fixed some code s

Re: [PATCH v4 2/4] net/macb: add new poll mode driver

2025-04-16 Thread Stephen Hemminger
On Wed, 2 Apr 2025 06:58:56 + liwencheng wrote: > + > +struct __rte_cache_aligned macb_rx_queue_stats { > + union { > + unsigned long first; > + unsigned long rx_packets; > + }; > + unsigned long rx_bytes; > + unsigned long rx_dropped; > +}; > + > +str

Re: Flow API Test Suite Inquiry

2025-04-16 Thread Thomas Monjalon
Hi, 15/04/2025 20:21, Dean Marx: > The flow API allows for an extremely broad set of rules to be created. > My understanding from my first pass at writing the test suite is that > there is a small subset of those rules that are “core functionality” > that the flow API aims to support, and there ar

Re: [PATCH v4 4/4] net/macb: add necessary docs and update related files

2025-04-16 Thread Stephen Hemminger
On Wed, 2 Apr 2025 06:59:31 + liwencheng wrote: > +Features of the MACB PMD are: > + > +* Speed capabilities > +* Link status > +* Tx Queue start/stop > +* Multiple queues for TX and RX > +* CRC offload > +* Jumbo frames supported I see no operations functions for Tx queue/start stop in mac

[PATCH 37/46] common/sfc_efx/base: correct MAC PDU calculation on Medford4

2025-04-16 Thread Ivan Malov
For managing MAC PDU (max. frame size), client drivers apply EFX macros to switch between PDU and SDU forms. These macros include a workaround for a bug that dates back to Siena NICs. Starting with Medford4, the bug is no longer there and it is wrong to use the macros, so provide users with a repl

[PATCH 39/46] common/sfc_efx/base: ignore legacy link events on new boards

2025-04-16 Thread Ivan Malov
New adaptors (for instance, Medford4) come with netport MCDI and also support new link change events, however, older ones can also be generated. For consistency, ignore legacy events. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/s

[PATCH 44/46] common/sfc_efx/base: support controls for netport lane count

2025-04-16 Thread Ivan Malov
On netport MCDI capable adaptors, link modes exported by libefx can be backed by different technologies with different lane counts. Allow the client drivers to get and set the lane count and query possible values. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van

[PATCH 41/46] net/sfc: query link status on link change events on new NICs

2025-04-16 Thread Ivan Malov
Link events signaled on new adaptors (Medford4 and later) do not carry any specifics, so query the link status separately. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/net/sfc/sfc.h| 2 ++ drivers/net/sfc/sfc_ethdev.c | 2 ++ d

[PATCH 43/46] net/sfc: offer support for 200G link ability on new adaptors

2025-04-16 Thread Ivan Malov
New adaptors (for instance, Medford4) can support 200G speed. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/net/sfc/sfc.c| 5 - drivers/net/sfc/sfc_ethdev.c | 15 +++ drivers/net/sfc/sfc_port.c | 6 ++ 3 fi

[PATCH 38/46] net/sfc: make use of generic EFX MAC PDU calculation helpers

2025-04-16 Thread Ivan Malov
To make sure that MAC PDU values do not come with legacy bug workaround baked in when running on newer Medford4 NICs, use generic replacement APIs from EFX in place of MAC PDU macros. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/net/sfc/

[PATCH 40/46] common/sfc_efx/base: add link event processing on new boards

2025-04-16 Thread Ivan Malov
Link change events on netport MCDI capable NICs do not carry any specifics of the new link state. Such need to be queried separately. Add processing of the events, with an indication to the client driver telling it to collect the status itself. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton

[PATCH 42/46] common/sfc_efx/base: subscribe to netport link change events

2025-04-16 Thread Ivan Malov
Subscribe to the new link events on netport MCDI attach path. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/efx_np.c | 56 1 file changed, 56 insertions(+) diff --git a/drivers/common/sfc_

[PATCH 30/46] common/sfc_efx/base: implement PHY link control for Medford4

2025-04-16 Thread Ivan Malov
Use new MCDI to select loopback, speed, flow control and FEC. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/ef10_impl.h | 6 + drivers/common/sfc_efx/base/ef10_phy.c | 2 +- drivers/common/sfc_efx/base/efx

[PATCH 33/46] common/sfc_efx/base: fill in software LUT for MAC statistics

2025-04-16 Thread Ivan Malov
To support MAC statistics, it is required to fill in a table which will be used by EFX to get DMA field IDs (offsets into the DMA buffer where MC FW uploads the data) by software IDs. Fill in the lookup table by parsing HW statistic descriptors. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreto

[PATCH 35/46] common/sfc_efx/base: support MAC statistics on Medford4 NICs

2025-04-16 Thread Ivan Malov
Supply Medford4-specific methods to clear, upload and update MAC statistics, as well as the method to toggle periodic DMA updates. All of these leverage the same netport MCDI command. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/s

[PATCH 36/46] common/sfc_efx/base: implement MAC PDU controls for Medford4

2025-04-16 Thread Ivan Malov
Leverage new netport MCDI to implement support for such APIs. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/efx_impl.h | 4 ++ drivers/common/sfc_efx/base/efx_mac.c | 4 +- drivers/common/sfc_efx/base/efx_

[PATCH 32/46] common/sfc_efx/base: add MAC reconfigure method for Medford4

2025-04-16 Thread Ivan Malov
That leverages MAC control functionality of new netport MCDI. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/efx_impl.h | 13 drivers/common/sfc_efx/base/efx_mac.c | 2 +- drivers/common/sfc_efx/base/ef

[PATCH 31/46] common/sfc_efx/base: introduce Medford4 stub for MAC methods

2025-04-16 Thread Ivan Malov
Provide only a small subset of methods for now. Next patches will augment the file with more, based on newer netport MCDI. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/efx_mac.c | 32 +++- drivers/common

[PATCH 34/46] common/sfc_efx/base: fill in MAC statistics mask on Medford4

2025-04-16 Thread Ivan Malov
Let client drivers know which MAC statistics can be accessed. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/efx_mac.c | 2 +- drivers/common/sfc_efx/base/medford4_impl.h | 9 ++ drivers/common/sfc_efx/base/

[PATCH 07/46] common/sfc_efx/base: add Medford4 support to MAC module

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Use common EF10 method table for that. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx_impl.h | 1 + drivers/common/sfc_efx/base/efx_mac.c | 7 +++ 2 files changed, 8 insertions(+) diff --git a/drivers/common/sfc

[PATCH 08/46] common/sfc_efx/base: add Medford4 support to PHY module

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Use common EF10 method table for that. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx_phy.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/common/sfc_efx/base/efx_phy.c b/drivers/common/sfc_efx/bas

[PATCH 12/46] common/sfc_efx/base: add Medford4 support to Tx module

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Define and use Medford4 specific method table. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx_tx.c | 33 1 file changed, 33 insertions(+) diff --git a/drivers/common/sfc_efx/base/efx_tx.c

[PATCH 11/46] common/sfc_efx/base: add Medford4 support to Rx module

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Use common EF10 method table for that. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx_rx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/common/sfc_efx/base/efx_rx.c b/drivers/common/sfc_efx/base/

[PATCH 10/46] common/sfc_efx/base: add Medford4 support to MCDI module

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Use common EF10 method table for that. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx_mcdi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/common/sfc_efx/base/efx_mcdi.c b/drivers/common/sfc_efx/b

[PATCH 09/46] common/sfc_efx/base: add Medford4 support to TUNNEL module

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Use common EF10 method table for that. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx_tunnel.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/common/sfc_efx/base/efx_tu

[PATCH 21/46] common/sfc_efx/base: provide defaults on netport attach path

2025-04-16 Thread Ivan Malov
Fill in some port information, including legacy Siena fields. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/efx_np.c | 44 1 file changed, 44 insertions(+) diff --git a/drivers/common/sfc_

[PATCH 13/46] drivers: enable support for AMD Solarflare X4 adapter family

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Enable support for Medford4 (X4) adapters X4522 and X4542. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/efsys.h | 4 ++-- drivers/net/sfc/sfc_ethdev.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a

[PATCH 14/46] common/sfc_efx/base: update X4 BAR layout and PCI IDs

2025-04-16 Thread Ivan Malov
From: Andy Moreton The BAR layout on X4 has changed to put MSI-X (and CXL) in BAR0/1, and moved the main memory BAR to be BAR2/3. Update definitions to match the updated hardware and cmodel. Also add PCI IDs used for functions which only have the full feature (X2 style) datapath engines, and do

[PATCH 20/46] common/sfc_efx/base: provide a stub for basic netport attach

2025-04-16 Thread Ivan Malov
New NICs (for instance, Medford4) offer new netport MCDI for managing physical ports, which will supersede the legacy one. Scope out the new interface initialisation on NIC probe path. That will be augmented with the actual code by later patches. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreto

[PATCH 16/46] common/sfc_efx/base: add port mode for 8 port hardware

2025-04-16 Thread Ivan Malov
From: Andy Moreton Add support for 8 port mode and adjust the bus bandwidth computation and external port mapping table. Signed-off-by: Andy Moreton Reviewed-by: Ivan Malov --- drivers/common/sfc_efx/base/ef10_nic.c| 20 +++ drivers/common/sfc_efx/base/ef10_tlv_layout.

[PATCH 18/46] common/sfc_efx/base: extend list of supported X4 port modes

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Add X4 port mode that allocates two 10G/25G/50G ports to separate cages. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton Reviewed-by: Richard Houldsworth Reviewed-by: Ivan Malov --- drivers/common/sfc_efx/base/ef10_nic.c | 1 + 1 file changed, 1 insert

[PATCH 17/46] common/sfc_efx/base: add new X4 port mode

2025-04-16 Thread Ivan Malov
From: Denis Pryazhennikov Add handling for the port mode in the Medford4 driver logic, enabling support for two single network ports. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton Reviewed-by: Richard Houldsworth Reviewed-by: Ivan Malov --- .mailmap

[PATCH 15/46] net/sfc: add Medford4 with only full feature datapath engine

2025-04-16 Thread Ivan Malov
From: Andy Moreton Add PCI IDs for Medford4 functions that only have the full feature datapath engine (no support for low latency datapath engine). Signed-off-by: Andy Moreton Reviewed-by: Ivan Malov --- drivers/net/sfc/sfc_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver

[PATCH 25/46] common/sfc_efx/base: decode netport link state on probe path

2025-04-16 Thread Ivan Malov
Retrieved properties form the advertised PHY capability mask. The new code also helps to check support for autonegotiation. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/efx_impl.h | 12 + drivers/common/sfc_efx/ba

[PATCH 26/46] common/sfc_efx/base: fill in loopback modes on netport probe

2025-04-16 Thread Ivan Malov
Indicate support for some of the loopback modes known to EFX. Such have been technology-dependent, but, on netport capable NICs, they are backed by new generic modes, that are tied to the stages in the processing chain where loopback can happen. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton

[PATCH 28/46] common/sfc_efx/base: refactor EF10 link mode decoding helper

2025-04-16 Thread Ivan Malov
Future patches will use this change for netport MCDI support. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/ef10_impl.h | 13 +++ drivers/common/sfc_efx/base/ef10_phy.c | 31 ++--- 2 files

[PATCH 29/46] common/sfc_efx/base: provide PHY link get method on Medford4

2025-04-16 Thread Ivan Malov
To do so, make use of new netport MCDI supported by Medford4. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/ef10_phy.c | 8 ++ drivers/common/sfc_efx/base/efx.h | 4 +- drivers/common/sfc_efx/base/efx_

[PATCH 24/46] common/sfc_efx/base: get netport fixed capabilities on probe

2025-04-16 Thread Ivan Malov
These make the basic subset of PHY capabilities known to EFX Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/efx.h| 21 ++- drivers/common/sfc_efx/base/efx_np.c | 209 +++ 2 files changed, 22

[PATCH 22/46] common/sfc_efx/base: obtain assigned netport handle from NIC

2025-04-16 Thread Ivan Malov
Get an 'assigned' netport handle for the current MCDI entity. This handle will be used when sending other netport commands. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/efx_impl.h | 4 +++ drivers/common/sfc_efx/base

[PATCH 27/46] common/sfc_efx/base: introduce Medford4 stub for PHY methods

2025-04-16 Thread Ivan Malov
Provide only a couple of no-op methods for now. Next patches will augment the file with more, based on newer netport MCDI. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/common/sfc_efx/base/efx_impl.h | 4 +++ drivers/common/sfc_efx/

[PATCH 23/46] common/sfc_efx/base: allow for const in MCDI struct accessor

2025-04-16 Thread Ivan Malov
The existing code is fine, however, future patches will need to use this macro on buffers that are passed by callers with const qualifier. With 'cast-qual' enabled, this macro causes compile warnings in such cases. Rework it to allow for const. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton

Re: [PATCH 00/46] Support AMD Solarflare X45xx adaptors

2025-04-16 Thread Stephen Hemminger
On Wed, 16 Apr 2025 19:38:58 +0400 (+04) Ivan Malov wrote: > On Wed, 16 Apr 2025, Stephen Hemminger wrote: > > > On Wed, 16 Apr 2025 17:59:30 +0400 > > Ivan Malov wrote: > > > >> New X4522 (dual port SFP56) and X4542 (dual port QSFP56) adaptors are > >> Medford4 (X4) chips that are based on E

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

2025-04-16 Thread Stephen Hemminger
On Tue, 8 Apr 2025 06:20:01 + liwencheng wrote: > + > + dev_num = rte_kvargs_count(kvlist, MACB_DEVICE_NAME_ARG); > + > + /* compatibility support */ > + if (!strcmp(vdev_name, "net_macb")) { > + if (dev_num > MACB_MAX_PORT_NUM) { > + ret = -EINVAL

[PATCH 00/46] Support AMD Solarflare X45xx adaptors

2025-04-16 Thread Ivan Malov
New X4522 (dual port SFP56) and X4542 (dual port QSFP56) adaptors are Medford4 (X4) chips that are based on EF10 architecture. An X4 NIC supports multiple network engine types. This series provides support only for the Medford2-alike, 'full-feature' (FF) network engine. This shall not be confused w

[PATCH 45/46] net/sfc: add support for control of physical port lane count

2025-04-16 Thread Ivan Malov
Since 24.11, DPDK has supported APIs to control lane count of the physical link. Provide driver-level support for that on adaptors that are netport MCDI capabale (Medford4, for instance). Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Pieter Jansen Van Vuuren --- drivers/net/

[PATCH 46/46] doc: advertise support for AMD Solarflare X45xx adapters

2025-04-16 Thread Ivan Malov
The two NICs, X4522 and X4542, are based on EF10 architecture. Signed-off-by: Ivan Malov --- doc/guides/nics/sfc_efx.rst| 9 - doc/guides/rel_notes/release_25_07.rst | 4 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/sfc_efx.rst b/doc/gui

Re: [PATCH 00/46] Support AMD Solarflare X45xx adaptors

2025-04-16 Thread Ivan Malov
On Wed, 16 Apr 2025, Stephen Hemminger wrote: On Wed, 16 Apr 2025 17:59:30 +0400 Ivan Malov wrote: New X4522 (dual port SFP56) and X4542 (dual port QSFP56) adaptors are Medford4 (X4) chips that are based on EF10 architecture. An X4 NIC supports multiple network engine types. This series provi

Re: [PATCH] pci: define more standard register offsets

2025-04-16 Thread David Marchand
On Wed, Apr 16, 2025 at 4:37 PM Stephen Hemminger wrote: > > On Wed, 16 Apr 2025 08:10:34 +0200 > David Marchand wrote: > > > The PCI standard defines registers for: > > - subsystem id, > > - revision id, > > - status of the device, > > - vital product data, > > > > Add them to rte_pci.h and use

[PATCH] net/e1000: support Rx/Tx burst mode info

2025-04-16 Thread Roger Melton
Return burst mode according to the selected Rx/Tx burst function name. Update 25.07 release notes with this information. Signed-off-by: Roger Melton --- doc/guides/rel_notes/release_25_07.rst | 3 ++ drivers/net/intel/e1000/igb_ethdev.c | 64 ++ 2 files changed, 67 ins

[PATCH] net/virtio: support Rx/Tx burst mode info

2025-04-16 Thread Roger Melton
Return burst mode according to the selected Rx/Tx burst function name. Update 25.07 release notes with this information. Signed-off-by: Roger Melton --- doc/guides/rel_notes/release_25_07.rst | 3 + drivers/net/virtio/virtio_ethdev.c | 76 ++ 2 files changed, 79 inse

Re: [PATCH 00/46] Support AMD Solarflare X45xx adaptors

2025-04-16 Thread Ivan Malov
On Wed, 16 Apr 2025, Stephen Hemminger wrote: On Wed, 16 Apr 2025 19:38:58 +0400 (+04) Ivan Malov wrote: On Wed, 16 Apr 2025, Stephen Hemminger wrote: On Wed, 16 Apr 2025 17:59:30 +0400 Ivan Malov wrote: New X4522 (dual port SFP56) and X4542 (dual port QSFP56) adaptors are Medford4 (X4)

[patch v6 6/6] bus/vmbus: set event for channel without monitoring support

2025-04-16 Thread longli
From: Long Li For vmbus channels without monitoring support, use kernel UIO interface to indicate packet through interrupt page and UIO file handle. Signed-off-by: Long Li --- Changes: v4: replace RTE_ATOMIC(uint32_t) * with RTE_ATOMIC(uint32_t *) for declaring variable v6: revert the v4 versi

[patch v6 1/6] net/netvsc: introduce private data for storing vmbus device for secondary process

2025-04-16 Thread longli
From: Long Li To prepare for supporting to set hyperv event from secondary process when the channel has monitoring disable, introduce a private data region for storing the vmbus device. The secondary process will get access to its vmbus device in case it needs to signal the host. Signed-off-by:

[patch v6 0/6] Support VMBUS channels without monitoring enabled

2025-04-16 Thread longli
From: Long Li Hyperv may expose VMBUS channels without monitoring enabled. In this case, it programs almost all the data traffic to VF. This patchset enabled vmbus/netvsc to use channels without monitoring enabled. This needs to change the APIs exposed by drivers/bus/vmbus. Because those APIs a

[patch v6 3/6] bus/vmbus: store UIO fd for secondary process

2025-04-16 Thread longli
From: Long Li Secondary process will get access to vmbus device and this UIO fd for signaling hyperv host on channels without monitoring support. Signed-off-by: Long Li --- drivers/bus/vmbus/vmbus_common_uio.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers

RE: [EXTERNAL] Re: [Patch v3 6/6] bus/vmbus: set event for channel without monitoring support

2025-04-16 Thread Long Li
> Subject: RE: [EXTERNAL] Re: [Patch v3 6/6] bus/vmbus: set event for channel > without monitoring support > > > Subject: [EXTERNAL] Re: [Patch v3 6/6] bus/vmbus: set event for > > channel without monitoring support > > > > On Fri, 4 Apr 2025 17:35:38 -0700 > > lon...@linuxonhyperv.com wrote: > >

Re: [RFC 01/13] app/testpmd: revert auto attach/detach

2025-04-16 Thread lihuisong (C)
在 2025/4/16 8:06, Stephen Hemminger 写道: On Tue, 15 Apr 2025 21:28:07 +0800 "lihuisong (C)" wrote: Hi Stephen, The main cause of cpfl driver attach failure is the added alarm in new event callback to setup port automatically. It's a question of when to set up the new port. Please see the dis

Re: [PATCH v1 02/12] node: add IP4 lookup FIB node

2025-04-16 Thread Medvedkin, Vladimir
Hi Ankur, On 15/04/2025 13:10, Ankur Dwivedi wrote: Adds a lookup FIB node for IP4. Signed-off-by: Ankur Dwivedi --- lib/node/ip4_lookup_fib.c | 127 ++ lib/node/meson.build | 3 +- 2 files changed, 129 insertions(+), 1 deletion(-) create mode 1

Re: [PATCH v1 04/12] node: add process callback for IP4 FIB

2025-04-16 Thread Nitin Saxena
Hi Ankur, Same comments apply to IPv6 nodes as well. See for ip4 lookup comments Thanks, Nitin On Tue, Apr 15, 2025 at 6:20 PM Ankur Dwivedi wrote: > > Adds the process callback function for ip4_lookup_fib node. > > Signed-off-by: Ankur Dwivedi > --- > lib/node/ip4_lookup_fib.c | 164

[PATCH] doc: announce DMA configuration structure changes

2025-04-16 Thread pbhagavatula
From: Pavan Nikhilesh Deprecate rte_dma_conf structure to allow for a more flexible configuration of DMA devices. The new structure will have a flags field instead of multiple boolean fields for each feature. Signed-off-by: Pavan Nikhilesh --- doc/guides/rel_notes/deprecation.rst | 6 ++ 1

Re: [PATCH v1 02/12] node: add IP4 lookup FIB node

2025-04-16 Thread Nitin Saxena
Hi Ankur, Please see my comments inline below Thanks, Nitin On Tue, Apr 15, 2025 at 5:41 PM Ankur Dwivedi wrote: > > Adds a lookup FIB node for IP4. > > Signed-off-by: Ankur Dwivedi > --- > lib/node/ip4_lookup_fib.c | 127 ++ > lib/node/meson.build |

[RFC] add Rust API for basic port operations

2025-04-16 Thread Gregory Etelson
This RFC proposes Rust API for basic DPDK port management and IO operations. ```rust /// Configuration details for a DPDK port. /// /// # Overview /// /// `DpdkPortConf` is used to initialize and configure ports in a DPDK environment. It includes: /// - Device information (`dev_info`) pulled fro

RE: [EXTERNAL] Re: [PATCH v1 02/12] node: add IP4 lookup FIB node

2025-04-16 Thread Ankur Dwivedi
Hi Nitin, >> lib/node/ip4_lookup_fib.c | 127 >++ >> lib/node/meson.build | 3 +- >> 2 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 >> lib/node/ip4_lookup_fib.c >> >> diff --git a/lib/node/ip4_lookup_fib.c b/lib/node/ip4_lookup_fib.

RE: [EXTERNAL] Re: [PATCH v1 02/12] node: add IP4 lookup FIB node

2025-04-16 Thread Ankur Dwivedi
Hi Vladimir, >On 15/04/2025 13:10, Ankur Dwivedi wrote: >> Adds a lookup FIB node for IP4. >> >> Signed-off-by: Ankur Dwivedi >> --- >> lib/node/ip4_lookup_fib.c | 127 >++ >> lib/node/meson.build | 3 +- >> 2 files changed, 129 insertions(+), 1 delet

[25.11 PATCH 1/3] dmadev: add enqueue dequeue operations

2025-04-16 Thread pbhagavatula
From: Pavan Nikhilesh Add enqueue/dequeue operations that use struct rte_dma_op to communicate with the dma device. These operations need to be enabled at dma device configuration time by setting the flag rte_dma_conf::enable_enq_deq if the device supports RTE_DMA_CAPA_OPS_ENQ_DEQ capability. The

[25.11 PATCH 2/3] dma/cnxk: implement enqueue dequeue ops

2025-04-16 Thread pbhagavatula
From: Pavan Nikhilesh Implement DMA enqueue/dequeue operations when application enables it via configuration. Signed-off-by: Pavan Nikhilesh --- drivers/dma/cnxk/cnxk_dmadev.c| 58 ++--- drivers/dma/cnxk/cnxk_dmadev.h| 7 ++ drivers/dma/cnxk/cnxk_dmadev_fp.c | 140 ++

[25.11 PATCH 0/3] Introduce DMA enqueue/dequeue operations

2025-04-16 Thread pbhagavatula
From: Pavan Nikhilesh Introduce DMA enqueue/dequeue operations to the DMA device library. Add configuration flags to rte_dma_config instead of boolean for individual features. The enqueue/dequeue operations allow applications to communicate with the DMA device using the rte_dma_op structure, pr

[25.11 PATCH 3/3] eventdev: refactor DMA adapter ops

2025-04-16 Thread pbhagavatula
From: Pavan Nikhilesh Migrate all invocations of rte_event_dma_adapter_op API to rte_dma_op. Signed-off-by: Pavan Nikhilesh Acked-by: Amit Prakash Shukla --- app/test-eventdev/test_perf_common.c | 6 +- app/test-eventdev/test_perf_common.h | 4 +- app/test/test_event_dma_a

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

2025-04-16 Thread Nithin Dabilpuram
On Wed, Apr 16, 2025 at 5:33 AM Stephen Hemminger wrote: > > On Tue, 15 Apr 2025 12:38:18 +0530 > Nithin Dabilpuram wrote: > > > On Fri, Apr 4, 2025 at 6:16 AM Stephen Hemminger > > wrote: > > > > > > On Thu, 3 Apr 2025 12:38:34 +0530 > > > Nithin Dabilpuram wrote: > > > > > > > /** > > > >

Re: [PATCH 4/4] ci: check licenses

2025-04-16 Thread Maxime Coquelin
On 4/16/25 2:34 PM, Maxime Coquelin wrote: From: David Marchand Call check-spdx.tag.sh so that all committed files are checked. Signed-off-by: David Marchand Acked-by: Aaron Conole --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/bui

Re: [PATCH 00/46] Support AMD Solarflare X45xx adaptors

2025-04-16 Thread Stephen Hemminger
On Wed, 16 Apr 2025 21:37:09 +0400 (+04) Ivan Malov wrote: > On Wed, 16 Apr 2025, Stephen Hemminger wrote: > > > On Wed, 16 Apr 2025 19:38:58 +0400 (+04) > > Ivan Malov wrote: > > > >> On Wed, 16 Apr 2025, Stephen Hemminger wrote: > >> > >>> On Wed, 16 Apr 2025 17:59:30 +0400 > >>> Ivan Mal

[PATCH v4 0/4] allow pmdinfo to be inserted and parsed using MSVC

2025-04-16 Thread Andre Muezerie
DPDK uses GCC attribute "used" through macro __rte_used to indicate that a variable not referenced in the code should be assumed being used and therefore not be optimized away. This technique is used to embed information in the binaries, by having crafted information stored in them. MSVC offers si

[PATCH v4 2/4] buildtools: use macro to embed information in binaries

2025-04-16 Thread Andre Muezerie
The archiver tool from the MSVC toolset is lib.exe. It has different parameters then it's GNU counterpart "ar". buildtools\meson.build was updated to use lib.exe when MSVC compiler is used. This is to allow the code to be built without requiring GNU "ar" to be installed in that scenario. Script g

[PATCH v4 3/4] usertools: parse strings from PE images

2025-04-16 Thread Andre Muezerie
Script usertools\dpdk-pmdinfo.py was enhanced to also be able to parse symbols from sections in PE images. Signed-off-by: Andre Muezerie --- usertools/dpdk-pmdinfo.py | 53 +++ 1 file changed, 43 insertions(+), 10 deletions(-) diff --git a/usertools/dpdk-pmdi

[PATCH v4 1/4] eal: add macro to embed information in binaries

2025-04-16 Thread Andre Muezerie
DPDK uses GCC attribute "used" through macro __rte_used to indicate that a variable not referenced in the code should be assumed being used and therefore not be optimized away. This technique is used to embed information in the binaries, by having crafted information stored in them. MSVC offers si

[PATCH 3/4] vhost: use imported VDUSE uAPI header

2025-04-16 Thread Maxime Coquelin
This patch makes use of the imported VDUSE uAPI header, and remove VDUSE build dependency on the presence of the VDUSE header on the system. Signed-off-by: Maxime Coquelin --- lib/vhost/meson.build | 5 + lib/vhost/vduse.c | 2 +- lib/vhost/vduse.h | 22 -- 3 fi

[PATCH 2/4] uapi: import VDUSE header from v6.14 kernel

2025-04-16 Thread Maxime Coquelin
This header will be used by the Vhost library. Signed-off-by: Maxime Coquelin --- kernel/linux/uapi/linux/vduse.h | 353 kernel/linux/uapi/version | 2 +- 2 files changed, 354 insertions(+), 1 deletion(-) create mode 100644 kernel/linux/uapi/linux/vduse.

[PATCH 4/4] ci: check licenses

2025-04-16 Thread Maxime Coquelin
From: David Marchand Call check-spdx.tag.sh so that all committed files are checked. Signed-off-by: David Marchand Acked-by: Aaron Conole --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7a6b679

[PATCH 1/4] license: add exception for Linux Kernel uAPI headers

2025-04-16 Thread Maxime Coquelin
As approved by both Technical and Governing boards, Linux Kernel uAPI header files can now be imported into the kernel/linux/uapi directory. This patch also fix the SPDX tags checker script to take into account dual-licensed files. The process to import such headers is documented in doc/guides/co

[PATCH 0/4] Linux Kernel uAPI headers import

2025-04-16 Thread Maxime Coquelin
This series documents the license exception granted by both the technical and governing boards to import uAPI header files. It also imports VDUSE uAPI header file from Kernel v6.14. David Marchand (1): ci: check licenses Maxime Coquelin (3): license: add exception for Linux Kernel uAPI heade

[patch v6 5/6] bus/vmbus: add rte_vmbus_device to all functions accessing vmbus

2025-04-16 Thread longli
From: Long Li The secondary process can access its vmbus device through device private region. Add and pass it on all call chains leading to vmbus code. Signed-off-by: Long Li --- Change log. v5: rebased to the latest net-next drivers/bus/vmbus/linux/vmbus_uio.c | 2 +- drivers/bus/vmbus/priv