[PATCH v9 01/12] zsda: add zsdadev driver documents

2024-10-10 Thread Hanxiao Li
Introduce ZTE Storage Data Accelerator(ZSDA) drivers which can help accelerate storage data process. The official product documenttation web page is: https://enterprise.zte.com.cn/products.html?id=101 It is recommended to update MAINTAINERS in the first patch according to the new PMD guidelines h

[PATCH v9 00/12] drivers/zsda: introduce zsda drivers

2024-10-10 Thread Hanxiao Li
v9: - add a new feature in default.ini. - Re-split the patch according to the new PMD guidelines https://patches.dpdk.org/project/dpdk/patch/20241006184 254.53499-1-nandinipersad...@gmail.com/ - Split SM4-XTS tests into a new series to releases. - Separate out datapath(enqueue/dequeue) as a separa

[PATCH v9 02/12] config: add zsda device number

2024-10-10 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 dd7bb0d35b..e1e85b3291 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -117,6 +117,10 @@ #defin

[PATCH v9 07/12] common/zsda: configure zsda queue dequeue functions

2024-10-10 Thread Hanxiao Li
Add support for zsdadev queue dequeue. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp.c | 38 +++ drivers/common/zsda/zsda_qp.h | 1 + 2 files changed, 39 insertions(+) diff --git a/drivers/common/zsda/zsda_qp.c b/drivers/common/zsda/zsda_qp.c index 8

[PATCH v9 03/12] common/zsda: add some common functions

2024-10-10 Thread Hanxiao Li
Introduce common functions and logging macros. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 14 ++ drivers/common/zsda/zsda_common.c | 239 + drivers/common/zsda/zsda_common.h | 334 ++ drivers/common/zsda/zsda_logs.c | 21

[PATCH v9 10/12] crypto/zsda: add crypto sessions configuration

2024-10-10 Thread Hanxiao Li
add session support for zsda cryptodev. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build| 15 +- drivers/crypto/zsda/zsda_sym_session.c | 512 + drivers/crypto/zsda/zsda_sym_session.h | 83 3 files changed, 609 insertions(+), 1 deletion(-) cre

[PATCH v9 09/12] compress/zsda: add zsda compress PMD

2024-10-10 Thread Hanxiao Li
The patch provides a series of interfaces for managing and controlling the configuration, start, stop, resource management, etc. of compression devices. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 2 +- drivers/compress/zsda/zsda_comp_pmd.c | 464 +

[PATCH v9 06/12] common/zsda: configure zsda queue enqueue functions

2024-10-10 Thread Hanxiao Li
Add support for zsdadev queue enqueue. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp.c | 105 ++ drivers/common/zsda/zsda_qp.h | 2 + 2 files changed, 107 insertions(+) diff --git a/drivers/common/zsda/zsda_qp.c b/drivers/common/zsda/zsda_qp.c index

[PATCH v9 05/12] common/zsda: configure zsda queue base functions

2024-10-10 Thread Hanxiao Li
Add support for zsdadev queue interfaces, incluing queue start, stop, create, remove, etc. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_qp.c | 715 drivers/common/zsda/zsda_qp.h | 146 +++ 3 files changed

[PATCH v9 11/12] crypto/zsda: add zsda crypto driver

2024-10-10 Thread Hanxiao Li
The patchset adds support for wqe configuration of encrypto and decrypto, preliminary verification of results and preparation of checksums. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 2 +- drivers/crypto/zsda/zsda_sym.c | 273 drivers/cryp

[PATCH v9 04/12] common/zsda: configure zsda device

2024-10-10 Thread Hanxiao Li
The patch provides a series of interfaces for driver probe remove,etc. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_device.c | 263 ++ drivers/common/zsda/zsda_device.h | 112 + 3 files changed, 376 inse

[PATCH v9 08/12] compress/zsda: add zsda compress driver

2024-10-10 Thread Hanxiao Li
The patchset adds support for wqe configuration of compress and decompress, preliminary verification of results and preparation of checksums. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 12 +- drivers/compress/zsda/zsda_comp.c | 392 ++ drivers/

[PATCH v9 12/12] crypto/zsda: add zsda crypto PMD

2024-10-10 Thread Hanxiao Li
The patch provides a series of interfaces for managing and controlling the configuration, start, stop, resource management, etc. of crypto devices. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 2 +- drivers/crypto/zsda/zsda_sym_capabilities.h | 112 + drivers

RE: [PATCH v3 1/2] power: enable CPPC support in power library

2024-10-10 Thread Wathsala Wathawana Vithanage
> > fix the name of the CPPC driver name. > > > > Signed-off-by: Wathsala Vithanage > > Reviewed-by: Dhruv Tripathi > > Series applied with a little more details about being a real fix. > > Thanks you Thomas.

Re: [PATCH v3 1/2] power: enable CPPC support in power library

2024-10-10 Thread Thomas Monjalon
10/10/2024 16:17, Wathsala Vithanage: > Power library already supports Linux CPPC driver. Enable its use > and fix the name of the CPPC driver name. > > Signed-off-by: Wathsala Vithanage > Reviewed-by: Dhruv Tripathi Series applied with a little more details about being a real fix.

