RE: [PATCH 2/2] lib/hash: avoid implicit conversion to 64 bit number

2025-01-22 Thread Morten Brørup
> From: Andre Muezerie [mailto:andre...@linux.microsoft.com] > Sent: Wednesday, 22 January 2025 22.37 > > On Wed, Jan 22, 2025 at 04:12:49PM +, Bruce Richardson wrote: > > On Wed, Nov 27, 2024 at 05:53:57PM -0800, Andre Muezerie wrote: > > > MSVC issues the warnings below: > > > > > > 1) ../li

[DPDK/eventdev Bug 1576] [dpdk24.11-rc2] DPDK build failed with EXTRA_CFLAGS='-O1' on Redhat9.4

2025-01-22 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1576 tingtingx.l...@intel.com (tingtingx.l...@intel.com) changed: What|Removed |Added Resolution|--- |FIXED

Re: [PATCH v8 00/15] net/zxdh: updated net zxdh driver

2025-01-22 Thread Junlong Wang
This release note looks good! Thank you so much! > How about this for a release note? > From 7137087faa9c1278bc702b69cce6df5e246c5675 Mon Sep 17 00:00:00 2001 > From: Stephen Hemminger > Date: Wed, 22 Jan 2025 10:05:54 -0800 > Subject: [PATCH] doc: add release note for zxdh driver update > Ad

RE: [EXTERNAL] Re: [v25,13/13] compress/zsda: add zsda compressdev capabilities

