Re: [PATCH v1 3/7] baseband/acc: remove the 4G SO capability for VRB1

2023-09-27 Thread Maxime Coquelin
On 9/21/23 19:18, Chautru, Nicolas wrote: Hi David, -Original Message- From: David Marchand Sent: Thursday, September 21, 2023 12:13 AM To: Chautru, Nicolas Cc: dev@dpdk.org; maxime.coque...@redhat.com; hemant.agra...@nxp.com; Vargas, Hernan ; Thomas Monjalon Subject: Re: [PATCH v

Re: [PATCH v1 3/7] baseband/acc: remove the 4G SO capability for VRB1

2023-09-27 Thread Maxime Coquelin
On 9/27/23 09:08, Maxime Coquelin wrote: On 9/21/23 19:18, Chautru, Nicolas wrote: Hi David, -Original Message- From: David Marchand Sent: Thursday, September 21, 2023 12:13 AM To: Chautru, Nicolas Cc: dev@dpdk.org; maxime.coque...@redhat.com; hemant.agra...@nxp.com; Vargas, Her

Re: [PATCH] usertools/pmdinfo: fix usage typos

2023-09-27 Thread David Marchand
On Tue, Sep 19, 2023 at 12:20 PM Robin Jarry wrote: > > The docs and script usages are not consistent. > > There is no .devices, .vendor_id nor .device_id fields. Fix usage to the > correct field names. > > Some drivers do not expose any pci_ids, show how to use the []? jq > operator to avoid spur

Re: [PATCH v2 2/2] dts: reformat to 100 line length

2023-09-27 Thread Bruce Richardson
On Tue, Sep 26, 2023 at 02:10:13PM +0200, Juraj Linkeš wrote: > Reformat to 100 from the previous 88 to unify with C recommendations. > > Signed-off-by: Juraj Linkeš Generally for something like this we wouldn't reformat the existing code, because it confuses the git history e.g. for those looki

Re: DPDK patch

2023-09-27 Thread John Romein
On 26-09-2023 17:04, Aaron Conole wrote: Okay - we typically don't use pull requests. If you and others are are okay, I can take the patches and repost them to the ML from the pull requests with a note indicating such. Yes please; that would be helpful. Thanks,  John

Re: [PATCH v4 1/3] lib: introduce dispatcher library

2023-09-27 Thread Bruce Richardson
On Tue, Sep 26, 2023 at 11:58:37PM +0530, Jerin Jacob wrote: > On Mon, Sep 25, 2023 at 12:41 PM Mattias Rönnblom > wrote: > > > > On 2023-09-22 09:38, Mattias Rönnblom wrote: > > > > > > > > > +int > > > +rte_dispatcher_create(uint8_t id, uint8_t event_dev_id) > > > +{ > > > > > > There are two

Re: [PATCH v4 1/1] eal/unix: fix firmware reading with external xz helper

2023-09-27 Thread David Marchand
On Tue, Sep 26, 2023 at 4:45 PM Srikanth Yalavarthi wrote: > > libarchive may support xz decompression only through an > external (slower) helper. > > In such a case, archive_read_support_filter_xz() returns > ARCHIVE_WARN. > > Fixes: 40edb9c0d36b ("eal: handle compressed firmware") > Cc: sta...@d

Re: [PATCH 0/2] add checks for tests not in a suite

2023-09-27 Thread Bruce Richardson
On Wed, Sep 27, 2023 at 08:30:05AM +0200, David Marchand wrote: > On Tue, Sep 26, 2023 at 5:01 PM Aaron Conole wrote: > > David Marchand writes: > > > On Tue, Sep 19, 2023 at 10:36 AM Bruce Richardson > > > wrote: > > >> > > To help ensure that we don't have "orphaned" tests not in any test > >

Re: [PATCH v2 4/7] baseband/acc: allocate FCW memory separately

2023-09-27 Thread Maxime Coquelin
On 9/21/23 22:43, Nicolas Chautru wrote: This allows more flexibility to the FCW size for the unified driver. No actual functional change. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 4 +++- drivers/baseband/acc/rte_vrb_pmd.c | 25 - 2

Re: [PATCH v2 5/7] baseband/acc: add support for MLD operation

2023-09-27 Thread Maxime Coquelin
On 9/21/23 22:43, Nicolas Chautru wrote: There is no functionality related to the MLD operation but allows the unified PMD to support the operation being added moving forward. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 1 + drivers/baseband/acc/rte_vrb_pmd.c

Re: [PATCH v4 2/2] net/ice: fix scalar Tx path segment

2023-09-27 Thread David Marchand
On Tue, Sep 19, 2023 at 10:15 AM David Marchand wrote: > Replying on this old thread, as it seems no in depth review was done > but I need more info before fixing a bug added by ccf33dccf7aa > ("net/ice: check illegal packet sizes"). > > > On Fri, Nov 11, 2022 at 9:26 AM Mingjin Ye wrote: > > > >

Re: [PATCH v2 5/7] baseband/acc: add support for MLD operation

2023-09-27 Thread Maxime Coquelin
On 9/27/23 10:41, Maxime Coquelin wrote: On 9/21/23 22:43, Nicolas Chautru wrote: There is no functionality related to the MLD operation but allows the unified PMD to support the operation being added moving forward. Signed-off-by: Nicolas Chautru ---   drivers/baseband/acc/acc_common.h 

Re: [PATCH] eal/unix: enhance error reporting for firmware

2023-09-27 Thread David Marchand
On Fri, Sep 22, 2023 at 10:06 AM David Marchand wrote: > > Put more details if a libarchive context initialisation fails. > > Signed-off-by: David Marchand Now that the original reported issue has been understood, I don't think we need this patch. I'll discard it in patchwork. -- David Marcha

[PATCH v4 1/2] node: add IPv4 local node to handle local pkts

2023-09-27 Thread Rakesh Kudurumalla
Local or Host destined pkts can be redirected IPv4 local node using IP4 Lookup node entries with prefix of 32 and be redirected to this IP4 local node for further processing. Signed-off-by: Rakesh Kudurumalla --- v4: Updated on TOT doc/guides/prog_guide/graph_lib.rst | 15 ++ .../img

[PATCH v4 2/2] node: add UDP v4 support

2023-09-27 Thread Rakesh Kudurumalla
IPv4 UDP packets are given to application with specified UDP destination port given by user. Signed-off-by: Rakesh Kudurumalla --- doc/api/doxy-api-index.md | 3 +- doc/guides/prog_guide/graph_lib.rst | 25 ++ .../img/graph_inbuilt_node_flow.svg | 165 +

Re: [PATCH 0/2] add checks for tests not in a suite

2023-09-27 Thread David Marchand
On Wed, Sep 27, 2023 at 10:27 AM Bruce Richardson wrote: > On Wed, Sep 27, 2023 at 08:30:05AM +0200, David Marchand wrote: > > On Tue, Sep 26, 2023 at 5:01 PM Aaron Conole wrote: > > > David Marchand writes: > > > > On Tue, Sep 19, 2023 at 10:36 AM Bruce Richardson > > > > wrote: > > > >> > > T

Re: [PATCH v4 1/1] eal/unix: fix firmware reading with external xz helper

2023-09-27 Thread David Marchand
On Wed, Sep 27, 2023 at 10:20 AM David Marchand wrote: > On Tue, Sep 26, 2023 at 4:45 PM Srikanth Yalavarthi > wrote: > > > > libarchive may support xz decompression only through an > > external (slower) helper. > > > > In such a case, archive_read_support_filter_xz() returns > > ARCHIVE_WARN. >

Re: [PATCH v1 02/34] ml/cnxk: drop use of RTE API for firmware read

2023-09-27 Thread David Marchand
On Thu, Sep 21, 2023 at 2:08 PM Jerin Jacob wrote: > > On Wed, Aug 30, 2023 at 9:40 PM Srikanth Yalavarthi > wrote: > > > > Dropped use of rte_firmware_read API to read ML firmware > > binary. When DPDK is built with libarchive aaupport, the > > the RTE API assumes the binary file as a compressed

[PATCH v2 1/4] net/iavf: remove log from Tx prepare datapath function

2023-09-27 Thread David Marchand
iavf_prep_pkts reports to the application that the packet is invalid (from the driver pov). Having a log message only in this branch is not consistent with all other checks in this function and it may slow down the application if such invalid packets are being sent continuously. Fixes: 19ee91c6bd9

[PATCH v2 2/4] net/iavf: fix TSO with big segments

2023-09-27 Thread David Marchand
Packets to be segmented with TSO are usually larger than MTU. Plus, a single segment for the whole packet may be used: in OVS case, an external rte_malloc'd buffer is used for packets received from vhost-user ports. Before this fix, TSO packets were dropped by net/iavf with the following message:

[PATCH v2 3/4] net/ice: remove log from Tx prepare datapath function

2023-09-27 Thread David Marchand
ice_prep_pkts reports to the application that the packet is invalid (from the driver pov). Having a log message in those branches is not consistent with all other checks in this function and it may slow down the application if such invalid packets are being sent continuously. Fixes: ccf33dccf7aa (

[PATCH v2 4/4] net/ice: fix TSO with big segments

2023-09-27 Thread David Marchand
Packets to be segmented with TSO are usually larger than MTU. Plus, a single segment for the whole packet may be used: in OVS case, an external rte_malloc'd buffer is used for packets received from vhost-user ports. Before this fix, TSO packets were dropped by net/ice with the following message: 2

Re: [PATCH 0/2] add checks for tests not in a suite

2023-09-27 Thread Bruce Richardson
On Wed, Sep 27, 2023 at 11:31:07AM +0200, David Marchand wrote: > On Wed, Sep 27, 2023 at 10:27 AM Bruce Richardson > wrote: > > On Wed, Sep 27, 2023 at 08:30:05AM +0200, David Marchand wrote: > > > On Tue, Sep 26, 2023 at 5:01 PM Aaron Conole wrote: > > > > David Marchand writes: > > > > > On T

RE: [EXT] Re: [PATCH v1 02/34] ml/cnxk: drop use of RTE API for firmware read

2023-09-27 Thread Srikanth Yalavarthi
> -Original Message- > From: David Marchand > Sent: 27 September 2023 15:08 > To: Jerin Jacob > Cc: Srikanth Yalavarthi ; Prince Takkar > ; dev@dpdk.org; Shivah Shankar Shankar Narayan > Rao ; Anup Prabhu > Subject: [EXT] Re: [PATCH v1 02/34] ml/cnxk: drop use of RTE API for > firmware r

Re: [PATCH v1] net/axgbe: use CPUID to identify cpu

2023-09-27 Thread Bruce Richardson
On Fri, Sep 22, 2023 at 11:43:23AM +0200, David Marchand wrote: > On Fri, Sep 15, 2023 at 4:35 PM Ferruh Yigit wrote: > > > > On 9/15/2023 2:02 PM, David Marchand wrote: > > > On Fri, Sep 15, 2023 at 12:54 PM Ferruh Yigit > > > wrote: > > >> > > >> On 8/31/2023 1:31 PM, Selwin Sebastian wrote: >

[PATCH] net/sfc: support packet replay in transfer flows

2023-09-27 Thread Ivan Malov
Packet replay enables users to leverage multiple counters in one flow and allows to request delivery to multiple ports. A given flow rule may use either one inline count action and multiple indirect counters or just multiple indirect counters. The inline count action (if any) must come before the

RE: [PATCH v5 3/3] power: amd power monitor support

2023-09-27 Thread Tummala, Sivaprasad
[AMD Official Use Only - General] > -Original Message- > From: Konstantin Ananyev > Sent: Thursday, August 31, 2023 4:15 AM > To: Tyler Retzlaff ; Yigit, Ferruh > > Cc: Bruce Richardson ; Konstantin Ananyev > ; Tummala, Sivaprasad > ; david.h...@intel.com; > anatoly.bura...@intel.com; da

[PATCH v2 0/7] cryptodev: support digest message in SM2

2023-09-27 Thread Gowrishankar Muthukrishnan
This patch series fixes SM2 algorithm implementation to support digest message as input along with plain message as today. v2: - private and pubic keys stored per session. Gowrishankar Muthukrishnan (7): crypto/openssl: include SM2 in asymmetric capabilities cryptodev: set private and public

[PATCH v2 1/7] crypto/openssl: include SM2 in asymmetric capabilities

2023-09-27 Thread Gowrishankar Muthukrishnan
Include SM2 algorithm in the asymmetric capabilities supported by OpenSSL PMD. Fixes: 3b7d638fb11f ("crypto/openssl: support asymmetric SM2") Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Arkadiusz Kusztal --- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 14 ++ 1 file chang

[PATCH v2 2/7] cryptodev: set private and public keys in EC session

2023-09-27 Thread Gowrishankar Muthukrishnan
Set EC private and public keys into xform so that, it can be maintained per session. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_cryptodev_asym.c | 121 ++ drivers/common/cnxk/roc_ae.h | 18 ++ drivers/common/cpt/cpt_mcode_defines.h |

[PATCH v2 3/7] cryptodev: add RNG capability in EC based xform

2023-09-27 Thread Gowrishankar Muthukrishnan
Elliptic curve based asymmetric operations use cryptographically secure random number in its computation. If PMD supports RNG for such ops, the application could skip computing on its own. This patch adds new field in asymmetric capability to declare this capability. Signed-off-by: Gowrishankar Mu

[PATCH v2 4/7] cryptodev: add hash algorithms in asymmetric capability

2023-09-27 Thread Gowrishankar Muthukrishnan
Most of the asymmetric operations start with hash of the input. But a PMD might also support only plain input (eg openssl). Add a new field in asymmetric capability to declare support for hash operations that PMD can support for the asymmetric operations. Application can skip computing hash if PMD

[PATCH v2 5/7] cryptodev: use generic EC xform params for SM2

2023-09-27 Thread Gowrishankar Muthukrishnan
SM2 curve could use generic EC xform as it is yet another EC. This would also require SM2 curve ID enumerated along with other curves, as listed in: https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Arkadiusz Kusztal --- app

[PATCH v2 6/7] app/test: check asymmetric capabilities in SM2 test

2023-09-27 Thread Gowrishankar Muthukrishnan
Check asymmetric capabilities such as SM3 hash support and internal RNG and accordingly choose op params for SM2 test. Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Arkadiusz Kusztal --- app/test/test_cryptodev_asym.c | 78 -- app/test/test_cryptodev_sm2_te

[PATCH v2 7/7] crypto/cnxk: add SM2 support

2023-09-27 Thread Gowrishankar Muthukrishnan
Add SM2 asymmetric algorithm support in cnxk PMD. Signed-off-by: Gowrishankar Muthukrishnan --- doc/guides/cryptodevs/features/cn10k.ini | 1 + doc/guides/rel_notes/release_23_11.rst| 6 + drivers/common/cnxk/hw/cpt.h | 3 +- drivers/common/cnxk/roc_ae.c

[PATCH v4 0/3] Release ethdev shared memory on port cleanup

2023-09-27 Thread David Marchand
This series was triggered after investigating why the eal_flags_file_prefix_autotest unit test was failing in the case of statically built binaries [1]). For now, I went with a simple (naive) approach and put all accesses to the shared data under a single lock: ethdev maintainers, it is your turn

[PATCH v4 1/3] ethdev: protect shared memory accesses under one lock

2023-09-27 Thread David Marchand
ethdev currently uses two locks to protect access around eth_dev_shared_data: - one (process local) for avoiding multiple threads to reserve/lookup the eth_dev_shared_data memzone, - one (shared with other processes) for protecting port allocation/destruction, A next change will make it possib

[PATCH v4 2/3] ethdev: avoid panicking in absence of ethdev shared data

2023-09-27 Thread David Marchand
This is a preparation step before freeing the ethdev shared data memzone. Previously, because the primary process never freed the memzone, a secondary process could assume this memzone was present. But in the next commit, this will change. Make eth_dev_shared_data_prepare() report whether the mem

[PATCH v4 3/3] ethdev: cleanup shared data with the last port

2023-09-27 Thread David Marchand
If no port is allocated and no port owner is still registered, ethdev from a primary process may release the memzone used to store port data. This makes it possible for the DPDK memory allocator to release associated resources back to the OS. Signed-off-by: David Marchand Acked-by: Morten Brørup

[PATCH v7 00/12] add CLI based graph application

2023-09-27 Thread skori
From: Sunil Kumar Kori In the continuation of following feedback https://patches.dpdk.org/project/dpdk/patch/20230425131516.3308612-5-vattun...@marvell.com/ this patch series adds dpdk-graph application to exercise various usecases using graph. 1. Each use case is defined in terms of .cli file w

[PATCH v7 01/12] app/graph: add application framework to read CLI

2023-09-27 Thread skori
From: Sunil Kumar Kori It adds base framework to read a given .cli file as a command line parameter "-s". Example: # ./dpdk-graph -c 0xff -- -s ./app/graph/examples/dummy.cli Each .cli file will contain commands to configure different module like mempool, ethdev, lookup tables, graph etc. Comm

[PATCH v7 02/12] app/graph: add telnet connectivity framework

2023-09-27 Thread skori
From: Sunil Kumar Kori It adds framework to initiate a telnet session with application. Some configurations and debug commands are exposed as runtime APIs. Those commands can be invoked using telnet session. Application initiates a telnet server with host address 0.0.0.0 and port number 8086 by

[PATCH v7 03/12] app/graph: add parser utility APIs

2023-09-27 Thread skori
From: Sunil Kumar Kori It adds some helper functions to parse IPv4, IPv6 and MAC addresses string into respective datatype. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- app/graph/meson.build | 1 + app/graph/module_api.h | 1 + app/graph/utils.c | 156 ++

[PATCH v7 04/12] app/graph: add mempool command line interfaces

2023-09-27 Thread skori
From: Rakesh Kudurumalla It adds mempool module which will be creating mempools. Following commands are exposed: - mempool size buffers \ cache numa - help mempool User will add this command in .cli file according to its need. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rake

[PATCH v7 05/12] app/graph: add ethdev command line interfaces

2023-09-27 Thread skori
From: Sunil Kumar Kori It adds ethdev module to configure ethernet devices. Following commands are exposed: - ethdev rxq txq - ethdev mtu - ethdev promiscuous - ethdev show - ethdev stats - ethdev ip4 addr add netmask - ethdev ip6 addr add netmask - help ethdev Signed-of

[PATCH v7 06/12] app/graph: add ipv4_lookup command line interfaces

2023-09-27 Thread skori
From: Sunil Kumar Kori It adds ipv4_lookup module to configure LPM table. This LPM table will be used for IPv4 lookup and forwarding. Following commands are exposed: - ipv4_lookup route add ipv4 netmask via - help ipv4_lookup Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumal

[PATCH v7 07/12] app/graph: add ipv6_lookup command line interfaces

2023-09-27 Thread skori
From: Rakesh Kudurumalla It adds ipv6_lookup module to configure LPM6 table. This LPM6 table will be used for IPv6 lookup and forwarding. Following commands are exposed: - ipv6_lookup route add ipv6 netmask via - help ipv6_lookup Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudur

[PATCH v7 08/12] app/graph: add neigh command line interfaces

2023-09-27 Thread skori
From: Sunil Kumar Kori It adds neigh module to configure arp/neigh. This module uses ipv4_rewrite and ipv6_rewrite node to write neigh information. Following commands are exposed: - neigh add ipv4 - neigh add ipv6 - help neigh Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kuduru

[PATCH v7 09/12] app/graph: add ethdev_rx command line interfaces

2023-09-27 Thread skori
From: Rakesh Kudurumalla It adds ethdev_rx module to create port-queue-core mapping. Mapping will be used to launch graph worker thread and dequeue packets on mentioned core from desired port/queue. Following commands are exposed: - ethdev_rx map port queue core - help ethdev_rx Signed-of

[PATCH v7 10/12] app/graph: add graph command line interfaces

2023-09-27 Thread skori
From: Rakesh Kudurumalla It adds graph module to create a graph for a given use case like l3fwd. Following commands are exposed: - graph [bsz ] [tmo ] [coremask ] \ model pcap_enable <0 | 1> num_pcap_pkts \ pcap_file - graph start - graph stats show - help graph Signed-o

[PATCH v7 11/12] app/graph: add CLI option to enable graph stats

2023-09-27 Thread skori
From: Sunil Kumar Kori It adds application's command line parameter "--enable-graph-stats" to enable dumping graph stats on console. By default, no graph stats will be printed on console but same can be dumped via telnet session using "graph stats show" command. Signed-off-by: Sunil Kumar Kori

[PATCH v7 12/12] app/graph: add l3fwd use case

2023-09-27 Thread skori
From: Rakesh Kudurumalla It adds an use case l3fwd. It contains a dedicated l3fwd.cli file mentioning commands to configure the required resources. Once application successfully parses the l3fwd.cli then a graph is created having below nodes: - ethdev_rx -> pkt_cls - pkt_cls -> ip4_lookup -

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-27 Thread Ferruh Yigit
On 9/21/2023 3:49 PM, Stanisław Kardach wrote: > On Thu, Sep 21, 2023, 15:18 Tummala, Sivaprasad > mailto:sivaprasad.tumm...@amd.com>> wrote: > > [AMD Official Use Only - General] > > > -Original Message- > > From: David Marchand > >

RE: [PATCH v2 4/4] net/ice: fix TSO with big segments

2023-09-27 Thread Zhang, Qi Z
> -Original Message- > From: David Marchand > Sent: Wednesday, September 27, 2023 5:42 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming ; Zhang, Qi Z > ; Kevin Liu > Subject: [PATCH v2 4/4] net/ice: fix TSO with big segments > > Packets to be segmented with TSO are usually la

[PATCH] crypto/ipsec_mb: Do not dequeue ops from ring after job flush.

2023-09-27 Thread Krzysztof Karas
Previously it was possible to increment `processed_jobs` to a value greater than requested `nb_ops`, because after flushing at most `nb_ops` jobs the while loop continued, so `processed_jobs` could still be incremented and it was possible for this variable to be greater than `nb_ops`. If `ops` prov

[PATCH v5 1/2] node: add IPv4 local node to handle local pkts

2023-09-27 Thread Rakesh Kudurumalla
Local or Host destined pkts can be redirected IPv4 local node using IP4 Lookup node entries with prefix of 32 and be redirected to this IP4 local node for further processing. Signed-off-by: Rakesh Kudurumalla --- doc/guides/prog_guide/graph_lib.rst | 15 ++ .../img/graph_inbuilt_node_

[PATCH v5 2/2] node: add UDP v4 support

2023-09-27 Thread Rakesh Kudurumalla
IPv4 UDP packets are given to application with specified UDP destination port given by user. Signed-off-by: Rakesh Kudurumalla --- v5: Resolve ubuntu compilation issue doc/api/doxy-api-index.md | 3 +- doc/guides/prog_guide/graph_lib.rst | 25 ++ .../img/graph_

[PATCH v8 0/9] add rte flow support for cpfl

2023-09-27 Thread yuying . zhang
From: Yuying Zhang This patchset add rte flow support for cpfl driver. It depends on the following patch set: http://patchwork.dpdk.org/project/dpdk/cover/20230912173039.1612287-1-beilei.x...@intel.com/ Wenjing Qiao (2): net/cpfl: add json parser for rte flow pattern rules net/cpfl: build ac

[PATCH v8 1/9] net/cpfl: add json parser for rte flow pattern rules

2023-09-27 Thread yuying . zhang
From: Wenjing Qiao Add devargs "flow_parser" for rte flow json parser which depends on jansson library. Example: -a ca:00.0,flow_parser="refpkg.json" Add json parser for rte flow pattern rules which can build rules that maps from a set of rte flow items to hardware representations. The cpf

[PATCH v8 2/9] net/cpfl: build action mapping rules from JSON

2023-09-27 Thread yuying . zhang
From: Wenjing Qiao Build rules that maps from an rte flow action vxlan_encap or vxlan_decap to hardware representations. Signed-off-by: Wenjing Qiao --- drivers/net/cpfl/cpfl_flow_parser.c | 538 +++- drivers/net/cpfl/cpfl_flow_parser.h | 100 ++ 2 files changed, 63

[PATCH v8 3/9] net/cpfl: set up rte flow skeleton

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Set up the rte_flow backend skeleton. Introduce the framework to support different engines as rte_flow backend. Bridge rte_flow driver API to flow engines. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 53 ++ drivers/net/cpfl/cpfl_ethdev.h | 5 + dr

[PATCH v8 4/9] net/cpfl: set up control path

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Set up control vport and control queue for flow offloading. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_controlq.c | 801 +++ drivers/net/cpfl/cpfl_controlq.h | 75 +++ drivers/net/cpfl/cpfl_ethdev.c | 270 +++ drivers/net/cpf

[PATCH v8 5/9] net/cpfl: add FXP low level implementation

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Add low level implementation for CPFL PMD to create / delete rules on IPU's Flexible Packet Processor(FXP). Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_actions.h | 858 drivers/net/cpfl/cpfl_rules.c | 127 + drivers/net/cpfl/c

[PATCH v8 6/9] net/cpfl: add fxp rule module

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Implement FXP rule creation / destroying. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 31 drivers/net/cpfl/cpfl_ethdev.h | 6 + drivers/net/cpfl/cpfl_fxp_rule.c | 296 +++ drivers/net/cpfl/cpfl_fxp_rule.h | 68 +++

[PATCH v8 7/9] net/cpfl: add fxp flow engine

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Adapt a flow engine to FXP implementation. Signed-off-by: Yuying Zhang --- doc/guides/nics/cpfl.rst| 18 +- doc/guides/rel_notes/release_23_11.rst | 1 + drivers/net/cpfl/cpfl_ethdev.h | 27 ++ drivers/net/cpfl/cpfl_flow_engine_fxp.c | 583 +

[PATCH v8 8/9] net/cpfl: add flow support for representor

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Add flow support for representor, so representor can create, destroy, validate and flush rules. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 74 + drivers/net/cpfl/cpfl_representor.c | 29 ++ 2 files changed, 1

[PATCH v8 9/9] net/cpfl: add support of to represented port action

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Add support of to represented port action for forwarding packet to APF/CPF/VF representors. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/cpfl/cpfl_flow_

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-27 Thread Ferruh Yigit
On 8/11/2023 7:07 AM, Sivaprasad Tummala wrote: > This patch removes RTE_CPUFLAG_NUMFLAGS to allow new CPU > features without breaking ABI each time. > > Signed-off-by: Sivaprasad Tummala > --- > lib/eal/arm/include/rte_cpuflags_32.h| 1 - > lib/eal/arm/include/rte_cpuflags_64.h| 1 - >

Re: [PATCH v2 6/7] baseband/acc: introduce the new VRB2 variant

2023-09-27 Thread Maxime Coquelin
On 9/21/23 22:43, Nicolas Chautru wrote: This extends the unified driver to support both the VRB1 and VRB2 implementations of Intel vRAN Boost. Signed-off-by: Nicolas Chautru --- doc/guides/bbdevs/index.rst|1 + doc/guides/bbdevs/vrb2.rst | 269 + doc/gui

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-27 Thread Stanisław Kardach
On Wed, Sep 27, 2023 at 1:55 PM Ferruh Yigit wrote: > > On 9/21/2023 3:49 PM, Stanisław Kardach wrote: > > On Thu, Sep 21, 2023, 15:18 Tummala, Sivaprasad > > mailto:sivaprasad.tumm...@amd.com>> wrote: > > > > [AMD Official Use Only - General] > > > > > -Original Message- > > >

Re: [PATCH 0/2] add checks for tests not in a suite

2023-09-27 Thread Aaron Conole
Bruce Richardson writes: > On Wed, Sep 27, 2023 at 11:31:07AM +0200, David Marchand wrote: >> On Wed, Sep 27, 2023 at 10:27 AM Bruce Richardson >> wrote: >> > On Wed, Sep 27, 2023 at 08:30:05AM +0200, David Marchand wrote: >> > > On Tue, Sep 26, 2023 at 5:01 PM Aaron Conole wrote: >> > > > Davi

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-27 Thread Ferruh Yigit
On 9/27/2023 2:48 PM, Stanisław Kardach wrote: > On Wed, Sep 27, 2023 at 1:55 PM Ferruh Yigit wrote: >> >> On 9/21/2023 3:49 PM, Stanisław Kardach wrote: >>> On Thu, Sep 21, 2023, 15:18 Tummala, Sivaprasad >>> mailto:sivaprasad.tumm...@amd.com>> wrote: >>> >>> [AMD Official Use Only - General]

Re: [PATCH 01/10] mailmap: update contributor entry

2023-09-27 Thread Ferruh Yigit
On 9/25/2023 7:06 AM, Chaoyong He wrote: > From: Shihong Wang > > Add contributor entries to .mailmap file. > .mailmap changes can be squashed to patch that introduces a new name, no need to have a separate patch for it. I can squash this while merging. > Signed-off-by: Shihong Wang > Reviewe

Re: [PATCH 02/10] net/nfp: add TLVs capability parsing

2023-09-27 Thread Ferruh Yigit
On 9/25/2023 7:06 AM, Chaoyong He wrote: > From: Shihong Wang > > Add TLV capabilities to the BAR, TLVs is fit for expressing > capabilities of applications running on programmable hardware. > Here application referred is bitstream or FW, right? And PCIe BAR is used to exchange the capability i

Re: [PATCH v2 00/10] add the support of ipsec offload

2023-09-27 Thread Ferruh Yigit
On 9/26/2023 3:49 AM, Chaoyong He wrote: > This patch series add the support of ipsec offload feature, includes: > * Implement the communication channel between PMD and firmware through > mailbox. > * Implement the ipsec offload related APIs based the security framework. > * Implement the ipsec p

Re: [PATCH v3 0/3] Introduce event link profiles

2023-09-27 Thread Jerin Jacob
On Thu, Sep 21, 2023 at 5:16 PM wrote: > > From: Pavan Nikhilesh > > A collection of event queues linked to an event port can be associated > with unique identifier called as a profile, multiple such profiles can as a "link profile" > be configured based on the event device capability using the

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-27 Thread Stanisław Kardach
On Wed, Sep 27, 2023, 16:09 Ferruh Yigit wrote: > On 9/27/2023 2:48 PM, Stanisław Kardach wrote: > > On Wed, Sep 27, 2023 at 1:55 PM Ferruh Yigit > wrote: > >> > >> On 9/21/2023 3:49 PM, Stanisław Kardach wrote: > >>> On Thu, Sep 21, 2023, 15:18 Tummala, Sivaprasad > >>> mailto:sivaprasad.tumm..

[RFC 0/2] add pointer compression API

2023-09-27 Thread Paul Szczepanek
This patchset is proposing adding a new EAL header with utility functions that allow compression of arrays of pointers. When passing caches full of pointers between threads, memory containing the pointers is copied multiple times which is especially costly between cores. A compression method will

[RFC 1/2] eal: add pointer compression functions

2023-09-27 Thread Paul Szczepanek
Add a new utility header for compressing pointers. Pointers are compressed by taking advantage of their locality. Instead of storing the full address only an offset from a known base is stored. The provided functions can store pointers in 32bit offsets. Suggested-by: Honnappa Nagarahalli Signed-

[RFC 2/2] test: add pointer compress tests to ring perf test

2023-09-27 Thread Paul Szczepanek
Add a test that runs a zero copy burst enqueue and dequeue on a ring of raw pointers and compressed pointers at different burst sizes to showcase performance benefits of newly added pointer compression APIs To reuse existing code, some refactoring was done to pass more parameters to test threads.

Re: [PATCH v3 1/3] eventdev: introduce link profiles

2023-09-27 Thread Jerin Jacob
On Thu, Sep 21, 2023 at 3:58 PM wrote: > > From: Pavan Nikhilesh > > A collection of event queues linked to an event port can be > associated with a unique identifier called as a profile, multiple as a "link profile" > such profiles can be created based on the event device capability > using th

Re: [PATCH v3 2/3] event/cnxk: implement event link profiles

2023-09-27 Thread Jerin Jacob
On Thu, Sep 21, 2023 at 3:59 PM wrote: > > From: Pavan Nikhilesh > > Implement event link profiles support on CN10K and CN9K. > Both the platforms support up to 2 link profiles. > > Signed-off-by: Pavan Nikhilesh > --- > doc/guides/eventdevs/cnxk.rst | 1 + > doc/guides/eventdevs/feat

Re: [PATCH v1] common/cnxk: fix initialization of MCAM ID

2023-09-27 Thread Jerin Jacob
On Thu, Sep 21, 2023 at 1:16 PM Ankur Dwivedi wrote: > > The start and end mcam id is initialized when aged_flows_cnt is 0. The > boolean variable aging_enabled is not needed. > > Fixes: d110c44d29e7 ("common/cnxk: support flow aging") > > Signed-off-by: Ankur Dwivedi Updated the git commit as f

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-27 Thread Ferruh Yigit
On 9/27/2023 4:03 PM, Stanisław Kardach wrote: > > > On Wed, Sep 27, 2023, 16:09 Ferruh Yigit > wrote: > > On 9/27/2023 2:48 PM, Stanisław Kardach wrote: > > On Wed, Sep 27, 2023 at 1:55 PM Ferruh Yigit > wrote: > >> >

RE: [PATCH] test/pdcp: add data walkthrough test

2023-09-27 Thread Anoob Joseph
> > Enable data walkthrough test in combined mode. > The test covers data size ranging from 0B to 9000B both inclusive. > > Signed-off-by: Aakash Sasidharan Acked-by: Anoob Joseph

Re: [PATCH v4] doc: build manpages as well as html output

2023-09-27 Thread Thomas Monjalon
31/08/2023 17:48, Morten Brørup: > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Thursday, 31 August 2023 12.12 > > > > 31/08/2023 11:49, Bruce Richardson: > > > Doxygen can produce manpage output as well as html output for the DPDK > > > APIs. However, we need to do this as a sep

Re: [PATCH v1] net/memif: fix segfault with large burst size

2023-09-27 Thread Ferruh Yigit
On 9/4/2023 8:10 AM, Joyce Kong wrote: > There will be a segfault when Rx burst size is greater than > MAX_PKT_BURST of memif. Fix the issue by correcting the > wrong mbuf index in eth_memif_rx, which results in accessing > invalid memory address. > > Bugzilla ID: 1273 > Fixes: aa17df860891 ("net/

Re: [PATCH v13 0/4] Recycle mbufs from Tx queue into Rx queue

2023-09-27 Thread Ferruh Yigit
On 9/25/2023 4:19 AM, Feifei Wang wrote: > Currently, the transmit side frees the buffers into the lcore cache and > the receive side allocates buffers from the lcore cache. The transmit > side typically frees 32 buffers resulting in 32*8=256B of stores to > lcore cache. The receive side allocates

Re: [PATCH] testpmd: unregister event callback

2023-09-27 Thread Ferruh Yigit
On 9/26/2023 4:50 PM, Singh, Aman Deep wrote: > > On 9/15/2023 9:56 AM, ok...@kernel.org wrote: >> From: Sinan Kaya > > Header format doesn't requires to add "From: " > as author "Signed-off" is already present. > >> >> Cleanup event registry during shutdown to prevent memory >> leaks. >> >> Si

[PATCH v3 0/4] Spec changes to support multi I/O models

2023-09-27 Thread Srikanth Yalavarthi
This series implements changes to mldev spec to extend support for ML models with multiple inputs and outputs. Changes include introduction of I/O layout to support packed and split buffers for model input and output. Extended the rte_ml_model_info structure to support multiple inputs and outputs.

[PATCH v3 1/4] mldev: add support for arbitrary shape dimensions

2023-09-27 Thread Srikanth Yalavarthi
Updated rte_ml_io_info to support shape of arbitrary number of dimensions. Dropped use of rte_ml_io_shape and rte_ml_io_format. Introduced new fields nb_elements and size in rte_ml_io_info. Updated drivers and app/mldev to support the changes. Signed-off-by: Srikanth Yalavarthi --- app/test-mld

[PATCH v3 2/4] mldev: introduce support for IO layout

2023-09-27 Thread Srikanth Yalavarthi
Introduce IO layout in ML device specification. IO layout defines the expected arrangement of model input and output buffers in the memory. Packed and Split layout support is added in the specification. Updated rte_ml_op to support array of rte_ml_buff_seg pointers to support packed and split I/O

[PATCH v3 3/4] mldev: drop input and output size get APIs

2023-09-27 Thread Srikanth Yalavarthi
Drop support and use of ML input and output size get functions, rte_ml_io_input_size_get and rte_ml_io_output_size_get. These functions are not required, as the model buffer size can be computed from the fields of updated rte_ml_io_info structure. Signed-off-by: Srikanth Yalavarthi --- drivers/

[PATCH v3 4/4] mldev: update release notes for 23.11

2023-09-27 Thread Srikanth Yalavarthi
Updated 23.11 release notes for mldev spec. Signed-off-by: Srikanth Yalavarthi --- doc/guides/rel_notes/release_23_11.rst | 15 +++ 1 file changed, 15 insertions(+) diff --git a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst index 9746809a66..ca31ac

Re: [PATCH v4 01/12] eventdev: introduce event DMA adapter library

2023-09-27 Thread Jerin Jacob
On Tue, Sep 26, 2023 at 4:03 PM Amit Prakash Shukla wrote: > > Introduce event DMA adapter APIs. The change provides information > on adapter modes and usage. Application can use this event adapter > interface to transfer packets between DMA device and event device. With below changes, Acked-by

Re: [PATCH v4 02/12] eventdev: api to get DMA adapter capabilities

2023-09-27 Thread Jerin Jacob
On Tue, Sep 26, 2023 at 4:03 PM Amit Prakash Shukla wrote: > > Added a new eventdev API rte_event_dma_adapter_caps_get(), to get > DMA adapter capabilities supported by the driver. Patches from 2: Keep following heading template eventdev/dma: support ... example: eventdev/dma: support adapter c

Re: [PATCH v4 03/12] eventdev: create and free API for DMA adapter

2023-09-27 Thread Jerin Jacob
On Tue, Sep 26, 2023 at 6:31 PM Amit Prakash Shukla wrote: > > Added API support to create and free DMA adapter. Create function shall be > called with event device to be associated with the adapter and port > configuration to setup an event port. > > Signed-off-by: Amit Prakash Shukla > --- > c

Re: [PATCH v4 12/12] app/test: add event DMA adapter auto-test

2023-09-27 Thread Jerin Jacob
On Tue, Sep 26, 2023 at 4:11 PM Amit Prakash Shukla wrote: > > Added testsuite to test the dma adapter functionality. > The testsuite detects event and DMA device capability > and accordingly dma adapter is configured and modes are > tested. Please add example command to test this with SW driver

[PATCH v3 00/35] Implemenation of revised ml/cnxk driver

2023-09-27 Thread Srikanth Yalavarthi
This patch series is an implementation of revised ml/cnxk driver to support models compiled with TVM compiler framework. TVM models use a hybrid mode for execution, with regions of the model executing on the ML accelerator and the rest executing on CPU cores. This series of commits reorganizes the

[PATCH v3 01/35] ml/cnxk: drop support for register polling

2023-09-27 Thread Srikanth Yalavarthi
Dropped support for device argument "poll_mem" for cnxk ML driver. Support to use registers for polling is removed and DDR addresses would be used for polling. Signed-off-by: Srikanth Yalavarthi --- Depends-on: series-29660 ("Spec changes to support multi I/O models") doc/guides/mldevs/cnxk.rst

  1   2   >