Re: [PATCH 1/7] app/test: introduce UT suite framework for kvargs

2024-10-10 Thread Stephen Hemminger
On Fri, 3 Nov 2023 09:53:19 + Chengwen Feng wrote: > Introduce unit test suite framework for test_kvargs.c. > > Signed-off-by: Chengwen Feng > --- > app/test/test_kvargs.c | 20 +--- > 1 file changed, 13 insertions(+), 7 deletions(-) > > diff --git a/app/test/test_kvargs.c

RE: [PATCH 2/2] net/nfp: enhance the flower service framework

2024-10-10 Thread Chaoyong He
> On Thu, 10 Oct 2024 15:45:57 +0800 > Chaoyong He wrote: > > > +static void > > +nfp_flower_service_alarm_func(void *arg) { > > + int ret; > > + uint16_t slot; > > + struct nfp_net_hw_priv *hw_priv; > > + struct nfp_flower_service *service_handle; > > + > > + service_handle = arg; > >

RE: [PATCH 02/10] net/nfp: fix malloc name problem in secondary process

2024-10-10 Thread Chaoyong He
> On Thu, 10 Oct 2024 17:17:08 +0800 > Chaoyong He wrote: > > > The original logic keeps using the same name parameter when malloc > > memory in secondary process, which may cause error when using multiple > > PF cards. > > > > Fixes: 3b00109d2b65 ("net/nfp: add PF ID used to format symbols") > >

RE: [PATCH 04/10] net/nfp: improve the logic readability

2024-10-10 Thread Chaoyong He
> On Thu, 10 Oct 2024 17:17:10 +0800 > Chaoyong He wrote: > > > + > > +port_cleanup: > > + for (uint32_t j = 0; j < i; j++) { > > + struct rte_eth_dev *eth_dev; > > + > > + nfp_port_name_generate(port_name, sizeof(port_name), j, > pf_dev); > > + eth_dev = rte_eth_d

Re: [PATCH] bus/pci: don't open uio device in secondary process

2024-10-10 Thread Konrad Sztyber
On 10/9/24 17:12, Stephen Hemminger wrote: That is what tap, and xdp are doing. Thanks for the info. I'll take a look and will send a next rev doing something similar in uio. Konrad

Re: [PATCH] bus/pci: don't open uio device in secondary process

2024-10-10 Thread David Marchand
On Fri, Oct 11, 2024 at 8:38 AM Konrad Sztyber wrote: > > On 10/9/24 17:12, Stephen Hemminger wrote: > > That is what tap, and xdp are doing. > > Thanks for the info. I'll take a look and will send a next rev doing > something similar in uio. My two cents. net/tap uses the rte_mp_* infrastructure

[PATCH v6 2/3] net/ice: add frequency adjustment support for PTP

2024-10-10 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 16 drivers/net/ice/ice_ethdev.c | 176 +++

[PATCH v6 1/3] ethdev: add frequency adjustment API

2024-10-10 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- v2: rte_eth_timesync_adjust_freq marked as experimental --- v3: Add more description for API. --- V4: Fix git commit conflict. --- doc/guides/nics/features.rst | 4 ++- do

[PATCH v6 3/3] examples/ptpclient: add frequency adjustment

2024-10-10 Thread Mingjin Ye
This patch adds PI servo controller to support frequency adjustment API for IEEE1588 PTP. For example, the command for starting ptpclient with PI controller is: dpdk-ptpclient -a :81:00.0 -c 1 -n 3 -- -T 0 -p 0x1 -c 1 Signed-off-by: Simei Su Signed-off-by: Wenjun Wu Signed-off-by: Mingjin Y

[PATCH v6 0/3] add frequency adjustment support for PTP

2024-10-10 Thread Mingjin Ye
[1/3] ethdev: add frequency adjustment API [2/3] net/ice: add frequency adjustment support for PTP [3/3] examples/ptpclient: add frequency adjustment --- v2: rte_eth_timesync_adjust_freq marked as experimental. --- v3: Add more description for API. --- v4: Documentation for adding a ptpclient. ---

[PATCH v5 0/3] add frequency adjustment support for PTP

2024-10-10 Thread Mingjin Ye
[1/3] ethdev: add frequency adjustment API [2/3] net/ice: add frequency adjustment support for PTP [3/3] examples/ptpclient: add frequency adjustment --- v2: rte_eth_timesync_adjust_freq marked as experimental. --- v3: Add more description for API. --- v4: Documentation for adding a ptpclient. ---

[PATCH v5 2/3] net/ice: add frequency adjustment support for PTP

2024-10-10 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- v2: Modify documents and delete old variables. --- doc/guides/nics/ice.rst | 16 +

[PATCH v5 3/3] examples/ptpclient: add frequency adjustment

2024-10-10 Thread Mingjin Ye
This patch adds PI servo controller to support frequency adjustment API for IEEE1588 PTP. For example, the command for starting ptpclient with PI controller is: dpdk-ptpclient -a :81:00.0 -c 1 -n 3 -- -T 0 -p 0x1 -c 1 Signed-off-by: Simei Su Signed-off-by: Wenjun Wu Signed-off-by: Mingjin Y

[PATCH v5 1/3] ethdev: add frequency adjustment API

2024-10-10 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- v2: rte_eth_timesync_adjust_freq marked as experimental --- v3: Add more description for API. --- doc/guides/nics/features.rst | 4 ++- doc/guides/rel_notes/release_24_11.

[PATCH v2 2/2] net/bonding: add command to set dedicated queue size

2024-10-10 Thread Chaoyong He
From: Long Wu The testpmd application can not modify the value of dedicated hardware Rx/Tx queue size, and hardcoded them as (128/512). This will cause the bonding port start fail if some NIC requires more Rx/Tx descriptors than the hardcoded number. Therefore, add a command into testpmd applica

[PATCH v2 0/2] add function to set dedicated queue size

2024-10-10 Thread Chaoyong He
This patch series mainly add a function to bonding PMD to set dedicated queue size, also add a command to testpmd application to invoke this function. At the same time, standard the log message of bonding PMD. --- v2: * Adjust some logs following the request of reviewer. --- Long Wu (2): net/b

[PATCH v2 1/2] net/bonding: standard the log message

2024-10-10 Thread Chaoyong He
From: Long Wu According to the check rules in the patch check script, drivers and libraries must use the logging framework. So standard the log message of bonding driver by using the logging framework. Signed-off-by: Long Wu Reviewed-by: Peng Zhang Reviewed-by: Chaoyong He --- drivers/net/b

[PATCH v2 0/7] refactor kvargs test

2024-10-10 Thread Chengwen Feng
When developing patchset [1], I found the kvargs test is hard to understand when tried to add some testcase. So refactor kvargs by: 1. introduce UT suite framework. 2. extract big test_valid_kvargs() to five part. And add myself for voluntary maintenance of the kvargs library. Note: to ensure pa

[PATCH v2 5/7] app/test: extract parse list value testcase for kvargs

2024-10-10 Thread Chengwen Feng
Extract parse list value test as one stand-alone testcase. Signed-off-by: Chengwen Feng Acked-by: Stephen Hemminger --- app/test/test_kvargs.c | 54 +- 1 file changed, 32 insertions(+), 22 deletions(-) diff --git a/app/test/test_kvargs.c b/app/test/test_

Re: [PATCH 1/7] app/test: introduce UT suite framework for kvargs

2024-10-10 Thread fengchengwen
On 2024/10/11 10:08, Stephen Hemminger wrote: > On Fri, 3 Nov 2023 09:53:19 + > Chengwen Feng wrote: > >> Introduce unit test suite framework for test_kvargs.c. >> >> Signed-off-by: Chengwen Feng >> --- >> app/test/test_kvargs.c | 20 +--- >> 1 file changed, 13 insertions(+)

[PATCH v2 4/7] app/test: extract with keys testcase for kvargs

2024-10-10 Thread Chengwen Feng
The test_valid_kvargs() function is too long to understand, extract the with keys tests as one stand-alone testcase. Signed-off-by: Chengwen Feng Acked-by: Stephen Hemminger --- app/test/test_kvargs.c | 59 +- 1 file changed, 35 insertions(+), 24 deletion

[PATCH v2 3/7] app/test: extract without keys testcase for kvargs

2024-10-10 Thread Chengwen Feng
The test_valid_kvargs() function is too long to understand, extract the without keys tests as one stand-alone testcase. Signed-off-by: Chengwen Feng Acked-by: Stephen Hemminger --- app/test/test_kvargs.c | 115 ++--- 1 file changed, 63 insertions(+), 52 delet

[PATCH v2 2/7] app/test: extract basic token count testcase for kvargs

2024-10-10 Thread Chengwen Feng
The test_valid_kvargs() function is too long to understand, extract the basic token count tests as one stand-alone testcase. Signed-off-by: Chengwen Feng Acked-by: Stephen Hemminger --- app/test/test_kvargs.c | 120 - 1 file changed, 45 insertions(+), 75

[PATCH v2 6/7] app/test: extract parse empty elements testcase for kvargs

2024-10-10 Thread Chengwen Feng
Extract parse empty elements test as one stand-alone testcase. And also fix the kvlist was not released when the branch fails. Signed-off-by: Chengwen Feng Acked-by: Stephen Hemminger --- app/test/test_kvargs.c | 68 ++ 1 file changed, 29 insertions(+), 3

[PATCH v2 1/7] app/test: introduce UT suite framework for kvargs

2024-10-10 Thread Chengwen Feng
Introduce unit test suite framework for test_kvargs.c. Signed-off-by: Chengwen Feng Acked-by: Stephen Hemminger --- app/test/test_kvargs.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/app/test/test_kvargs.c b/app/test/test_kvargs.c index 7a60cac4c1..1

RE: [EXTERNAL] Re: [PATCH v4 1/1] dmadev: support priority configuration

2024-10-10 Thread Vamsi Krishna Attunuru
Thank you, Feng, for reviewing the patch. I agree with the comments that are suggested, will rework, and send next version. Regards Vamsi >-Original Message- >From: fengchengwen >Sent: Tuesday, October 8, 2024 8:07 AM >To: Vamsi Krishna Attunuru ; >tho...@monjalon.net; bruce.richard...@

[PATCH v2 7/7] maintainers: update for kvargs library

2024-10-10 Thread Chengwen Feng
Add myself for voluntary maintenance of the kvargs library. Signed-off-by: Chengwen Feng Acked-by: Stephen Hemminger --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7d171e3d45..7e320335d7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1713,6 +

Re: [RFC 0/4] ethdev: rework config restore

2024-10-10 Thread Ferruh Yigit
On 10/10/2024 11:58 PM, Konstantin Ananyev wrote: > > > config restore External email: Use caution opening links or attachments On 10/10/2024 1:08 PM, Dariusz Sosnowski wrote: >> -Original Message- >> From: Ferruh Yigit >> Sent: Thursday, October 10,

[PATCH v1 2/2] app/test: add SM4-XTS test cases

2024-10-10 Thread Hanxiao Li
add support for SM4-XTS test. Signed-off-by: Hanxiao Li --- app/test/test_cryptodev_blockcipher.c | 3 +- app/test/test_cryptodev_sm4_test_vectors.h | 58 ++ 2 files changed, 60 insertions(+), 1 deletion(-) diff --git a/app/test/test_cryptodev_blockcipher.c b/app/test

[PATCH v1 1/2] cryptodev: add SM4-XTS

2024-10-10 Thread Hanxiao Li
add sm4-xts algo for crypto. Signed-off-by: Hanxiao Li --- doc/guides/cryptodevs/features/default.ini | 1 + doc/guides/rel_notes/release_24_11.rst | 4 lib/cryptodev/rte_crypto_sym.h | 4 +++- lib/cryptodev/rte_cryptodev.c | 3 ++- 4 files changed, 10 insertion

[PATCH v1 0/2] cryptodev: add SM4-XTS algo and test cases

2024-10-10 Thread Hanxiao Li
v1: - add SM4-XTS algo and test cases. Signed-off-by: Hanxiao Li --- Hanxiao Li (2): cryptodev: add SM4-XTS app/test: add SM4-XTS test cases app/test/test_cryptodev_blockcipher.c | 3 +- app/test/test_cryptodev_sm4_test_vectors.h | 58 ++ doc/guides/cryptodevs/fea

RE: rte_ring move head question for machines with relaxed MO (arm/ppc)

2024-10-10 Thread Wathsala Wathawana Vithanage
> -Original Message- > From: Konstantin Ananyev > Sent: Thursday, October 10, 2024 11:54 AM > To: Wathsala Wathawana Vithanage ; > dev@dpdk.org > Cc: Honnappa Nagarahalli ; > jer...@marvell.com; d...@linux.ibm.com; nd ; nd > > Subject: RE: rte_ring move head question for machines with

[PATCH] doc: correct definition of Stats per queue feature

2024-10-10 Thread Stephen Hemminger
Change the documentation to match current usage of this feature in the NIC table. Moved this sub heading to be after basic stats because the queue stats reported now are in the same structure. Although the "Stats per Queue" feature was originally intended to be related to stats mapping, the overwh

Re: [PATCH] eal/windows: define standard file numbers

2024-10-10 Thread Dmitry Kozlyuk
2024-10-10 12:39 (UTC+0100), Bruce Richardson: > On Thu, Oct 10, 2024 at 01:43:41PM +0300, Dmitry Kozlyuk wrote: > > 2024-10-10 10:54 (UTC+0100), Bruce Richardson: > > > The macros for STD*_FILENO are missing on windows. Add defines for them > > > to the DPDK-local unistd.h file. > > > > > > Sig

[PATCH v2 0/4] RSS hash key generation

2024-10-10 Thread Vladimir Medvedkin
Currently there are 2 methods to get the RSS hash key. The first method is to randomly generate it. The second one is to use well known RSS hash keys. Both methods have drawbacks. The first method not always provides a good hash distribution. The second one does, but not for all ReTa sizes and not

[PATCH v2 2/4] hash: add dynamic polynomial calculation

2024-10-10 Thread Vladimir Medvedkin
Current polynomial table has the following limitations: 1. It has polynomials up to degree 16 2. For each degree there are only 4 polynomials The above results in less entropy when generating Toeplitz hash key subsequences. This patch replaces the current static table approach with dynamic polyn

[PATCH v2 4/4] test/thash: add tests for RSS key generation API

2024-10-10 Thread Vladimir Medvedkin
This patch adds tests for RSS key generation. In this test we measure distribution of hash LSBs for a given random tuple where only some part of bits is variable. At first we generate random hash key and measure the worst distribution for a given ReTa size value (RETA_SZ_LOG). Then we adjust the k

[PATCH v2 1/4] thash: add RSS hash key generation API

2024-10-10 Thread Vladimir Medvedkin
Currently the only way to have non static Toeplitz hash key is to generate it randomly. Such a key may not guarantee good packets distribution, especially if there are small number of flows. This patch adds stub implementation of the Toeplitz hash key generation function, which may improve Toeplit

[PATCH v2 3/4] hash: implement RSS hash key generation API

2024-10-10 Thread Vladimir Medvedkin
This patch implements Toeplitz hash key generation function using the new polynomial generation function. Signed-off-by: Vladimir Medvedkin --- lib/hash/rte_thash.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_th

Re: [RFC 2/4] hash: add dynamic polynomial calculation

2024-10-10 Thread Medvedkin, Vladimir
Hi Stephen, Thanks for the review. No particular reason, will change it to uint32_t in v2. On 09/09/2024 01:11, Stephen Hemminger wrote: On Fri, 6 Sep 2024 16:53:16 + Vladimir Medvedkin wrote: +struct divisors { + int n; /* number of divisors */ + int div_arr[MAX_DIVISORS];

Re: [PATCH v12 6/7] eal: add unit tests for atomic bit access functions

2024-10-10 Thread Mattias Rönnblom
On 2024-10-10 14:14, David Marchand wrote: On Thu, Oct 10, 2024 at 1:56 PM Mattias Rönnblom wrote: OK. Nothing obvious from what I can see in the code. Unrelated: why did you remove all empty lines in the "template" macros? Makes them much harder to read. Those macros are hard to read. Eve

Re: [PATCH v2 00/50] Provide: flow filter init API, Enable virtual queues, fix ntnic issues for release 24.07

2024-10-10 Thread Ferruh Yigit
On 10/10/2024 12:47 PM, Serhii Iliushyk wrote: > On 09.10.2024, 06:26, "Ferruh Yigit" wrote: >> On 10/7/2024 8:33 PM, Serhii Iliushyk wrote: >>> The list of updates provided by the patchset: >>> * Update the supported version of the FPGA to 9563.55.49 >>> * Fix Coverity issues >>> * Fix issues rela

Re: [PATCH v12 6/7] eal: add unit tests for atomic bit access functions

2024-10-10 Thread David Marchand
On Thu, Oct 10, 2024 at 1:56 PM Mattias Rönnblom wrote: > OK. Nothing obvious from what I can see in the code. Unrelated: why did > you remove all empty lines in the "template" macros? Makes them much > harder to read. Those macros are hard to read. There was an extra indent that resulted in spl

[PATCH v4 0/5] add feature arc in rte_graph

2024-10-10 Thread Nitin Saxena
Feature arc represents an ordered list of features/protocols at a given networking layer. It is a high level abstraction to connect various rte_graph nodes, as feature nodes, and allow packets steering across these nodes in a generic manner. Features (or feature nodes) are nodes which handles part

[PATCH v4 1/5] graph: add feature arc support

2024-10-10 Thread Nitin Saxena
add feature arc to allow dynamic steering of packets across graph nodes based on protocol features enabled on incoming or outgoing interface Signed-off-by: Nitin Saxena --- doc/guides/rel_notes/release_24_11.rst | 10 + lib/graph/graph_feature_arc.c| 1236 ++

[PATCH v4 2/5] graph: add feature arc option in graph create

2024-10-10 Thread Nitin Saxena
Added option in graph create to call feature-specific process node functions. This removes extra overhead for checking feature arc status in nodes where application is not using feature arc processing Signed-off-by: Pavan Nikhilesh Signed-off-by: Nitin Saxena --- doc/guides/rel_notes/release_24

[PATCH v4 4/5] test/graph_feature_arc: add functional tests

2024-10-10 Thread Nitin Saxena
Added functional unit test case for verifying feature arc control plane and fast path APIs How to run: $ echo "graph_feature_arc_autotest" | ./bin/dpdk-test Signed-off-by: Nitin Saxena --- app/test/meson.build |1 + app/test/test_graph_feature_arc.c | 1410 +

[PATCH v4 3/5] graph: add IPv4 output feature arc

2024-10-10 Thread Nitin Saxena
add ipv4-output feature arc in ipv4-rewrite node to allow custom/standard nodes(like outbound IPsec policy node) in outgoing forwarding path Signed-off-by: Nitin Saxena --- lib/node/ip4_rewrite.c | 476 +--- lib/node/ip4_rewrite_priv.h | 15 +- lib/node/node

Re: [PATCH] eal/windows: define standard file numbers

2024-10-10 Thread Bruce Richardson
On Thu, Oct 10, 2024 at 01:43:41PM +0300, Dmitry Kozlyuk wrote: > 2024-10-10 10:54 (UTC+0100), Bruce Richardson: > > The macros for STD*_FILENO are missing on windows. Add defines for them > > to the DPDK-local unistd.h file. > > > > Signed-off-by: Bruce Richardson > > --- > > lib/eal/windows/in

Re: [PATCH v12 6/7] eal: add unit tests for atomic bit access functions

2024-10-10 Thread Mattias Rönnblom
On 2024-10-10 12:45, David Marchand wrote: On Fri, Sep 20, 2024 at 12:57 PM Mattias Rönnblom wrote: + static int \ + run_parallel_test_and_modify ## size(void *arg) \ + {

RE: [PATCH v7 1/7] eal: add static per-lcore memory allocation facility

2024-10-10 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > Sent: Thursday, 10 October 2024 12.40 > > On 2024-10-10 00:15, Morten Brørup wrote: > >> From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] > >> Sent: Wednesday, 18 September 2024 10.26 > >> > >> Introduce DPDK per-lcore id varia

Re: [PATCH v2 00/50] Provide: flow filter init API, Enable virtual queues, fix ntnic issues for release 24.07

2024-10-10 Thread Serhii Iliushyk
On 09.10.2024, 06:26, "Ferruh Yigit" wrote: >On 10/7/2024 8:33 PM, Serhii Iliushyk wrote: >> The list of updates provided by the patchset: >> * Update the supported version of the FPGA to 9563.55.49 >> * Fix Coverity issues >> * Fix issues related to release 24.07 >> * Extended and fixed the implem

Re: [PATCH v12 6/7] eal: add unit tests for atomic bit access functions

2024-10-10 Thread Thomas Monjalon
10/10/2024 14:35, Mattias Rönnblom: > On 2024-10-10 14:14, David Marchand wrote: > > On Thu, Oct 10, 2024 at 1:56 PM Mattias Rönnblom > > wrote: > Your argument above makes sense, but I also find the kernel style more > visually appealing. > > > > > In the end, I was left with cases like: > >

RE: [PATCH v7 1/7] eal: add static per-lcore memory allocation facility

2024-10-10 Thread Morten Brørup
> From: Morten Brørup [mailto:m...@smartsharesystems.com] > Sent: Thursday, 10 October 2024 13.48 > > > From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > > Sent: Thursday, 10 October 2024 12.40 > > > > On 2024-10-10 00:15, Morten Brørup wrote: > > >> From: Mattias Rönnblom [mailto:mattias.ro

Re: [v3] crypto/dpaa2_sec: rework debug code

2024-10-10 Thread David Marchand
On Thu, Oct 10, 2024 at 8:03 AM Gagandeep Singh wrote: > > Move the duplicate code in a common function and > remove un-necessary newline characters from the logs. > > Signed-off-by: Jun Yang > Signed-off-by: Gagandeep Singh There was a network issue when testing this series in GHA. Recheck-req

[PATCH 01/10] net/nfp: use strlcpy for copying string

2024-10-10 Thread Chaoyong He
Replace 'snprintf()' with 'strlcpy()' where applicable. Using 'strlcpy()' is safe practice when copying strings, as it will include a null terminator. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/flower/nfp_flower_representor.c | 4 ++-- drivers/n

[PATCH 02/10] net/nfp: fix malloc name problem in secondary process

2024-10-10 Thread Chaoyong He
The original logic keeps using the same name parameter when malloc memory in secondary process, which may cause error when using multiple PF cards. Fixes: 3b00109d2b65 ("net/nfp: add PF ID used to format symbols") Cc: peng.zh...@corigine.com Cc: sta...@dpdk.org Signed-off-by: Chaoyong He Reviewe

[PATCH 00/10] modify some logic of NFP PMD

2024-10-10 Thread Chaoyong He
This patch series refactor some logic of NFP PMD to make it more clear, also fix some bugs. Chaoyong He (10): net/nfp: use strlcpy for copying string net/nfp: fix malloc name problem in secondary process net/nfp: simplify some function parameters net/nfp: improve the logic readability ne

[PATCH 03/10] net/nfp: simplify some function parameters

2024-10-10 Thread Chaoyong He
Refactor to the logic of initialize process to simplify some function parameters, both for primary and secodary process. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/nfp_ethdev.c | 153 +++ drivers/net/nfp/nfp_net_c

[PATCH 05/10] net/nfp: fix problem caused by configure function

2024-10-10 Thread Chaoyong He
The return value of 'nfp_eth_set_configured()' is three ways, the original logic considered it as two ways wrongly. Fixes: 61d4008fe6bb ("net/nfp: support setting link up/down") Cc: sta...@dpdk.org Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/nfp

[PATCH 06/10] net/nfp: add check logic for port up/down function

2024-10-10 Thread Chaoyong He
The 'nfp_eth_set_configured()' function is not always success, so need to check the return value of it. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- .../net/nfp/flower/nfp_flower_representor.c| 18 +- drivers/net/nfp/nfp_ethdev.c

[PATCH 04/10] net/nfp: improve the logic readability

2024-10-10 Thread Chaoyong He
Try our best to make the logic in secondary proess the same with the primary process and improve the readability, by add helper functions and rename function. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/nfp_ethdev.c | 86 +++--

[PATCH 08/10] net/nfp: fix problem caused by FEC set

2024-10-10 Thread Chaoyong He
The return value of 'nfp_eth_set_fec()' is three ways, the original logic considered it as two ways wrongly. Fixes: 37bd1b843a20 ("net/nfp: support setting FEC mode") Cc: zerun...@corigine.com Cc: sta...@dpdk.org Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- driv

[PATCH 10/10] net/nfp: fix memory leak in VF initialization logic

2024-10-10 Thread Chaoyong He
Fix one memory leak problem in the logic of VF initialization. Fixes: d81e2b514dc9 ("net/nfp: move device info into process private data") Cc: sta...@dpdk.org Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/nfp_ethdev_vf.c | 3 ++- 1 file changed, 2

[PATCH 09/10] net/nfp: modify the comment of some control messages

2024-10-10 Thread Chaoyong He
The comment of some control messages are not right, which conflict with the data structure and may confuse the other developers. Signed-off-by: Chaoyong He Reviewed-by: Long Wu --- drivers/net/nfp/flower/nfp_flower_cmsg.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) dif

[PATCH 07/10] net/nfp: fix problem caused by commit end function

2024-10-10 Thread Chaoyong He
The return value of 'nfp_eth_config_commit_end()' is three ways, the original logic considered it as two ways wrongly. Fixes: 68aa35373a94 ("net/nfp: support setting pause frame switch mode") Cc: zerun...@corigine.com Cc: sta...@dpdk.org Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-

Re: [PATCH v2] app/testpmd: show output of commands read from file

2024-10-10 Thread Bruce Richardson
On Thu, Oct 10, 2024 at 10:56:24AM +0200, David Marchand wrote: > Hello Bruce, Ferruh, > > On Tue, Oct 8, 2024 at 3:33 AM Ferruh Yigit wrote: > > > > On 10/4/2024 5:56 AM, Ferruh Yigit wrote: > > > On 8/22/2024 11:41 AM, Bruce Richardson wrote: > > >> Testpmd supports the "--cmdline-file" paramet

RE: [EXTERNAL] Re: [PATCH v5] bitmap: add scan from offset function

2024-10-10 Thread Volodymyr Fialko
From discussion with Thomas in previous versions of this patch, we agreed to omit both markers. > From: Thomas Monjalon mailto:tho...@monjalon.net>> > Sent: Monday, July 3, 2023 2:17 PM > To: Dumitrescu, Cristian; Volodymyr Fialko > Cc: dev@dpdk.org; Jerin Jacob Kollanukka

Re: [PATCH 1/1] net/mlx5: show rx/tx descriptor ring limitations in rte_eth_dev_info

2024-10-10 Thread Igor Gutorov
Hi Stephen, On Thu, Oct 10, 2024 at 3:18 AM Stephen Hemminger wrote: > > On Mon, 17 Jun 2024 07:18:58 + > Slava Ovsiienko wrote: > > > Hi, Igor > > > > Thank you for the patch. > > > > 1. The absolute max descriptor number supported by ConnectX hardware is > > 32768. > > 2. The actual max d

[PATCH v3] crypto/ipsec_mb: bump minimum IPsec MB version

2024-10-10 Thread Brian Dooley
AESNI_MB SW PMDs increment Intel IPsec MB version to 1.4. A minimum IPsec Multi-buffer version of 1.4 or greater is now required for the 24.11 LTS release. Signed-off-by: Brian Dooley Acked-by: Kai Ji Acked-by: Pablo de Lara --- This patch relates to a deprecation notice sent in the 24.03 relea

RE: [RFC 0/4] ethdev: rework config restore

2024-10-10 Thread Dariusz Sosnowski
> -Original Message- > From: Ferruh Yigit > Sent: Thursday, October 10, 2024 01:17 > To: Dariusz Sosnowski ; Konstantin Ananyev > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Andrew Rybchenko > Cc: dev@dpdk.org; Bruce Richardson > Subject: Re: [RFC 0/4] ethdev: rework config restore > >

RE: [EXTERNAL] Re: [PATCH v13 4/4] eal: add PMU support to tracing library

2024-10-10 Thread Morten Brørup
> From: Tomasz Duszynski [mailto:tduszyn...@marvell.com] > Sent: Thursday, 10 October 2024 09.24 > > >On Wed, 9 Oct 2024 14:50:02 +0200 > >Morten Brørup wrote: > > > >> > From: Tomasz Duszynski [mailto:tduszyn...@marvell.com] > >> > Sent: Wednesday, 9 October 2024 13.23 > >> > > >> > +PMU tracepo

Re: [RFC 0/4] ethdev: rework config restore

2024-10-10 Thread Ferruh Yigit
On 10/10/2024 1:08 PM, Dariusz Sosnowski wrote: >> -Original Message- >> From: Ferruh Yigit >> Sent: Thursday, October 10, 2024 01:17 >> To: Dariusz Sosnowski ; Konstantin Ananyev >> ; NBU-Contact-Thomas Monjalon (EXTERNAL) >> ; Andrew Rybchenko >> Cc: dev@dpdk.org; Bruce Richardson >> S

Re: [PATCH v2 00/50] Provide: flow filter init API, Enable virtual queues, fix ntnic issues for release 24.07

2024-10-10 Thread Serhii Iliushyk
>On 10.10.2024, 15:37, "Ferruh Yigit" wrote: >On 10/10/2024 12:47 PM, Serhii Iliushyk wrote: >> On 09.10.2024, 06:26, "Ferruh Yigit" wrote: >>> On 10/7/2024 8:33 PM, Serhii Iliushyk wrote: The list of updates provided by the patchset: * Update the supported version of the FPGA to 9563.55.

Re: [PATCH v7 1/7] eal: add static per-lcore memory allocation facility

2024-10-10 Thread Mattias Rönnblom
On 2024-10-10 13:47, Morten Brørup wrote: From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] Sent: Thursday, 10 October 2024 12.40 On 2024-10-10 00:15, Morten Brørup wrote: From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] Sent: Wednesday, 18 September 2024 10.26 Introduce DPDK