2025-01-22 Thread Akhil Goyal
> Hi, Akhil: > > There are warning and some errors in the patches. > > > The warning is > > >_coding style issues_ > > > > > >__rte_packed_begin and __rte_packed_end should always be used in pairs. > > And the context in the patch is: > > > struct __rte_packed_begin zsda_admin_req { > > u

[dpdk-dev] [PATCH v4 1/2] common/cnxk: support NPC flow on cn20k

2025-01-22 Thread psatheesh
From: Satheesh Paul ROC changes to support NPC flow on cn20k. Signed-off-by: Satheesh Paul Reviewed-by: Kiran Kumar K --- v2: * Fixed generic platform compiler error. v3: * Removed compile time macros. v4: * Rebased the patches. drivers/common/cnxk/roc_mbox.h | 144 +- drivers/c

[dpdk-dev] [PATCH v4 2/2] net/cnxk: support rte flow on cn20k

2025-01-22 Thread psatheesh
From: Satheesh Paul Support for rte flow in cn20k. Signed-off-by: Satheesh Paul Reviewed-by: Kiran Kumar K --- drivers/net/cnxk/cn10k_flow.c | 227 ++--- drivers/net/cnxk/cn10k_flow.h | 10 +- drivers/net/cnxk/cn20k_ethdev.c| 4 + drivers/net/c

Re: [PATCH v6 01/15] net/xsc: add xsc PMD framework

2025-01-22 Thread WanRenyong
On 2025/1/22 21:39, Thomas Monjalon wrote: >> +Yunsilicon xsc >> +M: WanRenyong >> +M: Na Na >> +M: Rong Qian >> +M: Xiaoxiong Zhang >> +M: Dongwei Xu > Looking at how the names are codified in email addresses, > I feel "Renyong Wan" is the right form for your name in English format. > > Hello

RE: [EXTERNAL] [dpdk-dev] [PATCH v3 2/2] net/cnxk: support rte flow on cn20k

2025-01-22 Thread Satheesh Paul Antonysamy
-Original Message- From: Jerin Jacob Sent: Wednesday, January 22, 2025 6:04 PM To: Satheesh Paul Antonysamy ; Nithin Kumar Dabilpuram ; Kiran Kumar Kokkilagadda ; Sunil Kumar Kori ; Satha Koteswara Rao Kottidi ; Harman Kalra Cc: dev@dpdk.org; Satheesh Paul Antonysamy Subject: RE: [

RE: [PATCH v2] common/cnxk: fix atomic load in batch ops

2025-01-22 Thread Ashwin Sekhar T K
Yes. It is a candidate for backport. Thanks Ashwin > -Original Message- > From: Jerin Jacob > Sent: Wednesday, January 22, 2025 10:31 PM > To: Nawal Kishor ; dev@dpdk.org; Nithin Kumar > Dabilpuram ; Kiran Kumar Kokkilagadda > ; Sunil Kumar Kori ; Satha > Koteswara Rao Kottidi ; Harman K

[DPDK/DTS Bug 1618] l2fwd testsuite match packets failing on Nvidia connectx-6

2025-01-22 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1618 Bug ID: 1618 Summary: l2fwd testsuite match packets failing on Nvidia connectx-6 Product: DPDK Version: 25.03 Hardware: Other OS: All Status: UNCONFIRME

Re: [v25,13/13] compress/zsda: add zsda compressdev capabilities

2025-01-22 Thread Hanxiao Li
Hi, Akhil: There are warning and some errors in the patches. The warning is >_coding style issues_ > > >__rte_packed_begin and __rte_packed_end should always be used in pairs. And the context in the patch is: > struct __rte_packed_begin zsda_admin_req { > uint16_t msg_type; > uin

Re: [PATCH 2/2] lib/hash: avoid implicit conversion to 64 bit number

2025-01-22 Thread Andre Muezerie
On Wed, Jan 22, 2025 at 04:12:49PM +, Bruce Richardson wrote: > On Wed, Nov 27, 2024 at 05:53:57PM -0800, Andre Muezerie wrote: > > MSVC issues the warnings below: > > > > 1) ../lib/hash/rte_thash_gf2_poly_math.c(128): warning C4334: '<<': > > result of 32-bit shift implicitly converted to

RE: [PATCH v2 09/15] mempool: add allocation function attributes

2025-01-22 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Wednesday, 22 January 2025 18.33 > > Use function attributes to catch cases where mempool is allocated > but not freed correctly. > > Signed-off-by: Stephen Hemminger > --- Reviewed-by: Morten Brørup

Re: [PATCH v8 00/15] net/zxdh: updated net zxdh driver

2025-01-22 Thread Stephen Hemminger
How about this for a release note? From 7137087faa9c1278bc702b69cce6df5e246c5675 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 22 Jan 2025 10:05:54 -0800 Subject: [PATCH] doc: add release note for zxdh driver update Add summary of new features. Signed-off-by: Stephen Hemminger --

Re: [PATCH v3 3/7] dts: infer use first core without config

2025-01-22 Thread Nicholas Pratte
Reviewed-by: Nicholas Pratte On Wed, Jan 15, 2025 at 9:19 AM Luca Vizzarro wrote: > > From: Nicholas Pratte > > To further the simplification of the user configuration, use_first_core > can be inferred from the lcores. If the user explicitly includes the > core 0 in the lcores range, it will on

Re: [PATCH v8 00/15] net/zxdh: updated net zxdh driver

2025-01-22 Thread Stephen Hemminger
On Mon, 20 Jan 2025 11:47:08 +0800 Junlong Wang wrote: > V8: > - using __rte_packed_begin/__rte_packed_end replace __rte_packed. > > V7: > - resolved warning '-Waddress-of-packed-member' > in function 'zxdh_dev_rss_reta_update'. > > V6: > - Remove unnecessary __rte_packed in the virtq

Re: [PATCH v3 2/7] dts: simplify build options config

2025-01-22 Thread Nicholas Pratte
Reviewed-by: Nicholas Pratte On Wed, Jan 15, 2025 at 9:19 AM Luca Vizzarro wrote: > > From: Nicholas Pratte > > The build options configuration contained redundant fields that were not > in use, and there is no future scope for their use. > > Bugzilla ID: 1360 > > Signed-off-by: Nicholas Pratte

[PATCH v2 15/15] sched: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where sched port config is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/sched/rte_sched.h | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/lib/sched/rte_sched.h b/lib/sched/rte_sche

Re: [PATCH v3 1/7] dts: enable arch self-discovery

2025-01-22 Thread Nicholas Pratte
Reviewed-by: Nicholas Pratte On Wed, Jan 15, 2025 at 9:19 AM Luca Vizzarro wrote: > > From: Nicholas Pratte > > The 'arch' attribute in the conf.yaml is unnecessary, as this can be > readily discovered directly from any given node. > > Bugzilla ID: 1360 > > Signed-off-by: Nicholas Pratte > Sig

[PATCH v2 12/15] reorder: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where reorder table is allocated but not freed correctly. Signed-off-by: Stephen Hemminger Acked-by: Volodymyr Fialko --- lib/reorder/rte_reorder.h | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/lib/reorder/rt

[PATCH v2 14/15] telemetry: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where telemetry data is allocated but not freed correctly. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- lib/telemetry/rte_telemetry.h | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/lib/telemet

[PATCH v2 13/15] compressdev: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where compressdev is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/compressdev/rte_comp.h | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/lib/compressdev/rte_comp.h b/lib/compr

[PATCH v2 11/15] ring: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where ring is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/ring/rte_ring.h | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/lib/ring/rte_ring.h b/lib/ring/rte_ring.h index 63a71d5871

[PATCH v2 09/15] mempool: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where mempool is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/mempool/rte_mempool.h | 37 - 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/lib/mempool/rte_mempool.h b/lib/me

[PATCH v2 10/15] eventdev: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where eventdev is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/eventdev/rte_event_ring.h | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/lib/eventdev/rte_event_ring.h b/lib/eve

[PATCH v2 08/15] member: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where member table is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/member/rte_member.h | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/member/rte_member.h b/lib/member/rte_mem

[PATCH v2 07/15] bitratestats: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where bitratestats is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/bitratestats/rte_bitrate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bitratestats/rte_bitrate.h b/lib/bitratestats/rte_bitrat

[PATCH v2 03/15] hash: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where hash table is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/hash/rte_fbk_hash.h | 24 +--- lib/hash/rte_hash.h | 21 +++-- 2 files changed, 24 insertions(+), 21 deletions(-) diff -

[PATCH v2 06/15] acl: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where acl table is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/acl/rte_acl.h | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/lib/acl/rte_acl.h b/lib/acl/rte_acl.h index ca75a6f

[PATCH v2 05/15] pipeline: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where pipeline is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/pipeline/rte_port_in_action.h | 55 --- lib/pipeline/rte_table_action.h | 53 +++-- 2 files changed, 56 inser

[PATCH v2 04/15] lpm: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where lpm table is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/lpm/rte_lpm.h | 23 --- lib/lpm/rte_lpm6.h | 23 --- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/lib

[PATCH v2 02/15] rib: annotate rib allocation functions

2025-01-22 Thread Stephen Hemminger
Add function attributes to catch cases where rib is allocated and not freed correctly. Signed-off-by: Stephen Hemminger --- lib/rib/rte_rib.h | 24 +--- lib/rib/rte_rib6.h | 24 +--- 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/lib/rib

[PATCH v2 01/15] fib: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where fib table is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/fib/rte_fib.h | 26 +++--- lib/fib/rte_fib6.h | 24 +--- lib/fib/trie.h | 7 --- 3 files changed, 32 insertions(

[PATCH v2 00/15] Add attributes to allocation functions

2025-01-22 Thread Stephen Hemminger
This patch series builds on the allocation function attributes added in 24.11 release. These annotations will allow for compiler to flag cases where a pointer is allocated with one function but incorrectly passed to a different free function. The current code base does this correctly now, but addi

RE: [PATCH v3] eal: fix macros for MSVC: noinline, alwaysinline, hot

2025-01-22 Thread Morten Brørup
> From: Andre Muezerie [mailto:andre...@linux.microsoft.com] > Sent: Wednesday, 22 January 2025 17.24 > > MSVC supports forcing code to be inlined or forcing code to not be > inlined, like other compilers. It does not support the "hot" hint > though. > > This patch fixes existing macros __rte_noi

RE: [PATCH v2] common/cnxk: fix atomic load in batch ops

2025-01-22 Thread Jerin Jacob
> -Original Message- > From: Nawal Kishor > Sent: Monday, December 2, 2024 10:28 PM > To: dev@dpdk.org; Nithin Kumar Dabilpuram ; > Kiran Kumar Kokkilagadda ; Sunil Kumar Kori > ; Satha Koteswara Rao Kottidi > ; Harman Kalra ; Ashwin > Sekhar T K ; Jerin Jacob > Cc: Nawal Kishor > Sub

[PATCH v3] eal: fix macros for MSVC: noinline, alwaysinline, hot

2025-01-22 Thread Andre Muezerie
MSVC supports forcing code to be inlined or forcing code to not be inlined, like other compilers. It does not support the "hot" hint though. This patch fixes existing macros __rte_noinline and __rte_always_inline so that they also do what is expected from them when used with MSVC. __rte_hot is upd

Re: [PATCH 2/2] lib/hash: avoid implicit conversion to 64 bit number

2025-01-22 Thread Bruce Richardson
On Wed, Nov 27, 2024 at 05:53:57PM -0800, Andre Muezerie wrote: > MSVC issues the warnings below: > > 1) ../lib/hash/rte_thash_gf2_poly_math.c(128): warning C4334: '<<': > result of 32-bit shift implicitly converted to 64 bits > (was 64-bit shift intended?) > > The code would be better of

Re: [PATCH 2/2] lib/hash: avoid implicit conversion to 64 bit number

2025-01-22 Thread Medvedkin, Vladimir
Acked-by: Vladimir Medvedkin On 28/11/2024 01:53, Andre Muezerie wrote: MSVC issues the warnings below: 1) ../lib/hash/rte_thash_gf2_poly_math.c(128): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) The code would be better of

