[PATCH v3] net/ice: add devargs for disabling default mac

2023-01-12 Thread Ke Zhang
From: "ke1x.zhang" Add the feature that support to disable default mac which will be used by ice driver when setting dpdk_devargs config field. Default mac is not disabled in default, user can choose to disable the default mac by setting ``devargs`` parameter ``default-mac-disable``, for exampl

RE: [RFC PATCH 0/7] support vfio platform PMD

2023-01-12 Thread Tomasz Duszynski
Hi Chenbo, >-Original Message- >From: Xia, Chenbo >Sent: Friday, December 23, 2022 8:05 AM >To: Tomasz Duszynski ; dev@dpdk.org >Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran >Subject: [EXT] RE: [RFC PATCH 0/7] support vfio platform PMD > >External Email > >

Re: [PATCH v3 0/1] baseband/acc: changes for 23.03

2023-01-12 Thread Maxime Coquelin
Hi Hernan, On 1/11/23 17:57, Hernan Vargas wrote: v3: Remove unused mempool header. v2: Reordered commits and added one more fix. v1: Upstreaming ACC100 changes for 23.03. Hernan Vargas (1): baseband/acc: acc100 ignore missing mempools drivers/baseband/acc/rte_acc100_pmd.c | 9 -

Re: [PATCH v3 1/4] ethdev: add trace points

2023-01-12 Thread Thomas Monjalon
15/12/2022 07:49, Jerin Jacob: > On Wed, Dec 14, 2022 at 5:40 PM Ferruh Yigit wrote: > > > > On 12/14/2022 10:40 AM, Jerin Jacob wrote: > > > On Wed, Dec 14, 2022 at 1:37 AM Ferruh Yigit wrote: > > >> 4) Why we need to export trace point variables in the .map files, > > >> like '__rte_eth_trace_a

[PATCH] lib/net: support UDP pseudo-header for UFO

2023-01-12 Thread Zhichao Zeng
Add UDP pseudo-header processing for UDP segmentation offload by adding the UDP_SEG flag. Signed-off-by: Zhichao Zeng --- lib/net/rte_ip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/rte_ip.h b/lib/net/rte_ip.h index 9c8e8206f0..4761ede747 100644 --- a/lib/net/rte

[PATCH] net/iavf: fix building data desc

2023-01-12 Thread Zhichao Zeng
Build correct data desc for UFO pkt by adding UDP_SEG flag, and disable L4 checksum offload when TSO/UFO is enabled to prevent the MDD. Fixes: 1e728b01120c ("net/iavf: rework Tx path") Cc: sta...@dpdk.org Signed-off-by: Zhichao Zeng --- drivers/net/iavf/iavf_rxtx.c | 15 +-- 1 file

trace point symbols

2023-01-12 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday, 12 January 2023 10.11 > > 15/12/2022 07:49, Jerin Jacob: > > On Wed, Dec 14, 2022 at 5:40 PM Ferruh Yigit > wrote: > > > > > > On 12/14/2022 10:40 AM, Jerin Jacob wrote: > > > > On Wed, Dec 14, 2022 at 1:37 AM Ferruh Yigit >

RE: [EXT] Re: [PATCH v2 2/3] graph: pcap capture for graph nodes

2023-01-12 Thread Amit Prakash Shukla
Hi Stephen, > -Original Message- > From: Stephen Hemminger > Sent: Wednesday, January 11, 2023 9:37 PM > To: Amit Prakash Shukla > Cc: Jerin Jacob Kollanukkaran ; Kiran Kumar > Kokkilagadda ; Nithin Kumar Dabilpuram > ; dev@dpdk.org > Subject: [EXT] Re: [PATCH v2 2/3] graph: pcap capture

[PATCH v3 1/3] pcapng: comment option support for epb

2023-01-12 Thread Amit Prakash Shukla
This change enhances rte_pcapng_copy to have comment in enhanced packet block. Signed-off-by: Amit Prakash Shukla --- v2: - Fixed code style issue - Fixed CI compilation issue on github-robot v3: - Code review suggestion from Stephen - Fixed potential memory leak app/test/test_pcapng.c |

[PATCH v3 2/3] graph: pcap capture for graph nodes

2023-01-12 Thread Amit Prakash Shukla
Implementation adds support to capture packets at each node with packet metadata and node name. Signed-off-by: Amit Prakash Shukla --- v2: - Fixed code style issue - Fixed CI compilation issue on github-robot v3: - Code review suggestion from Stephen - Fixed potential memory leak lib/graph

[PATCH v3 3/3] l3fwd-graph: changes to configure pcap capture

2023-01-12 Thread Amit Prakash Shukla
Added support to configure pcap capture. Signed-off-by: Amit Prakash Shukla --- v2: - Fixed code style issue - Fixed CI compilation issue on github-robot v3: - Code review suggestion from Stephen - Fixed potential memory leak doc/guides/sample_app_ug/l3_forward_graph.rst | 9 +++ examples

RE: [PATCH] crypto/qat: fix build