[PATCH v2 1/2] power: enable CPPC support in power library

2024-10-10 Thread Wathsala Vithanage
Power library already supports Linux CPPC driver. Enable its use and fix the name of the CPPC driver name. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- .mailmap | 1 + lib/power/power_cppc_cpufreq.c | 2 +- lib/power/rte_power_pmd_mgmt.c | 11 ++-

[PATCH v2 2/2] power: detect supported driver

2024-10-10 Thread Wathsala Vithanage
Check if the frequency scaling driver is supported before attempting to initialize. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- lib/power/power_acpi_cpufreq.c | 6 ++ lib/power/power_amd_pstate_cpufreq.c | 6 ++ lib/power/power_cppc_cpufreq.c | 6 ++

Re: [PATCH v7 1/7] eal: add static per-lcore memory allocation facility

2024-10-10 Thread Mattias Rönnblom
On 2024-10-10 15:12, Morten Brørup wrote: From: Morten Brørup [mailto:m...@smartsharesystems.com] Sent: Thursday, 10 October 2024 13.48 From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] Sent: Thursday, 10 October 2024 12.40 On 2024-10-10 00:15, Morten Brørup wrote: From: Mattias Rönnblom

RE: [PATCH v7 1/7] eal: add static per-lcore memory allocation facility