[PATCH] doc: add release not for af_packet

2025-01-22 Thread Stephen Hemminger
Add short release not about enhancements to af_packet. Signed-off-by: Stephen Hemminger --- doc/guides/rel_notes/release_25_03.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/release_25_03.rst b/doc/guides/rel_notes/release_25_03.rst index 85986ffa61..21ec44f0a

Re: [PATCH v2 2/2] drivers/net: fix void function returning a value

2025-01-22 Thread Bruce Richardson
On Wed, Jan 22, 2025 at 07:20:44AM -0800, Andre Muezerie wrote: > This patch avoids warnings like the one below emitted by MSVC: > > ../drivers/common/idpf/idpf_common_rxtx_avx512.c(139): > warning C4098: 'idpf_singleq_rearm': > 'void' function returning a value > > Signed-off-by: Andre M

Re: [PATCH v2 1/2] drivers/common: fix void function returning a value

2025-01-22 Thread Bruce Richardson
On Wed, Jan 22, 2025 at 07:20:43AM -0800, Andre Muezerie wrote: > This patch avoids warnings like the one below emitted by MSVC: > > ../drivers/common/idpf/idpf_common_rxtx_avx512.c(139): > warning C4098: 'idpf_singleq_rearm': > 'void' function returning a value > > Signed-off-by: Andre M