2023-01-12 Thread Ji, Kai
Ok, a long story short, this issue should only occurred when RTE_QAT_LIBIPSECMB is enabled. It was intend to remove Openssl lib dependency in QAT replaced with ipsec_mb lib, but the work was partially done due to limitation of ipsec_mb by the time (FIPS certification) I'm happy with current fix

Re: [PATCH] crypto/qat: fix build

2023-01-12 Thread Thomas Monjalon
12/01/2023 11:32, Ji, Kai: > Ok, a long story short, this issue should only occurred when > RTE_QAT_LIBIPSECMB is enabled. > It was intend to remove Openssl lib dependency in QAT replaced with ipsec_mb > lib, but the work was partially done due to limitation of ipsec_mb by the > time (FIPS certi

[PATCH v2 0/3] Add support for SHAKE

2023-01-12 Thread Volodymyr Fialko
This series defines new enums for SHAKE128 and SHAKE256 authentication algorithms and implements support for CNXK crypto PMD. v2: - rebased for dpdk-next-crypto Volodymyr Fialko (3): cryptodev: add SHAKE algorithm app/test: add SHAKE test cases crypto/cnxk: add support for SHAKE hash app/

[PATCH v2 1/3] cryptodev: add SHAKE algorithm

2023-01-12 Thread Volodymyr Fialko
Add SHAKE to enum of auth algorithms. Signed-off-by: Volodymyr Fialko --- doc/guides/cryptodevs/features/default.ini | 2 ++ lib/cryptodev/rte_crypto_sym.h | 7 ++- lib/cryptodev/rte_cryptodev.c | 5 - 3 files changed, 12 insertions(+), 2 deletions(-) diff --git

[PATCH v2 2/3] app/test: add SHAKE test cases

2023-01-12 Thread Volodymyr Fialko
Add test cases for SHAKE hash algorithm for Digest and Digest-Verify. Signed-off-by: Volodymyr Fialko --- app/test/test_cryptodev_hash_test_vectors.h | 66 + 1 file changed, 66 insertions(+) diff --git a/app/test/test_cryptodev_hash_test_vectors.h b/app/test/test_cryptodev_

[PATCH v2 3/3] crypto/cnxk: add support for SHAKE hash

2023-01-12 Thread Volodymyr Fialko
Add support for SHAKE hash and hmac operations Signed-off-by: Volodymyr Fialko --- doc/guides/cryptodevs/cnxk.rst| 2 + doc/guides/cryptodevs/features/cn10k.ini | 2 + doc/guides/cryptodevs/features/cn9k.ini | 2 + drivers/common/cnxk/roc_se.h | 4

Re: [PATCH v4] devtools: parallelize ABI check

2023-01-12 Thread David Marchand
On Wed, Jan 11, 2023 at 8:53 PM Thomas Monjalon wrote: > > Generation and comparison of ABI dumps are done on multiple cores > thanks to xargs -P0. > It can accelerate this long step by 5 in my tests. > > xargs reports a global error if one of the process has an error. > > Running a shell function

[PATCH v2 1/9] telemetry: remove RTE prefix from internal enum values

2023-01-12 Thread Bruce Richardson
To better distinguish which values are public and which are internal remove the "RTE_" prefix off the internal enum defining the container types. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup Acked-by: Tyler Retzlaff --- lib/ethdev/sff_telemetry.c | 2 +- lib/telemetry/telemetry

[PATCH v2 0/9] Standardize telemetry int types

2023-01-12 Thread Bruce Richardson
Rather than having 64-bit unsigned types and 32-bit signed types supported by the telemetry lib, we should support 64-bit values for both types. On the naming side, since both are 64-bit, we should no longer call the unsigned value u64 - "uint" is better. This patchset implements these changes as

[PATCH v2 2/9] telemetry: make array initialization more robust

2023-01-12 Thread Bruce Richardson
Rather than relying on a specific ordering of elements in the array matching that of elements in the enum definition, we can explicitly mark each array entry using the equivalent enum value as an index. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup Acked-by: Tyler Retzlaff --- lib/te

[PATCH v2 3/9] telemetry: rename unsigned 64-bit enum value to uint

2023-01-12 Thread Bruce Richardson
For telemetry data, rather than having unsigned 64-bit values and signed 32-bit values, we want to just have unsigned and signed values, each stored with the max bit-width i.e. 64-bits. To that end, we rename the U64 enum entry to "UINT" to have a more generic name For backward API-level compatibi

[PATCH v2 4/9] telemetry: add uint type as alias for u64

2023-01-12 Thread Bruce Richardson
To match the "_int" suffix for telemetry data functions taking signed values, we can add new functions with the "_uint" suffix for unsigned ones. While later patches will deprecate the old public functions, for now we can just add the new functions as aliases or duplicates of the older ones with th

[PATCH v2 5/9] global: rename telemetry functions to newer versions

2023-01-12 Thread Bruce Richardson
Within the DPDK code-base, replace all occurances of "rte_tel_data_add_array_u64" with "rte_tel_data_add_array_uint", and similarly replace all occurances of "rte_tel_data_add_dict_u64" with "rte_tel_data_add_dict_uint". This allows us to later mark the older functions as deprecated without hitting

[PATCH v2 6/9] telemetry: mark old names of renamed fns as deprecated

2023-01-12 Thread Bruce Richardson
Add a deprecation notice for the renaming of the telemetry data u64/uint functions, and point users to the newer versions of them when building. To do this, we also need to mark the renamed versions as stable, rather than experimental. Signed-off-by: Bruce Richardson --- Note: This patch adds th

[PATCH v2 7/9] telemetry: update json functions to use int/uint in names

2023-01-12 Thread Bruce Richardson
Since we are standardizing on using uint in place of u64, and expanding the int values to 64-bit, we can update the internal json functions to use the new names and expanded signed type. Suggested-by: Morten Brørup Signed-off-by: Bruce Richardson Acked-by: Morten Brørup Acked-by: Tyler Retzlaff

[PATCH v2 8/9] telemetry: make internal int representation 64-bits

2023-01-12 Thread Bruce Richardson
The internal storage for int values can be expanded from 32-bit to 64-bit without affecting the external ABI. Suggested-by: Morten Brørup Signed-off-by: Bruce Richardson Acked-by: Morten Brørup Acked-by: Tyler Retzlaff --- lib/telemetry/telemetry_data.h | 2 +- 1 file changed, 1 insertion(+),

[PATCH v2 9/9] telemetry: change public API to use 64-bit signed values

2023-01-12 Thread Bruce Richardson
While the unsigned values added to telemetry dicts/arrays were up to 64-bits in size, the sized values were only up to 32-bits. We can standardize the API by having both int and uint functions take 64-bit values. For ABI compatibility, we use function versioning to ensure older binaries can still u

Re: [PATCH] bus/vdev: automatically add eth alias for net drivers

2023-01-12 Thread Bruce Richardson
On Wed, Oct 19, 2022 at 02:11:18PM +0100, Bruce Richardson wrote: > For historical reasons, a number of net vdev drivers also add a driver > alias using the "eth_" prefix. Since this is done on a per-driver basis, > the use of the alias in inconsistent and is spread across multiple > files. We can

[PATCH v5 0/6] add trace points in ethdev library

2023-01-12 Thread Ankur Dwivedi
This series adds trace points for functions in the ethdev library. The trace points are added in ethdev, flow, mtr and tm files. v5: - The rte_trace_point_emit_char_array function is renamed to rte_trace_point_emit_blob. With this function an array of any length upto 65535 bytes can be cap

[PATCH v5 1/6] eal: trace: add trace point emit for blob

2023-01-12 Thread Ankur Dwivedi
Adds a trace point emit function for emitting a blob. The maximum blob bytes which can be captured is maximum value contained in uint16_t, which is 65535. Also adds test case for emit array tracepoint function. Signed-off-by: Ankur Dwivedi --- app/test/test_trace.c | 5 +++

[PATCH v5 2/6] ethdev: add trace points for ethdev

2023-01-12 Thread Ankur Dwivedi
Adds trace points for ethdev functions. Moved the rte_ethdev_trace_rx_burst and rte_ethdev_trace_tx_burst to a new file rte_ethdev_trace_fp_burst.h. This is needed to resolve cyclic dependency between rte_ethdev.h and rte_ethdev_trace_fp.h. Signed-off-by: Ankur Dwivedi --- lib/ethdev/ethdev_priv

[PATCH v5 3/6] ethdev: add trace points for remaining functions

2023-01-12 Thread Ankur Dwivedi
Adds trace points for remaining ethdev functions. Signed-off-by: Ankur Dwivedi --- lib/ethdev/ethdev_trace_points.c | 252 +++ lib/ethdev/rte_ethdev.c | 476 ++- lib/ethdev/rte_ethdev_cman.c | 30 +- lib/ethdev/rte_ethdev_trace.h| 529 +++

[PATCH v5 4/6] ethdev: add trace points for flow

2023-01-12 Thread Ankur Dwivedi
Adds trace points for rte_flow specific functions in ethdev lib. Signed-off-by: Ankur Dwivedi --- lib/ethdev/ethdev_trace_points.c | 117 ++ lib/ethdev/rte_ethdev_trace.h| 383 +++ lib/ethdev/rte_ethdev_trace_fp.h | 113 + lib/ethdev/rte_flow.c

[PATCH v5 5/6] ethdev: add trace points for mtr

2023-01-12 Thread Ankur Dwivedi
Adds trace points for rte_mtr specific functions in ethdev lib. Signed-off-by: Ankur Dwivedi --- lib/ethdev/ethdev_trace_points.c | 63 + lib/ethdev/rte_ethdev_trace.h| 112 ++ lib/ethdev/rte_ethdev_trace_fp.h | 100 lib/ethdev/rte_mtr.c

[PATCH v5 6/6] ethdev: add trace points for tm

2023-01-12 Thread Ankur Dwivedi
Adds trace points for rte_tm specific functions in ethdev lib. Signed-off-by: Ankur Dwivedi --- lib/ethdev/ethdev_trace_points.c | 90 +++ lib/ethdev/rte_ethdev_trace.h| 141 ++ lib/ethdev/rte_ethdev_trace_fp.h | 171 + lib/ethdev/rte_tm.c

[RFC PATCH 0/1] Specify C-standard requirement for DPDK builds

2023-01-12 Thread Bruce Richardson
Traditionally, DPDK has never specified a minimum C standard used either in DPDK builds or for applications using DPDK. Following discussion on-list about C standards, this RFC attempts to start the process of codifying what our standards expectations are. No code changes are made by this RFC, inst

[RFC PATCH 1/1] build: increase minimum C standard for DPDK builds

2023-01-12 Thread Bruce Richardson
Set the default C language standard to be used for DPDK builds to C99. This requires no actual code changes to build successfully. To ensure compatibility is kept for external apps using DPDK headers, we explicitly set the build parameters for the chkincs binary to the old minimum standard of "gnu

Re: [PATCH v3 2/3] graph: pcap capture for graph nodes

2023-01-12 Thread Jerin Jacob
On Thu, Jan 12, 2023 at 3:31 PM Amit Prakash Shukla wrote: > > Implementation adds support to capture packets at each node with > packet metadata and node name. > > Signed-off-by: Amit Prakash Shukla > --- > v2: > - Fixed code style issue > - Fixed CI compilation issue on github-robot > > > dif

RE: [PATCH v2 0/4] crypto/ccp cleanup

2023-01-12 Thread Uttarwar, Sunil Prakashrao
[AMD Official Use Only - General] Hi David, Please find the below update. Thanks Sunil -Original Message- From: David Marchand Sent: Wednesday, January 11, 2023 8:44 PM To: Uttarwar, Sunil Prakashrao Cc: Yigit, Ferruh ; Akhil Goyal ; Namburu, Chandu-babu ; Sebastian, Selwin ; dev ;

RE: [PATCH v5 1/6] eal: trace: add trace point emit for blob

2023-01-12 Thread Morten Brørup
> From: Ankur Dwivedi [mailto:adwiv...@marvell.com] > Sent: Thursday, 12 January 2023 12.22 > > Adds a trace point emit function for emitting a blob. The maximum blob > bytes which can be captured is maximum value contained in uint16_t, > which is 65535. > > Also adds test case for emit array tra

RE: [RFC PATCH 1/1] build: increase minimum C standard for DPDK builds

2023-01-12 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Thursday, 12 January 2023 12.36 > > Set the default C language standard to be used for DPDK builds to C99. > This requires no actual code changes to build successfully. Great! > > To ensure compatibility is kept for external a

Re: [RFC PATCH 1/1] build: increase minimum C standard for DPDK builds

2023-01-12 Thread Bruce Richardson
On Thu, Jan 12, 2023 at 01:42:48PM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Thursday, 12 January 2023 12.36 > > > > Set the default C language standard to be used for DPDK builds to C99. > > This requires no actual code changes to build s

Re: [PATCH v3 5/5] eventdev/crypto: fix failed events

2023-01-12 Thread Jerin Jacob
On Wed, Dec 7, 2022 at 12:26 PM Gujjar, Abhinandan S wrote: > > Acked-by: Abhinandan Gujjar > > > -Original Message- > > From: Kundapura, Ganapati > > Sent: Wednesday, December 7, 2022 12:20 PM > > To: dev@dpdk.org; jer...@marvell.com; Naga Harish K, S V > > ; Gujjar, Abhinandan S > > >

RE: [PATCH] crypto/qat: fix build

2023-01-12 Thread De Lara Guarch, Pablo
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: Thursday, January 12, 2023 10:41 AM > To: De Lara Guarch, Pablo ; Akhil Goyal > ; Ji, Kai > Cc: dev@dpdk.org; Tyler Retzlaff ; > dev@dpdk.org; David Marchand ; Dooley, > Brian ; Power, Ciara ; > Mcnamara, John > Subject: Re

RE: [PATCH v5 1/6] eal: trace: add trace point emit for blob

2023-01-12 Thread Ankur Dwivedi
Hi Morten, My comments are inline. >-Original Message- >From: Morten Brørup >Sent: Thursday, January 12, 2023 6:09 PM >To: Ankur Dwivedi ; dev@dpdk.org >Cc: tho...@monjalon.net; david.march...@redhat.com; m...@ashroe.eu; >or...@nvidia.com; ferruh.yi...@amd.com; ch...@att.com; >humi...@hu

Re: [dpdk-dev] [PATCH] common/cnxk: fix issue with IPv6 ext matching

2023-01-12 Thread Jerin Jacob
On Thu, Jan 12, 2023 at 12:06 PM wrote: > > From: Kiran Kumar K > > While configuring ipv6 flow, ipv6 ext ltype should be > matched along with ipv6. Adding changes to fix this issue. > > Fixes: 474e275b1bc6 ("common/cnxk: support extensions attributes in IPv6 > item") > Cc: sta...@dpdk.org > > S

[PATCH 1/4] net/mlx5/hws: definitions for Hash Split/Linear Lookup tbls

2023-01-12 Thread Yevgeny Kliteynik
Added PRM bits for new RTC types: Hash Split and Linear Lookup tables, as well as for HASH_RESULT field that contains hash result of the Hash Split table calculation. Signed-off-by: Yevgeny Kliteynik --- drivers/common/mlx5/mlx5_prm.h| 26 +++--- drivers/net/mlx5/hws/mlx5

[PATCH 2/4] net/mlx5/hws: read capabilities for Split/Linear tables

2023-01-12 Thread Yevgeny Kliteynik
Read device capabilities that describe the support for Hash Split table and Linear RTC table. Signed-off-by: Yevgeny Kliteynik --- drivers/net/mlx5/hws/mlx5dr_cmd.c | 16 drivers/net/mlx5/hws/mlx5dr_cmd.h | 4 2 files changed, 20 insertions(+) diff --git a/drivers/net/mlx

[PATCH 3/4] net/mlx5/hws: support insert/distribute RTC properties

2023-01-12 Thread Yevgeny Kliteynik
Added support for RTC with insertion by hash/index and distribution by normal/linear hash. Supported modes are: - INSERT_BY_HASH + DISTRIBUTE_BY_HASH: what we had until now - INSERT_BY_INDEX + DISTRIBUTE_BY_HASH: Hash Split table, can also be used to calculate hash, in which case the result can

[PATCH 4/4] net/mlx5/hws: handle collision matcher for linear RTC

2023-01-12 Thread Yevgeny Kliteynik
No need to create/destroy collision matcher for linear RTC, because it has a constant depth of 1 STE - packets reaching any STE in the array will always match and perform the specified actions. Signed-off-by: Yevgeny Kliteynik --- drivers/net/mlx5/hws/mlx5dr_matcher.c | 6 -- 1 file changed,

Re: [PATCH v4] devtools: parallelize ABI check

2023-01-12 Thread Ferruh Yigit
On 1/12/2023 10:53 AM, David Marchand wrote: > On Wed, Jan 11, 2023 at 8:53 PM Thomas Monjalon wrote: >> >> Generation and comparison of ABI dumps are done on multiple cores >> thanks to xargs -P0. >> It can accelerate this long step by 5 in my tests. >> >> xargs reports a global error if one of t

Re: [PATCH] crypto/qat: fix build

2023-01-12 Thread Thomas Monjalon
12/01/2023 14:22, De Lara Guarch, Pablo: > Hi Thomas, > > From: Thomas Monjalon > > 12/01/2023 11:32, Ji, Kai: > > > Ok, a long story short, this issue should only occurred when > > RTE_QAT_LIBIPSECMB is enabled. > > > It was intend to remove Openssl lib dependency in QAT replaced with > > > ipse

[PATCH] Update mailmap file

2023-01-12 Thread Yevgeny Kliteynik
Signed-off-by: Yevgeny Kliteynik --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index 75884b6fe2..8b48f41ca8 100644 --- a/.mailmap +++ b/.mailmap @@ -1495,6 +1495,7 @@ Yash Sharma Yasufumi Ogawa Yelena Krivosheev Yerden Zhumabekov +Yevgeny Kliteynik

RE: [RFC PATCH 1/1] build: increase minimum C standard for DPDK builds

2023-01-12 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Thursday, 12 January 2023 13.47 > > On Thu, Jan 12, 2023 at 01:42:48PM +0100, Morten Brørup wrote: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Thursday, 12 January 2023 12.36 > > > > > > Set the d

[PATCH V3 00/11] pipeline: add IPsec support

2023-01-12 Thread Cristian Dumitrescu
This patch set introduces a companion block for the SWX pipeline for IPsec support. The IPsec block is external to the pipeline, hence it needs to be explicitly instantiated by the user and connected to a pipeline instance through the pipeline I/O ports. Main features: * IPsec inbound (encrypted

[PATCH V3 01/11] pipeline: add IPsec support

2023-01-12 Thread Cristian Dumitrescu
This block is providing IPsec support to the SWX pipeline. The IPsec block is external to the pipeline, so it needs to be explicitly instantiated and connected to a pipeline through the I/O ports. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- lib/pipeline/meson.build

[PATCH V3 02/11] examples/pipeline: rework memory pool support

2023-01-12 Thread Cristian Dumitrescu
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 72 ++--- examples/pipeline/examples/fib.cli| 2 +- exa

[PATCH V3 03/11] examples/pipeline: streamline ring support

2023-01-12 Thread Cristian Dumitrescu
Remove redundant ring related code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 24 ++-- examples/pipeline/obj.c | 63 - examples/pipeline/obj.h | 21 -- 3 files changed, 15 insert

[PATCH V3 04/11] examples/pipeline: streamline the Ethernet device support

2023-01-12 Thread Cristian Dumitrescu
Streamline the Ethernet device support code and remove redundant code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 175 ++-- examples/pipeline/main.c | 12 +-- examples/pipeline/obj.c | 186 +--

[PATCH V3 05/11] examples/pipeline: support crypto devices

2023-01-12 Thread Cristian Dumitrescu
Add support for crypto devices in the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/obj.c | 60 + examples/pipeline/obj.h | 11 2 files changed, 71 insertions(+) diff --git a/examples/pipelin

[PATCH V3 06/11] examples/pipeline: add CLI command for crypto device

2023-01-12 Thread Cristian Dumitrescu
Add CLI command for the configuration of crypto devices. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 63 + 1 file changed, 63 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[PATCH V3 07/11] examples/pipeline: add IPsec CLI commands

2023-01-12 Thread Cristian Dumitrescu
Add CLI commands for IPsec block configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 298 1 file changed, 298 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index 6b

[PATCH V3 08/11] examples/pipeline: rework the thread configuration updates

2023-01-12 Thread Cristian Dumitrescu
Previously, the configuration updates for the data plane threads were performed through message queues. Now, this mechanism is replaced by the control thread updating the mirror copy of the data plane thread configuration followed by pointer swapping. Signed-off-by: Cristian Dumitrescu Signed-off

[PATCH V3 09/11] examples/pipeline: support blocks other than pipelines

2023-01-12 Thread Cristian Dumitrescu
Previously, the data plane threads only supported the execution of pipelines assigned to them through configuration updates. Now, the data plane threads also support running blocks such as IPsec. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/thread.c | 1

[PATCH V3 10/11] examples/pipeline: add block enable/disable CLI commands

2023-01-12 Thread Cristian Dumitrescu
Add CLI commands to enable/disable block execution on data plane threads. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 154 1 file changed, 154 insertions(+) diff --git a/examples/pipeline/cli.c b/exampl

[PATCH V3 11/11] examples/pipeline: add IPsec example

2023-01-12 Thread Cristian Dumitrescu
Add example files to illustrate the pipeline IPsec support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/examples/ipsec.cli| 57 +++ examples/pipeline/examples/ipsec.io | 23 +++ examples/pipeline/examples/ipsec.spec | 138 ++

[PATCH V3 00/11] pipeline: add IPsec support

2023-01-12 Thread Cristian Dumitrescu
This patch set introduces a companion block for the SWX pipeline for IPsec support. The IPsec block is external to the pipeline, hence it needs to be explicitly instantiated by the user and connected to a pipeline instance through the pipeline I/O ports. Main features: * IPsec inbound (encrypted

[PATCH V3 01/11] pipeline: add IPsec support

2023-01-12 Thread Cristian Dumitrescu
This block is providing IPsec support to the SWX pipeline. The IPsec block is external to the pipeline, so it needs to be explicitly instantiated and connected to a pipeline through the I/O ports. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- lib/pipeline/meson.build

[PATCH V3 02/11] examples/pipeline: rework memory pool support

2023-01-12 Thread Cristian Dumitrescu
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 72 ++--- examples/pipeline/examples/fib.cli| 2 +- exa

[PATCH V3 03/11] examples/pipeline: streamline ring support

2023-01-12 Thread Cristian Dumitrescu
Remove redundant ring related code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 24 ++-- examples/pipeline/obj.c | 63 - examples/pipeline/obj.h | 21 -- 3 files changed, 15 insert

[PATCH V3 04/11] examples/pipeline: streamline the Ethernet device support

2023-01-12 Thread Cristian Dumitrescu
Streamline the Ethernet device support code and remove redundant code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 175 ++-- examples/pipeline/main.c | 12 +-- examples/pipeline/obj.c | 186 +--

[PATCH V3 05/11] examples/pipeline: support crypto devices

2023-01-12 Thread Cristian Dumitrescu
Add support for crypto devices in the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/obj.c | 60 + examples/pipeline/obj.h | 11 2 files changed, 71 insertions(+) diff --git a/examples/pipelin

[PATCH V3 06/11] examples/pipeline: add CLI command for crypto device

2023-01-12 Thread Cristian Dumitrescu
Add CLI command for the configuration of crypto devices. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 63 + 1 file changed, 63 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[PATCH V3 07/11] examples/pipeline: add IPsec CLI commands

2023-01-12 Thread Cristian Dumitrescu
Add CLI commands for IPsec block configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 298 1 file changed, 298 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index 6b

[PATCH V3 09/11] examples/pipeline: support blocks other than pipelines

2023-01-12 Thread Cristian Dumitrescu
Previously, the data plane threads only supported the execution of pipelines assigned to them through configuration updates. Now, the data plane threads also support running blocks such as IPsec. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/thread.c | 1

[PATCH V3 08/11] examples/pipeline: rework the thread configuration updates

2023-01-12 Thread Cristian Dumitrescu
Previously, the configuration updates for the data plane threads were performed through message queues. Now, this mechanism is replaced by the control thread updating the mirror copy of the data plane thread configuration followed by pointer swapping. Signed-off-by: Cristian Dumitrescu Signed-off

[PATCH V3 10/11] examples/pipeline: add block enable/disable CLI commands

2023-01-12 Thread Cristian Dumitrescu
Add CLI commands to enable/disable block execution on data plane threads. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 154 1 file changed, 154 insertions(+) diff --git a/examples/pipeline/cli.c b/exampl

[PATCH V3 11/11] examples/pipeline: add IPsec example

2023-01-12 Thread Cristian Dumitrescu
Add example files to illustrate the pipeline IPsec support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/examples/ipsec.cli| 57 +++ examples/pipeline/examples/ipsec.io | 23 +++ examples/pipeline/examples/ipsec.spec | 138 ++

RE: [PATCH] crypto/qat: fix build

2023-01-12 Thread De Lara Guarch, Pablo
> -Original Message- > From: Thomas Monjalon > Sent: Thursday, January 12, 2023 3:00 PM > To: Akhil Goyal ; Ji, Kai ; De Lara > Guarch, Pablo > Cc: dev@dpdk.org; Tyler Retzlaff ; > dev@dpdk.org; David Marchand ; Dooley, > Brian ; Power, Ciara ; > Mcnamara, John > Subject: Re: [PATCH]

Re: [PATCH] Update mailmap file

2023-01-12 Thread Thomas Monjalon
12/01/2023 16:03, Yevgeny Kliteynik: > +Yevgeny Kliteynik Your nvidia.com email should be enough. Please update this file in your first patch, it's enough.

Re: [PATCH] crypto/qat: fix build

2023-01-12 Thread Thomas Monjalon
12/01/2023 17:16, De Lara Guarch, Pablo: > From: Thomas Monjalon > > 12/01/2023 14:22, De Lara Guarch, Pablo: > > > Hi Thomas, > > > > > > From: Thomas Monjalon > > > > 12/01/2023 11:32, Ji, Kai: > > > > > Ok, a long story short, this issue should only occurred when > > > > RTE_QAT_LIBIPSECMB is

Re: [EXT] Re: [PATCH v2 2/3] graph: pcap capture for graph nodes

2023-01-12 Thread Stephen Hemminger
On Thu, 12 Jan 2023 09:57:50 + Amit Prakash Shukla wrote: > Hi Stephen, > > > -Original Message- > > From: Stephen Hemminger > > Sent: Wednesday, January 11, 2023 9:37 PM > > To: Amit Prakash Shukla > > Cc: Jerin Jacob Kollanukkaran ; Kiran Kumar > > Kokkilagadda ; Nithin Kumar Dab

[PATCH v7 1/4] eventdev/eth_rx: change eventdev reconfig logic

2023-01-12 Thread Naga Harish K S V
When rte_event_eth_rx_adapter_create() or rte_event_eth_rx_adapter_create_with_params() is used for creating adapter instance, eventdev is reconfigured with additional ``rte_event_dev_config::nb_event_ports`` parameter. This eventdev reconfig logic is enhanced to increment the ``rte_event_dev_conf

[PATCH v7 2/4] eventdev/eth_tx: change eventdev reconfig logic

2023-01-12 Thread Naga Harish K S V
When rte_event_eth_tx_adapter_create() is used for creating adapter instance, eventdev is reconfigured with additional ``rte_event_dev_config::nb_event_ports`` parameter. This eventdev reconfig logic is enhanced to increment the ``rte_event_dev_config::nb_single_link_event_port_queues`` parameter

[PATCH v7 3/4] eventdev/crypto: change eventdev reconfig logic

2023-01-12 Thread Naga Harish K S V
When rte_event_crypto_adapter_create() is used for creating adapter instance, eventdev is reconfigured with additional ``rte_event_dev_config::nb_event_ports`` parameter. This eventdev reconfig logic is enhanced to increment the ``rte_event_dev_config::nb_single_link_event_port_queues`` parameter

[PATCH v7 4/4] eventdev/timer: change eventdev reconfig logic

2023-01-12 Thread Naga Harish K S V
When rte_event_timer_adapter_create() is used for creating adapter instance, eventdev is reconfigured with additional ``rte_event_dev_config::nb_event_ports`` parameter. This eventdev reconfig logic is enhanced to increment the ``rte_event_dev_config::nb_single_link_event_port_queues`` parameter i

Re: [PATCH v3] net/ice: add devargs for disabling default mac

2023-01-12 Thread Stephen Hemminger
On Thu, 12 Jan 2023 15:55:38 +0800 Ke Zhang wrote: > From: "ke1x.zhang" > > Add the feature that support to disable default mac which > will be used by ice driver when setting dpdk_devargs config > field. > > Default mac is not disabled in default, user can > choose to disable the default mac

RE: [PATCH v5 1/6] eal: trace: add trace point emit for blob

2023-01-12 Thread Sunil Kumar Kori
> -Original Message- > From: Ankur Dwivedi > Sent: Thursday, January 12, 2023 4:52 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; david.march...@redhat.com; m...@ashroe.eu; > or...@nvidia.com; ferruh.yi...@amd.com; ch...@att.com; > humi...@huawei.com; linvi...@tuxdriver.com; ciara.lof...

RE: [PATCH v6 4/4] eventdev/timer: change eventdev reconfig logic

2023-01-12 Thread Naga Harish K, S V
Hi Jerin, > -Original Message- > From: Jerin Jacob > Sent: Thursday, January 12, 2023 12:36 PM > To: Naga Harish K, S V > Cc: jer...@marvell.com; Carrillo, Erik G ; Gujjar, > Abhinandan S ; dev@dpdk.org; > Jayatheerthan, Jay > Subject: Re: [PATCH v6 4/4] eventdev/timer: change eventdev

Re: [PATCH] crypto/qat: fix build

2023-01-12 Thread Tyler Retzlaff
On Thu, Jan 12, 2023 at 01:22:09PM +, De Lara Guarch, Pablo wrote: > Hi Thomas, > > > -Original Message- > > From: Thomas Monjalon > > Sent: Thursday, January 12, 2023 10:41 AM > > To: De Lara Guarch, Pablo ; Akhil Goyal > > ; Ji, Kai > > Cc: dev@dpdk.org; Tyler Retzlaff ; > > dev@dp

RE: [PATCH v5 2/6] ethdev: add trace points for ethdev

2023-01-12 Thread Sunil Kumar Kori
> -Original Message- > From: Ankur Dwivedi > Sent: Thursday, January 12, 2023 4:52 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; david.march...@redhat.com; m...@ashroe.eu; > or...@nvidia.com; ferruh.yi...@amd.com; ch...@att.com; > humi...@huawei.com; linvi...@tuxdriver.com; ciara.lof...

RE: [PATCH v5 3/6] ethdev: add trace points for remaining functions

2023-01-12 Thread Sunil Kumar Kori
> -Original Message- > From: Ankur Dwivedi > Sent: Thursday, January 12, 2023 4:52 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; david.march...@redhat.com; m...@ashroe.eu; > or...@nvidia.com; ferruh.yi...@amd.com; ch...@att.com; > humi...@huawei.com; linvi...@tuxdriver.com; ciara.lof...

RE: [PATCH v5 1/6] eal: trace: add trace point emit for blob

2023-01-12 Thread Sunil Kumar Kori
One more observation that the size of lib.eal.generic.blob trace point is 31962 bytes. Is this trace point this much big or some bug ? > -Original Message- > From: Sunil Kumar Kori > Sent: Thursday, January 12, 2023 10:00 PM > To: Ankur Dwivedi ; dev@dpdk.org > Cc: tho...@monjalon.net; da

RE: [EXT] Re: [PATCH] crypto/qat: fix build

2023-01-12 Thread Akhil Goyal
> 12/01/2023 17:16, De Lara Guarch, Pablo: > > From: Thomas Monjalon > > > 12/01/2023 14:22, De Lara Guarch, Pablo: > > > > Hi Thomas, > > > > > > > > From: Thomas Monjalon > > > > > 12/01/2023 11:32, Ji, Kai: > > > > > > Ok, a long story short, this issue should only occurred when > > > > > RTE_

Re: [PATCH v5 0/6] add trace points in ethdev library

2023-01-12 Thread Ferruh Yigit
On 1/12/2023 11:21 AM, Ankur Dwivedi wrote: > This series adds trace points for functions in the ethdev library. > The trace points are added in ethdev, flow, mtr and tm files. > > v5: > - The rte_trace_point_emit_char_array function is renamed to >rte_trace_point_emit_blob. With this functi

Re: [RFC PATCH 1/1] build: increase minimum C standard for DPDK builds

2023-01-12 Thread Tyler Retzlaff
On Thu, Jan 12, 2023 at 11:35:56AM +, Bruce Richardson wrote: > Set the default C language standard to be used for DPDK builds to C99. > This requires no actual code changes to build successfully. > > To ensure compatibility is kept for external apps using DPDK headers, we > explicitly set the

[PATCH v3 0/9] Standardize telemetry int types

2023-01-12 Thread Bruce Richardson
Rather than having 64-bit unsigned types and 32-bit signed types supported by the telemetry lib, we should support 64-bit values for both types. On the naming side, since both are 64-bit, we should no longer call the unsigned value u64 - "uint" is better. This patchset implements these changes as

[PATCH v3 1/9] telemetry: remove RTE prefix from internal enum values

2023-01-12 Thread Bruce Richardson
To better distinguish which values are public and which are internal remove the "RTE_" prefix off the internal enum defining the container types. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup Acked-by: Tyler Retzlaff --- lib/ethdev/sff_telemetry.c | 2 +- lib/telemetry/telemetry

[PATCH v3 2/9] telemetry: make array initialization more robust

2023-01-12 Thread Bruce Richardson
Rather than relying on a specific ordering of elements in the array matching that of elements in the enum definition, we can explicitly mark each array entry using the equivalent enum value as an index. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup Acked-by: Tyler Retzlaff --- lib/te

  1   2   >