2024-10-10 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > Sent: Thursday, 10 October 2024 15.40 > > On 2024-10-10 13:47, Morten Brørup wrote: > >> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > >> Sent: Thursday, 10 October 2024 12.40 > >> > >> On 2024-10-10 00:15, Morten Brørup wrote: >

Re: [PATCH 1/1] buildtools: remove absolute paths from pc file

2024-10-10 Thread Bruce Richardson
On Sun, Jan 07, 2024 at 07:41:36AM -0800, Srikanth Yalavarthi wrote: > When linking with non-versioned libraries, absolute paths > of the libraries are added to libdpdk.pc. This patch replaces > the absolute path with correct linker flags, -l. > > https://github.com/mesonbuild/meson/issues/7766 >

RE: [RFC 0/4] ethdev: rework config restore

2024-10-10 Thread Konstantin Ananyev
config restore > >> > >> External email: Use caution opening links or attachments > >> > >> > >> On 10/10/2024 1:08 PM, Dariusz Sosnowski wrote: > -Original Message- > From: Ferruh Yigit > Sent: Thursday, October 10, 2024 01:17 > To: Dariusz Sosnowski ; Konstantin Ana

RE: [PATCH 10/10] net/nfp: fix memory leak in VF initialization logic

2024-10-10 Thread Chaoyong He
> On Thu, 10 Oct 2024 17:17:16 +0800 > Chaoyong He wrote: > > > Fix one memory leak problem in the logic of VF initialization. > > > > Fixes: d81e2b514dc9 ("net/nfp: move device info into process private > > data") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Chaoyong He > > Reviewed-by: Long