[PATCH v2 2/2] drivers/net: fix void function returning a value

2025-01-22 Thread Andre Muezerie
This patch avoids warnings like the one below emitted by MSVC: ../drivers/common/idpf/idpf_common_rxtx_avx512.c(139): warning C4098: 'idpf_singleq_rearm': 'void' function returning a value Signed-off-by: Andre Muezerie --- drivers/net/i40e/i40e_rxtx_vec_avx2.c | 2 +- drivers/net/i40e

[PATCH v2 1/2] drivers/common: fix void function returning a value

2025-01-22 Thread Andre Muezerie
This patch avoids warnings like the one below emitted by MSVC: ../drivers/common/idpf/idpf_common_rxtx_avx512.c(139): warning C4098: 'idpf_singleq_rearm': 'void' function returning a value Signed-off-by: Andre Muezerie --- drivers/common/idpf/idpf_common_rxtx_avx512.c | 12

[PATCH v2 0/2] fix void function returning a value

2025-01-22 Thread Andre Muezerie
v2: * Updated commit messages to follow standard format. This patch avoids warnings like the one below emitted by MSVC, and is needed to get the code to compile cleanly with MSVC. ../drivers/common/idpf/idpf_common_rxtx_avx512.c(139): warning C4098: 'idpf_singleq_rearm': 'void' function

Re: [PATCH v1] dts: fix checksum suite docstring/variable format

