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
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_crc32.c| 18 -
drivers/net/rnp/base/rnp_crc32.h| 1 +
drivers/net/rnp/base/rnp_eth_regs.h | 3
add platform method for get rx/tx burst function select
by upload func name.
Signed-off-by: Wenbo Cao
---
doc/guides/nics/rnp.rst | 2 ++
drivers/net/rnp/rnp_ethdev.c | 2 ++
drivers/net/rnp/rnp_rxtx.c | 58
drivers/net/rnp/rnp_rxtx.h | 6
4
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 | 3 +-
drivers/net/rnp/base/meson.build| 1 +
drivers/net/rnp/base/rnp_bitrev.h | 64
drivers/net/rnp/base/rnp_crc
add support get queue configure info for user debug
Signed-off-by: Wenbo Cao
---
doc/guides/nics/rnp.rst | 2 ++
drivers/net/rnp/rnp_ethdev.c | 2 ++
drivers/net/rnp/rnp_rxtx.c | 42
drivers/net/rnp/rnp_rxtx.h | 4
4 files changed, 50 inserti
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 | 4 +
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
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
add mac filter for single/multiple port.
Signed-off-by: Wenbo Cao
---
doc/guides/nics/features/rnp.ini| 1 +
doc/guides/nics/rnp.rst | 6 ++
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 +++
add support mac eth rx tx hw xstats.
Signed-off-by: Wenbo Cao
---
doc/guides/nics/features/rnp.ini| 1 +
doc/guides/nics/rnp.rst | 3 +
drivers/net/rnp/base/rnp_eth_regs.h | 4 +
drivers/net/rnp/base/rnp_mac_regs.h | 80 ++
drivers/net/rnp/rnp.h | 44
add support multiple segs mbuf send.
Signed-off-by: Wenbo Cao
---
drivers/net/rnp/rnp_ethdev.c | 2 +
drivers/net/rnp/rnp_rxtx.c | 126 ++-
drivers/net/rnp/rnp_rxtx.h | 3 +-
3 files changed, 128 insertions(+), 3 deletions(-)
diff --git a/drivers/net/rnp/
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 | 3 +
drivers/net/rnp/base/rnp_eth_regs.h | 3 +
drivers/net/rnp/rnp.h | 8 ++
drivers/net/rnp/rnp_ethdev.c| 136 +
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
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 | 3 +
drivers/net/rnp/base/rnp_eth_regs.h | 3 +
drivers/net/rnp/rnp.h
add set link_down/link_up implement
Signed-off-by: Wenbo Cao
---
doc/guides/nics/rnp.rst | 2 +
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 +++
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 | 7 +
drivers/net/rnp/base/rnp_eth_regs.h | 16 ++
drivers/net/rnp/meson.build | 1 +
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 | 3 +
drivers/net/rnp/base/rnp_fw_cmd.c | 45
drivers/net/rnp/base/rnp_fw_cmd.h | 55 +
drivers/net/rnp/base/rnp_hw.h | 3 +
add basic support for device to start/stop function.
Signed-off-by: Wenbo Cao
---
doc/guides/nics/rnp.rst | 2 +
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_reg
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
Reviewed-by: Stephen Hemminger
---
doc/guides/nics/features/rnp.ini | 1 +
doc/guides/nics/rnp.rst | 4 +
drivers/net/rnp/base/rnp_commo
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 | 3 +
drivers/net/rnp/base/meson.build| 1 +
drivers/net/rnp/base/rnp_bdq_if.c | 398 +++
drivers/net/rnp/base/rnp_bdq_if.h
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 | 11 +++
drivers/net/rnp/base/rnp_common.c | 5 ++
drivers/net/rnp/base/rnp_eth_regs.h | 15 ++
add get device hardware capability function
Signed-off-by: Wenbo Cao
---
doc/guides/nics/features/rnp.ini | 1 +
doc/guides/nics/rnp.rst | 1 +
drivers/net/rnp/base/rnp_fw_cmd.c | 20 ++
drivers/net/rnp/base/rnp_fw_cmd.h | 80 +
drivers/net/rnp/base/rnp_m
add firmware communic method and basic device
init, uninit and close resource function.
Signed-off-by: Wenbo Cao
Reviewed-by: Ferruh Yigit
---
doc/guides/nics/rnp.rst | 10 +
drivers/net/rnp/base/meson.build| 4 +
drivers/net/rnp/base/rnp_common.c | 73 ++
drivers/net/
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 | 12 +
drivers/net/rnp/base/rnp_hw.h| 77 +
drivers/net/rnp/base/rnp
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
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
Add basic PCIe ethdev probe and remove.
Signed-off-by: Wenbo Cao
Reviewed-by: Stephen Hemminger
---
doc/guides/nics/rnp.rst | 17 ++
drivers/net/rnp/rnp.h| 16 +
drivers/net/rnp/rnp_ethdev.c | 66
3 files changed, 99 insertions(+
Support eCPRI item matching over L2 (ETHER / VLAN) in HWS, both for
template API and backward compatibility API.
Signed-off-by: Bing Zhao
Acked-by: Dariusz Sosnowski
---
v2: fix the checkpatch warning of unneeded else
v3: fix single line if condition code style warning
---
drivers/net/mlx5/hws/
Support eCPRI item matching over L2 (ETHER / VLAN) in HWS, both for
template API and backward compatibility API.
Signed-off-by: Bing Zhao
Acked-by: Dariusz Sosnowski
---
v2: fix the checkpatch warning of unneeded else
---
drivers/net/mlx5/hws/mlx5dr_definer.c | 86 +++
d
> -Original Message-
> From: Pavan Nikhilesh Bhagavatula
> Sent: Tuesday, February 25, 2025 6:37 PM
> To: Shijith Thotton ; Jerin Jacob
> Cc: dev@dpdk.org; Shijith Thotton ; sta...@dpdk.org;
> Naga Harish K S V
> Subject: RE: [PATCH] test/event: fix number of queues in eventdev conf
>
On 2025/1/22 16:15, Yang Ming wrote:
Hi Stephen
Hi Stephen,
Could you please confirm the comment above?
Brs,
Yang Ming
Fix two bugs of error process logic.
Fixes: 19bd7cce5705 ("net/nfp: support different configuration BAR size")
Fixes: 636e133ec891 ("net/nfp: update Tx and Rx for multiple PF")
Cc: peng.zh...@corigine.com
Cc: sta...@dpdk.org
Signed-off-by: Chaoyong He
Reviewed-by: Peng Zhang
---
drivers/net/nf
This is the last week to submit a talk proposal
for the DPDK Summit happening on May 8-9 in Prague, Czech Republic.
When your idea is ready, go to this page:
https://events.linuxfoundation.org/dpdk-summit/program/cfp/
The CFP period closes on this Sunday, 2 March.
The DPDK Summit is welc
On Tue, Feb 25, 2025 at 02:28:02PM +, Bruce Richardson wrote:
> On Mon, Feb 24, 2025 at 01:01:16PM -0800, Andre Muezerie wrote:
> > Up to now MSVC has being used with the default mode, which uses SSE2
> > instructions for scalar floating-point and vector calculations.
> > https://learn.microsof
Hi Stephen,
I had been not added it to const struct eth_dev_ops for
.rx/tx_queue_stop/stop :(
Thanks for your check
Regrads Wenbo
> -Original Message-
> From: Stephen Hemminger
> Sent: 2025年2月26日 0:09
> To: Wenbo Cao
> Cc: tho...@monjalon.net; dev@dpdk.org; yao...@mucse.com
> Subject:
Meson.build files were refactored to add MSVC support for the AVX2
instruction set with MSVC: Top level variable cc_avx2_flags was created
and set according to the compiler used. It is used in lower level
directories.
Andre Muezerie (5):
eal: make compatible with instruction set updates for MSVC
Top level variable cc_avx2_flags was created and set according to the
compiler used. It is used in lower level directories.
Signed-off-by: Andre Muezerie
---
config/x86/meson.build | 6 ++
1 file changed, 6 insertions(+)
diff --git a/config/x86/meson.build b/config/x86/meson.build
index 47a
Top level 'cc_avx2_flags' was created and holds the correct flags
depending on the compiler used.
Signed-off-by: Andre Muezerie
---
lib/acl/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/acl/meson.build b/lib/acl/meson.build
index fefe131a48..a28d70c23f 10064
Top level 'cc_avx2_flags' was created and holds the correct flags
depending on the compiler used.
Signed-off-by: Andre Muezerie
---
drivers/net/bnxt/meson.build | 2 +-
drivers/net/enic/meson.build | 2 +-
drivers/net/intel/i40e/meson.build | 2 +-
drivers/net/intel/iavf/meson.build
After the instruction set updates for MSVC the error below popped up:
..\lib\eal\x86\include\rte_vect.h(82): error C2059: syntax error: '('
The issue is that MSVC does not allow __rte_aligned(RTE_X86_ZMM_SIZE).
It only accepts numbers that are power of 2. So, even though
RTE_X86_ZMM_SIZE represen
After the instruction set updates for MSVC the error below popped up:
../lib/eal/common/rte_random.c(6): fatal error C1083:
Cannot open include file: 'x86intrin.h': No such file or directory
The fix is to not include header x86intrin.h with MSVC.
Signed-off-by: Andre Muezerie
---
lib/eal/c
Updates are added to enable releasing of unused credits by threads
to avoid deadlock and starving of other active threads needing credits.
It also adds compile time options to enable/disable credit checks.
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
.mailmap
Recheck-request: iol-marvell-Functional
Putting in a recheck as I believe the fail CI reported is false.
On Sun, Feb 23, 2025 at 4:41 PM Ariel Otilibili
wrote:
> rte_pcapng_close() might dereference a null pointer; as example,
> PVS-Studio gives its usage in test_pcapng.c: indeed, that call to
Acked-by: Vladimir Medvedkin
On 21/02/2025 08:25, Mingjin Ye wrote:
The pf has enabled the ACL filter, so uninit is no longer limited
to the DCF.
Fixes: a9d612291c2d ("net/ice: support IPv4 fragments in ACL filters")
Signed-off-by: Mingjin Ye
---
drivers/net/intel/ice/ice_acl_filter.c | 48
On Tue, Feb 25, 2025 at 05:21:10PM +, Bruce Richardson wrote:
> On Tue, Feb 25, 2025 at 08:37:27AM -0800, Andre Muezerie wrote:
> > On Tue, Feb 25, 2025 at 09:03:37AM +, Bruce Richardson wrote:
> > > On Mon, Feb 24, 2025 at 01:01:18PM -0800, Andre Muezerie wrote:
> > > > Top level 'cc_avx2_
On Tue, Feb 25, 2025 at 08:37:27AM -0800, Andre Muezerie wrote:
> On Tue, Feb 25, 2025 at 09:03:37AM +, Bruce Richardson wrote:
> > On Mon, Feb 24, 2025 at 01:01:18PM -0800, Andre Muezerie wrote:
> > > Top level 'cc_avx2_flags' was created and holds the correct flags
> > > depending on the comp
On Tue, Feb 25, 2025 at 09:06:26AM +, Bruce Richardson wrote:
> On Mon, Feb 24, 2025 at 01:01:17PM -0800, Andre Muezerie wrote:
> > Top level 'cc_avx2_flags' was created and holds the correct flags
> > depending on the compiler used.
> >
> > Signed-off-by: Andre Muezerie
> > ---
> > drivers/
On Tue, Feb 25, 2025 at 09:03:37AM +, Bruce Richardson wrote:
> On Mon, Feb 24, 2025 at 01:01:18PM -0800, Andre Muezerie wrote:
> > Top level 'cc_avx2_flags' was created and holds the correct flags
> > depending on the compiler used.
> >
> > File meson.build was updated to handle the correct A
On Mon, Feb 24, 2025 at 02:43:07PM +0100, Burakov, Anatoly wrote:
> On 21/02/2025 17:04, Bruce Richardson wrote:
> > The mbuf cleanup function is not being called correctly on close of the
> > driver, due to the vector_tx flag not being set correctly on each Tx
> > queue. Normally, this causes no v
> -Original Message-
> From: Bing Zhao
> Sent: Tuesday, February 25, 2025 17:03
> To: Slava Ovsiienko ; dev@dpdk.org; Raslan
> Darawsheh
> Cc: Ori Kam ; Dariusz Sosnowski ;
> Suanming Mou ; Matan Azrad ;
> Hamdan Agbariya
> Subject: [PATCH] net/mlx5: add eCPRI support
>
> Support eCP
On 2/24/25 11:35 AM, Gowrishankar Muthukrishnan wrote:
Until virtio avail ring is initialized (by VHOST_USER_SET_VRING_ADDR),
worker thread should not try to fetch crypto op, which would lead to
memory fault.
Fixes: 939066d96563 ("vhost/crypto: add public function implementation")
Cc: sta...@
On Tue, 25 Feb 2025 09:34:54 +0800
Chaoyong He wrote:
> From: Long Wu
>
> The 'ipackets'/'opackets' are used to record the number
> of packets on represetor port received/sent. But the
> code does not consider concurrent calculation of
> 'ipackets'/'opackets'. If multiple queues are calculated
On Tue, 25 Feb 2025 18:42:52 +0800
Junlong Wang wrote:
> V3:
> - fix warning enable asserts compile.
> - fix warning enable address sanitizer for undefined checks.
> - modify extra memset and cast.
> - remove __rte_unused from function prototypes.
> - fix indentation in mtr get and use
Hi,
On 1/27/25 8:41 AM, Kommula Shiva Shankar wrote:
This patch adds virtio hash report feature, which is
supported in packet queue mode with scalar version
Why only restrict to packed ring? isn't it also compatible with split
ring?
Signed-off-by: Kommula Shiva Shankar
---
drivers/net/vi
On Tue, 25 Feb 2025 16:41:06 +0800
Wenbo Cao wrote:
> diff --git a/doc/guides/nics/rnp.rst b/doc/guides/nics/rnp.rst
> index 99b96e9b8e..c3547c38b6 100644
> --- a/doc/guides/nics/rnp.rst
> +++ b/doc/guides/nics/rnp.rst
> @@ -71,6 +71,10 @@ Listed below are the rte_eth functions supported:
> * ``
Support eCPRI item matching over L2 (ETHER / VLAN) in HWS, both for
template API and backward compatibility API.
Signed-off-by: Bing Zhao
---
drivers/net/mlx5/hws/mlx5dr_definer.c | 86 +++
drivers/net/mlx5/mlx5_flow.h | 3 +
drivers/net/mlx5/mlx5_flow_hw.c
On Tue, Feb 25, 2025 at 09:12:36AM +, Mingjin Ye wrote:
> The minimum free packet threshold (tx_free_thresh) and the minimum RS bit
> threshold (tx_rs_thresh) both have a default value of 32. Therefore, the
> default minimum number of ring descriptors value is 64.
>
> For reference, see "Confi
Added checks for if a nic supports the simple_xor,
symmetric_toeplitz, symmetric_toeplitz_sort,
toeplitz, and default hashing algorithms.
Signed-off-by: Thomas Wilks
Reviewed-by: Paul Szczepanek
---
dts/framework/remote_session/testpmd_shell.py | 146 ++
dts/tests/TestSuite_pmd
From: Alex Chapman
Port over the rss_key_update test suite from old DTS. This
suite verifies that setting a new hash key when Receive Side
Scaling (RSS) will result in a change in the packets destination
queue. This test suite also verifies that the reported key size
of the NIC is correct.
Signe
From: Alex Chapman
Port over the pmd_rss_hash test suite from old DTS. This
suite verifies that the 4 supported types of hashing
algorithm used in Receive Side Scaling (RSS) function
correctly. Them being DEFAULT, TOEPLITZ
SYMMETRIC_TOEPLITZ and SIMPLE_XOR. This test suite also
verifies the suppo
From: Alex Chapman
Port over the pmd_rss_reta test suite from old DTS. This
suite verifies that Redirection Tables (RETAs) of different
sizes function correctly in Receive Side Scaling (RSS).
This test suite also verifies that the reported reta size
of the NIC is correct.
Signed-off-by: Alex Cha
From: Alex Chapman
To reduce the amount of maintenance and code duplication,
common functionality between the rss_key_update, pmd_rss_reta
and pmd_rss_hash test suites has been collated into a single
file called rss_utils.
It contains 3 main functions:
1. verify that a packets RSS hash correctly
v2:
- Added RSS capabilities check.
- Added testsuite that tests RSS hashes.
- Added testsuite that tests updating the RSS hash key.
- Added testsuite that verifies the RETA size.
Alex Chapman (5):
dts: add RSS functions to testpmd
dts: add utils for PMD RSS testsuites
dts: add PMD RSS hash
From: Alex Chapman
This patch adds the required functionality for the RSS key_update,
RETA, and hash test suites. This includes:
The setting of custom RETA values for routing packets to specific
queues.
The setting of the RSS mode on all ports, to specify how to hash
the packets.
The updating of
On Mon, Feb 24, 2025 at 01:01:16PM -0800, Andre Muezerie wrote:
> Up to now MSVC has being used with the default mode, which uses SSE2
> instructions for scalar floating-point and vector calculations.
> https://learn.microsoft.com/en-us/cpp/build/reference/arch-x64?view=msvc-170
>
> This patch all
> -Original Message-
> From: Kommula Shiva Shankar
> Sent: Wednesday, January 29, 2025 8:07 PM
> To: Jerin Jacob ; Amit Prakash Shukla
> ; Vamsi Krishna Attunuru
> ; fengcheng...@huawei.com; dev@dpdk.org
> Cc: Nithin Kumar Dabilpuram ; Pavan Nikhilesh
> Bhagavatula
> Subject: [PATCH RF
> -Original Message-
> From: Kommula Shiva Shankar
> Sent: Wednesday, January 29, 2025 8:07 PM
> To: Jerin Jacob ; Amit Prakash Shukla
> ; Vamsi Krishna Attunuru
> ; fengcheng...@huawei.com; dev@dpdk.org
> Cc: Nithin Kumar Dabilpuram ; Pavan Nikhilesh
> Bhagavatula
> Subject: [PATCH RF
> -Original Message-
> From: Pavan Nikhilesh Bhagavatula
> Sent: Tuesday, February 25, 2025 6:48 PM
> To: Gujjar, Abhinandan S ; Stephen
> Hemminger ; dev@dpdk.org
> Cc: Morten Brørup ; Richardson, Bruce
> ; Jerin Jacob ; Amit
> Prakash Shukla ; Naga Harish K, S V
>
> Subject: RE: [PATC
> > -Original Message-
> > From: Stephen Hemminger
> > Sent: Thursday, February 20, 2025 10:25 PM
> > To: dev@dpdk.org
> > Cc: Stephen Hemminger ; Morten Brørup
> > ; Richardson, Bruce
> > ; Gujjar, Abhinandan S
> > ; Jerin Jacob ; Amit
> > Prakash Shukla ; Naga Harish K, S V
> >
> > Sub
> -Original Message-
> From: Shijith Thotton
> Sent: Thursday, February 6, 2025 8:03 PM
> To: Jerin Jacob
> Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula
> ; Shijith Thotton ;
> sta...@dpdk.org; Naga Harish K S V
> Subject: [PATCH] test/event: fix number of queues in eventdev conf
>
> -Original Message-
> From: Stephen Hemminger
> Sent: Thursday, February 20, 2025 10:25 PM
> To: dev@dpdk.org
> Cc: Stephen Hemminger ; Morten Brørup
> ; Richardson, Bruce
> ; Gujjar, Abhinandan S
> ; Jerin Jacob ; Amit
> Prakash Shukla ; Naga Harish K, S V
>
> Subject: [PATCH v3 02/14]
Nacked-by: Dariusz Sosnowski
Please see below:
> diff --git a/drivers/net/mlx5/linux/mlx5_os.c
> b/drivers/net/mlx5/linux/mlx5_os.c
> index 091f288..9410211 100644
> --- a/drivers/net/mlx5/linux/mlx5_os.c
> +++ b/drivers/net/mlx5/linux/mlx5_os.c
> @@ -1707,6 +1707,17 @@ mlx5_dev_spawn(struct rt
> -Original Message-
> From: Ophir Munk
> Sent: Tuesday, February 25, 2025 13:02
> To: Dariusz Sosnowski ; Slava Ovsiienko
> ; Bing Zhao ; Ori Kam
> ; Suanming Mou ; Matan Azrad
>
> Cc: dev@dpdk.org; Raslan Darawsheh ; Jiawei(Jonny)
> Wang
> Subject: [PATCH V1 3/4] net/mlx5: remove un
> -Original Message-
> From: Ophir Munk
> Sent: Tuesday, February 25, 2025 13:02
> To: Dariusz Sosnowski ; Slava Ovsiienko
> ; Bing Zhao ; Ori Kam
> ; Suanming Mou ; Matan Azrad
>
> Cc: dev@dpdk.org; Raslan Darawsheh
> Subject: [PATCH V1 4/4] net/mlx5/hws: allow different types in mis
> -Original Message-
> From: Ophir Munk
> Sent: Tuesday, February 25, 2025 13:02
> To: Dariusz Sosnowski ; Slava Ovsiienko
> ; Bing Zhao ; Ori Kam
> ; Suanming Mou ; Matan Azrad
>
> Cc: dev@dpdk.org; Raslan Darawsheh
> Subject: [PATCH V1 2/4] net/mlx5: support FDB unified domain
>
>
> -Original Message-
> From: Ophir Munk
> Sent: Tuesday, February 25, 2025 13:02
> To: Dariusz Sosnowski ; Slava Ovsiienko
> ; Bing Zhao ; Ori Kam
> ; Suanming Mou ; Matan Azrad
>
> Cc: dev@dpdk.org; Raslan Darawsheh
> Subject: [PATCH V1 1/4] common/mlx5: support FDB unified capabilit
In validating Jump from group A to default miss group B DPDK requests
that both groups types will be identical. In practice jumping from
FDB_UNIFIED to FDB_RX or FDB_TX group types (or vice versa) is allowed.
This commit enables this jumping between the different types.
Fixes: b81f95ca770d ("net/m
From: Bing Zhao
The "send_to_kernel" action is shared and created during the HWS
configuration stage. By default, the NIC Rx and Tx flags are needed.
There is only one case that the FDB* flags are needed when creating
the action, the same as other shared actions. Only the transfer proxy
port nee
Legacy FDB domain is enhanced with optional three sub-domains: FDB_RX
FDB_TX and FDB_UNIFIED. Based on FW capability bit mlx5 will work in
either legacy or unified mode. To work in fdb unified mode the flow
attribute transfer bit must be set and the fdb sub domains are
determined by the table speci
This commit queries the FW for the new unified FDB mode and saves it in
mlx5 shared device as fdb_unified_en bit.
Signed-off-by: Ophir Munk
---
drivers/common/mlx5/mlx5_devx_cmds.c | 3 +++
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/common/
provide extended stats ops implementations.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 1 +
doc/guides/nics/zxdh.rst | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 3 +
drivers/net/zxdh/zxdh_ethdev_ops.c | 265 -
drivers/net/zxdh
provide ptypes、FW version、EEPROM ops.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 2 +
drivers/net/zxdh/zxdh_ethdev.c | 30 +
drivers/net/zxdh/zxdh_ethdev_ops.c | 200 +
drivers/net/zxdh/zxdh_ethdev_ops.h | 3 +
drivers/net/zxdh/z
provided CSUM/TSO/LRO config.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 5 ++
doc/guides/nics/zxdh.rst | 3 +
drivers/net/zxdh/zxdh_ethdev.c| 93 +++
drivers/net/zxdh/zxdh_msg.c | 15 +
4 files changed, 116 insertions
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 e58891dc32..71e8
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
optimize promisc ops.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_msg.c| 62 ++
drivers/net/zxdh/zxdh_tables.c | 49 +++
drivers/net/zxdh/zxdh_tables.h | 3 +-
3 files changed, 113 insertions(+), 1 deletion(-)
diff --git a/d
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 | 49 +++---
3 files changed, 90 insertions(+), 9 deletions(-)
diff
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
optimize MAC ops
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 41 +-
drivers/net/zxdh/zxdh_ethdev.h | 13 +++-
drivers/net/zxdh/zxdh_ethdev_ops.c | 59 +--
drivers/net/zxdh/zxdh_msg.c| 118 +
drivers/net/zxdh/
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 eefecde823..0c92bd7c05 100
optimize queue res alloc/free process.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_common.c | 27 ++--
drivers/net/zxdh/zxdh_ethdev.c | 200 -
drivers/net/zxdh/zxdh_ethdev.h | 14 +-
drivers/net/zxdh/zxdh_ethdev_ops.c | 13 +-
drivers/net/zxdh
provided PF/VF msg intr callback.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 5 +-
drivers/net/zxdh/zxdh_msg.c| 184 +++--
drivers/net/zxdh/zxdh_msg.h| 8 ++
drivers/net/zxdh/zxdh_tables.c | 17 +++
drivers/net/zxdh/zxdh_tables.h |
V3:
- fix warning enable asserts compile.
- fix warning enable address sanitizer for undefined checks.
- modify extra memset and cast.
- remove __rte_unused from function prototypes.
- fix indentation in mtr get and use assign.
- make callback table const and static.
V2:
- modify CI
Add traffic generator setup and teardown respectively in
TestRunSetup and TestRunTeardown.
Signed-off-by: Luca Vizzarro
Reviewed-by: Paul Szczepanek
---
dts/framework/test_run.py | 2 ++
.../testbed_model/traffic_generator/traffic_generator.py| 2 +-
This patchset enhance the testpmd DCB command features:
1) remove restrict of number of TCs (currently its 4 or 8)
2) support config prio-tc map
3) support don't adjust queue num
4) support disable DCB
Chengwen Feng (4):
app/testpmd: remove restrict of number of TCs in DCB command
app/testpmd:
The minimum free packet threshold (tx_free_thresh) and the minimum RS bit
threshold (tx_rs_thresh) both have a default value of 32. Therefore, the
default minimum number of ring descriptors value is 64.
For reference, see "Configuration of Transmit Queues" in
doc/guides/prog_guide/ethdev/ethdev.rs
In some test scenarios, users want to test DCB by specifying the number
of Rx/Tx queues. But the "port config 0 dcb ..." command will auto
adjust Rx/Tx queue number.
This patch introduces an optional parameter "keep-qnum" which make sure
the "port config 0 dcb ..." command don't adjust Rx/Tx queue
After the "port config 0 dcb ..." command is invoked, no command is
available to disable DCB.
This commit introduces disable DCB when num_tcs is 1, so user could
disable the DCB by command:
port config 0 dcb vt off 1 pfc off
Signed-off-by: Chengwen Feng
---
app/test-pmd/cmdline.c
Currently, the "port config 0 dcb ..." command config the prio-tc map
by remainder operation, which means the prio-tc = prio % nb_tcs.
This commit introduces an optional parameter "prio-tc" which is the same
as kernel dcb ets tool. The new command:
port config 0 dcb vt off 4 pfc off prio-tc 0:1
Currently, the "port config 0 dcb ..." command only supports 4 or 8
TCs. Other number of TCs may be used in actual applications.
This commit removes this restriction.
Cc: sta...@dpdk.org
Signed-off-by: Chengwen Feng
---
app/test-pmd/cmdline.c | 4 ++--
doc/guides/testpmd_a
Whenever queue counter allocation fails, the FW syndrome error
should be checked to determine if maximum number of queue counters
was reached.
Fixes: f0c0731b6d40 ("net/mlx5: add counters for hairpin drop")
Cc: shper...@nvidia.com
Signed-off-by: Dariusz Sosnowski
Acked-by: Bing Zhao
---
driver
1 - 100 of 133 matches
Mail list logo