RE: [PATCH 1/2] net/bonding: standard the log message

2024-10-10 Thread Chaoyong He
> On Mon, 24 Jun 2024 10:03:54 +0800 > Chaoyong He wrote: > > > From: Long Wu > > > > According to the check rules in the patch check script, drivers and > > libraries must use the logging framework. > > > > So standard the log message of bonding driver by using the logging > > framework. > > >

RE: [PATCH 2/2] net/bonding: add command to set dedicated queue size

2024-10-10 Thread Chaoyong He
> On Mon, 24 Jun 2024 10:03:55 +0800 > Chaoyong He wrote: > > > diff --git a/drivers/net/bonding/rte_eth_bond_8023ad.c > b/drivers/net/bonding/rte_eth_bond_8023ad.c > > index 06c21ebe6d..c19645aa4f 100644 > > --- a/drivers/net/bonding/rte_eth_bond_8023ad.c > > +++ b/drivers/net/bonding/rte_eth_bo

[v3 2/2] eal: add total memory size in memory dump APIs

2024-10-10 Thread Gagandeep Singh
This patch add total memory size dump in memzone and memsegments dump APIs. Signed-off-by: Gagandeep Singh --- lib/eal/common/eal_common_memory.c | 2 ++ lib/eal/common/eal_common_memzone.c | 18 -- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/lib/eal/common/

  1   2   3   >