2025-01-22 Thread Luca Vizzarro
Looks good, thanks. Just one nit. Reviewed-by: Luca Vizzarro On 16/01/2025 18:43, Dean Marx wrote: @@ -57,7 +57,7 @@ def send_packets_and_verify( packet_list: List of Scapy packets to send and verify. load: Raw layer load attribute in the sent packet.

Re: [PATCH v6 2/2] dts: add flow create/delete to testpmd shell

2025-01-22 Thread Luca Vizzarro
Hi Dean, it looks mostly good, just some nits. On 21/01/2025 20:41, Dean Marx wrote: +def flow_create(self, flow_rule: FlowRule, port_id: int, verify: bool = True) -> int: +"""Creates a flow rule in the testpmd session. + +Args: +flow_rule: :class:`FlowRule` obje

Re: [EXTERNAL] [RFC v5 1/2] eventdev: add atomic queue to test-eventdev app

2025-01-22 Thread Luka Jankovic
On Wed, 2025-01-22 at 10:20 +, Pavan Nikhilesh Bhagavatula wrote: > > Add an atomic queue test based on the order queue test that exclusively uses > > atomic queues. > > This makes it compatible with event devices such as the distributed software > > eventdev. > > > > The test detects if port m

Re: [PATCH v6 1/2] dts: add flow rule dataclass to testpmd shell

2025-01-22 Thread Luca Vizzarro
Thanks Dean! Looks good to me. Reviewed-by: Luca Vizzarro

Re: [PATCH v2] service: add service maintenance callback

2025-01-22 Thread Piotr Krzewinski
On 1/7/2025 11:01 AM, Mattias Rönnblom wrote: > On 2024-12-31 11:02, Piotr Krzewinski wrote: >> Add option to register a callback running on service lcores >> along regular services, which gets information about the service loop. >> It enables doing maintenance work or power saving during periods w

RE: [RFC PATCH] eventdev: adapter API to configure multiple Rx queues

2025-01-22 Thread Shijith Thotton
>> >> >> >>> This RFC introduces a new API, >> >> >> >>> rte_event_eth_rx_adapter_queues_add(), >> >> >> >>> designed to enhance the flexibility of configuring multiple Rx >> >> >> >>> queues in eventdev Rx adapter. >> >> >> >>> >> >> >> >>> The existing rte_event_eth_rx_adapter_queue_add() API sup

Re: [PATCH v6 01/15] net/xsc: add xsc PMD framework

2025-01-22 Thread Thomas Monjalon
> +Yunsilicon xsc > +M: WanRenyong > +M: Na Na > +M: Rong Qian > +M: Xiaoxiong Zhang > +M: Dongwei Xu Looking at how the names are codified in email addresses, I feel "Renyong Wan" is the right form for your name in English format.

Re: [PATCH v1] dts: fix checksum suite docstring/variable format

2025-01-22 Thread Paul Szczepanek
Reviewed-by: Paul Szczepanek On 16/01/2025 18:43, Dean Marx wrote: > Fixes checksum offload test suite docstring format > by adding steps and verify sections. Changes variables > formatted in camel case to snake case to fit python standards. > > Fixes: 8c9a7471a0e6 ("dts: add checksum offload te

RE: [EXTERNAL] [PATCH v2 1/2] common/cnxk: fix mailbox timeout issues

2025-01-22 Thread Jerin Jacob
> -Original Message- > From: Harman Kalra > Sent: Thursday, November 14, 2024 3:02 PM > To: Nithin Kumar Dabilpuram ; Kiran Kumar > Kokkilagadda ; Sunil Kumar Kori > ; Satha Koteswara Rao Kottidi > ; Harman Kalra > Cc: dev@dpdk.org > Subject: [EXTERNAL] [PATCH v2 1/2] common/cnxk: fix m

RE: [EXTERNAL] [dpdk-dev] [PATCH v3 2/2] net/cnxk: support rte flow on cn20k

2025-01-22 Thread Jerin Jacob
> -Original Message- > From: psathe...@marvell.com > Sent: Tuesday, November 12, 2024 3:29 PM > To: Nithin Kumar Dabilpuram ; Kiran Kumar > Kokkilagadda ; Sunil Kumar Kori > ; Satha Koteswara Rao Kottidi > ; Harman Kalra > Cc: dev@dpdk.org; Satheesh Paul Antonysamy > Subject: [EXTERNA

RE: [EXTERNAL] [PATCH v2] eventdev: add port attribute for independent enqueue

2025-01-22 Thread Jerin Jacob
> -Original Message- > From: pravin.pat...@intel.com > Sent: Tuesday, December 17, 2024 2:03 AM > To: dev@dpdk.org > Cc: Jerin Jacob ; mike.ximing.c...@intel.com; > bruce.richard...@intel.com; tho...@monjalon.net; > david.march...@redhat.com; tirthendu.sar...@intel.com; > pravin.pat...@

RE: [EXTERNAL] Re: [PATCH] lib/eventdev: use correct format string for data type on log call

2025-01-22 Thread Jerin Jacob
> -Original Message- > From: Stephen Hemminger > Sent: Friday, December 27, 2024 11:30 PM > To: Andre Muezerie > Cc: Amit Prakash Shukla ; Jerin Jacob > ; dev@dpdk.org > Subject: [EXTERNAL] Re: [PATCH] lib/eventdev: use correct format string for > data type on log call > > On Fri, 27

[PATCH 1/1] test/crypto: additional RSA tests for CNXK PMD

2025-01-22 Thread Gowrishankar Muthukrishnan
Include additional RSA tests for CNXK PMD. These tests validates RSA operations using private key in exponent form. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_cryptodev_asym.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_c

Re: [PATCH 0/3] flexible IPv4 fragment action

2025-01-22 Thread Bruce Richardson
On Wed, Jan 22, 2025 at 08:23:07AM +, Mingjin Ye wrote: > Support for distributing the first and other segments of an IPv4 > segmented packet to different RX queues. > > Mingjin Ye (3): > net/ice/base: add ipv4 fragment related field > net/ice: FDIR support IPv4 fragment masks > net/ice:

Re: [PATCH v2 0/3] Fix warnings when using gcc 15

2025-01-22 Thread David Marchand
On Tue, Jan 21, 2025 at 12:25 AM Stephen Hemminger wrote: > > Three fixes need to make current main branch build cleanly with > current pre-release of Gcc 15. > > Stephen Hemminger (3): > crypto/cnxk: fix gcc 15 warning > net/thunderx/base: fix build with Gcc 15 > examples/flow_filtering: fi

RE: [EXTERNAL] [RFC v5 1/2] eventdev: add atomic queue to test-eventdev app

2025-01-22 Thread Pavan Nikhilesh Bhagavatula
> Add an atomic queue test based on the order queue test that exclusively uses > atomic queues. > This makes it compatible with event devices such as the distributed software > eventdev. > > The test detects if port maintenance is required. > > To verify atomicity, a spinlock is set up for each c

[PATCH v25 12/13] compress/zsda: add zsda compressdev dequeue datapath

2025-01-22 Thread Hanxiao Li
Add zsda compressdev dequeue datapath. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp.c | 56 ++ drivers/common/zsda/zsda_qp.h | 1 + drivers/common/zsda/zsda_qp_common.h | 4 + drivers/compress/zsda/zsda_comp.c | 155 ++ drive

[PATCH v25 06/13] compress/zsda: add zsda compressdev driver skeleton

2025-01-22 Thread Hanxiao Li
Add zsda compressdev driver interface skeleton Signed-off-by: Hanxiao Li --- MAINTAINERS | 3 + doc/guides/compressdevs/features/zsda.ini | 6 + doc/guides/compressdevs/index.rst | 1 + doc/guides/compressdevs/zsda.rst | 171 ++

[PATCH v25 04/13] common/zsda: add functions to operate hardware queue

2025-01-22 Thread Hanxiao Li
Add functions to operate hardware queue, such as queue start,stop and clear. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_device.c| 7 + drivers/common/zsda/zsda_qp.c| 187 +++ drivers/common/zsda/zsda_

[PATCH v25 11/13] compress/zsda: add zsda compressdev enqueue datapath

2025-01-22 Thread Hanxiao Li
Add zsda compressdev enqueue datapath. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 2 +- drivers/common/zsda/zsda_qp.c | 105 drivers/common/zsda/zsda_qp.h | 13 +- drivers/common/zsda/zsda_qp_common.c | 72 drivers/common/zsda

[PATCH v25 10/13] compress/zsda: add zsda compressdev qp ops

2025-01-22 Thread Hanxiao Li
Add zsda compressdev qp interface implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp.c | 267 ++ drivers/common/zsda/zsda_qp.h | 84 drivers/common/zsda/zsda_qp_common.h | 40 drivers/compress/zsda/zsda_comp_pmd.c |

[PATCH v25 13/13] compress/zsda: add zsda compressdev capabilities

2025-01-22 Thread Hanxiao Li
Add zsda compressdev capabilities Signed-off-by: Hanxiao Li --- doc/guides/compressdevs/features/zsda.ini | 9 + doc/guides/compressdevs/zsda.rst | 23 +++ doc/guides/rel_notes/release_25_03.rst| 7 +++ drivers/compress/zsda/zsda_comp_pmd.c | 16

[PATCH v25 08/13] compress/zsda: add zsda compressdev stats ops

2025-01-22 Thread Hanxiao Li
Add zsda compressdev stats interface implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp_common.c | 63 +++ drivers/common/zsda/zsda_qp_common.h | 16 +++ drivers/compress/zsda/zsda_comp_pmd.c | 24 +- 3 files changed, 101 insertions(+)

[PATCH v25 07/13] compress/zsda: add zsda compressdev dev ops

2025-01-22 Thread Hanxiao Li
add zsda compressdev dev interface implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_device.c | 9 +- drivers/common/zsda/zsda_qp_common.c | 57 +++ drivers/common/zsda/zsda_qp_common.h | 37 +++ drivers/co

[PATCH v25 03/13] common/zsda: add logging macros

2025-01-22 Thread Hanxiao Li
Add zxdh logging implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_device.c| 22 +++--- drivers/common/zsda/zsda_logs.c | 19 +++ drivers/common/zsda/zsda_logs.h | 27 +

[PATCH v25 09/13] compress/zsda: add zsda compressdev xform ops

2025-01-22 Thread Hanxiao Li
Add zsda compressdev xform interface implementation. Signed-off-by: Hanxiao Li --- drivers/compress/zsda/zsda_comp_pmd.c | 54 ++- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/drivers/compress/zsda/zsda_comp_pmd.c b/drivers/compress/zsda/zsda_comp_pmd.c

[PATCH v25 01/13] config: add zsda device number

2025-01-22 Thread Hanxiao Li
Add the number of zsda devices. Signed-off-by: Hanxiao Li --- config/rte_config.h | 4 1 file changed, 4 insertions(+) diff --git a/config/rte_config.h b/config/rte_config.h index 3734db6bdc..86897de75e 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -119,6 +119,10 @@ #defin

[PATCH v25 05/13] common/zsda: add definition and use of msg chan.

2025-01-22 Thread Hanxiao Li
Add msg chan functions and the use to get hardware information or operate hardware. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp.c| 307 +++ drivers/common/zsda/zsda_qp.h| 48 + drivers/common/zsda/zsda_qp_common.h | 37 3 files cha

[PATCH v25 02/13] common/zsda: add zsdadev driver

2025-01-22 Thread Hanxiao Li
Add basic zsdadev init and register PCI probe functions Signed-off-by: Hanxiao Li --- MAINTAINERS | 3 + drivers/common/zsda/meson.build | 13 ++ drivers/common/zsda/zsda_device.c| 187 +++ drivers/common/zsda/zsda_device.h| 54 ++

[PATCH v25 00/13] drivers/zsda: introduce zsda drivers

2025-01-22 Thread Hanxiao Li
v25: - replace the ``__rte_packed`` macro. - fix an extra line at end of file in patch 11. v24: - Try to resolve the issue in v23 by sending all patches at once v23: - modify funcitons name to move the verb to the end - move the qp_setup and qp_release calls in same patch - make the queue setup A

[PATCH 3/3] net/ice: ACL filter support for IPv4 fragment

2025-01-22 Thread Mingjin Ye
Enable ACL filter on PF. Add support for FRAG_IPV4 pattern and queue action. Flow rule can be created by the following command: flow create 0 ingress group 1 pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x3FFF / end actions queue index / end Signed-off-by: Mingjin

[PATCH 1/3] net/ice/base: add ipv4 fragment related field

2025-01-22 Thread Mingjin Ye
Added support for the Flags and Fragment Offset fields of ipv4 fragments. Field definitions are the same as in rte_ipv4_hdr. Signed-off-by: Mingjin Ye --- drivers/net/ice/base/ice_fdir.h | 2 ++ drivers/net/ice/base/ice_flow.c | 5 + drivers/net/ice/base/ice_flow.h | 1 + 3 files changed, 8

[PATCH 2/3] net/ice: FDIR support IPv4 fragment masks

2025-01-22 Thread Mingjin Ye
This patch supports enabling masks for IPv4 fragments in FDIR. Flow rule can be created by the following command: flow create 0 ingress group 2 pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x3FFF / end Signed-off-by: Mingjin Ye --- drivers/net/ice/ice_fdir_filte

[PATCH 0/3] flexible IPv4 fragment action

2025-01-22 Thread Mingjin Ye
Support for distributing the first and other segments of an IPv4 segmented packet to different RX queues. Mingjin Ye (3): net/ice/base: add ipv4 fragment related field net/ice: FDIR support IPv4 fragment masks net/ice: ACL filter support for IPv4 fragment drivers/net/ice/base/ice_fdir.h

Re: [PATCH] Skip vfio in the scenario of non-privileged mode

2025-01-22 Thread Yang Ming
On 2025/1/18 00:47, Stephen Hemminger wrote: Caution: This is an external email. Please be very careful when clicking links or opening attachments. See http://nok.it/nsb for additional information. On Fri, 17 Jan 2025 15:28:47 +0800 Yang Ming wrote: DPDK detect vfio container according the