[PATCH 3/3] app/test: fix checking return value

2023-10-09 Thread Chaoyong He
From: Long Wu CI found the function without checking return value in this place. Coverity issue: 403101 Fixes: 92073ef961ee ("bond: unit tests") Cc: declan.dohe...@intel.com Cc: sta...@dpdk.org Signed-off-by: Long Wu Reviewed-by: Chaoyong He Reviewed-by: Peng Zhang --- app/test/test_link_bo

[PATCH 2/3] net/bonding: fix illegal memory accesses

2023-10-09 Thread Chaoyong He
From: Long Wu CI found that overrunning array of 32 2-byte elements at element index 65535 (byte offset 131071) by dereferencing pointer "members + agg_new_idx". Coverity issue: 403099 Fixes: 6d72657ce379 ("net/bonding: add other aggregator modes") Cc: danielx.t.mrzyg...@intel.com Cc: sta...@dpd

[PATCH 1/3] app/test: fix control flow issue

2023-10-09 Thread Chaoyong He
From: Long Wu CI found that execution cannot reach the expression "-1" inside this statement. Coverity issue: 403097 Fixes: 5e41ab250dfa ("app/test: unit tests for bonding mode 4") Cc: tomaszx.kula...@intel.com Cc: sta...@dpdk.org Signed-off-by: Long Wu Reviewed-by: Chaoyong He Reviewed-by: P

[PATCH 0/3] Fix three coverity issues of bond PMD

2023-10-09 Thread Chaoyong He
This patch series fix three coverity issues about bond PMD and test case, 403097, 403099 and 403101. Long Wu (3): app/test: fix control flow issue net/bonding: fix illegal memory accesses app/test: fix checking return value app/test/test_link_bonding.c | 3 ++- app/test/test_l

[PATCH 2/2] net/nfp: fix illegal memory accesses

2023-10-09 Thread Chaoyong He
From: Long Wu CI found that overrunning array of 8 bytes at byte offset 8 by dereferencing pointer. Coverity issue: 403098 Fixes: 9641a2d ("net/nfp: refactor rtsym module") Cc: chaoyong...@corigine.com Cc: sta...@dpdk.org Signed-off-by: Long Wu Reviewed-by: Chaoyong He Reviewed-by: Peng Zhang

[PATCH 1/2] net/nfp: fix checking return value

2023-10-09 Thread Chaoyong He
From: Long Wu CI found that calling "rte_pci_write_config" without checking return value. Coverity issue: 403100 Fixes: 1fbe51cd9c3a ("net/nfp: extend usage of BAR from 8 to 24") Cc: chaoyong...@corigine.com Cc: sta...@dpdk.org Signed-off-by: Long Wu Reviewed-by: Chaoyong He Reviewed-by: Peng

[PATCH 0/2] Fix two converity issue of NFP PMD

2023-10-09 Thread Chaoyong He
This patch series fix two converity issue 403098 and 403100. Long Wu (2): net/nfp: fix checking return value net/nfp: fix illegal memory accesses drivers/net/nfp/nfpcore/nfp6000_pcie.c | 8 +--- drivers/net/nfp/nfpcore/nfp_rtsym.c| 2 +- 2 files changed, 6 insertions(+), 4 deletions(

[PATCH] net/nfp: fix jumbo packet descriptors for NFDk

2023-10-09 Thread Chaoyong He
From: Long Wu When sending a jumbo packet on NFDk the packet must be split between multiple descriptors. The first descriptor contains the packet header and is limited to NFDK_DESC_TX_DMA_LEN_HEAD bytes. If the packet is large, one or more payload descriptors, without a packet header, and a size

[PATCH] net/nfp: update incorrect MAC stats offset

2023-10-09 Thread Chaoyong He
From: James Hershaw The pointer to the beginning of the MAC stats counters for port 1 are incorrectly set as the pointer to the beginning of the port 0 MAC stats counters, plus the size of the MAC stats counters multiplied by the port number. This patch corrects this by setting the multiplier as

[PATCH] net/nfp: fix the initialization of physical representors

2023-10-09 Thread Chaoyong He
From: Zerun Fu The former logic of initializing the array of physical port representors is according to 'nfp_idx', but referencing based on 'port_id'. This is a potential bug and will cause segment fault when these two values are not equal. Fix it by using the 'port_id' as index at all time. Fix

Re: [PATCH v2 1/1] usertools/rss: add CNXK RSS key

2023-10-09 Thread Jerin Jacob
On Mon, Oct 9, 2023 at 10:06 PM wrote: > > From: Sunil Kumar Kori > > This patch adds RSS key for CNXK platforms. CNXK platform uses > 48 bytes long key for hash calculations. > > For the same patch also updates help mesaages to provide range > information for supporting NICs/platforms. > > Also

RE: [PATCH v2] config/arm: update aarch32 build with gcc13

2023-10-09 Thread Ruifeng Wang
> -Original Message- > From: Juraj Linkeš > Sent: Monday, October 9, 2023 5:53 PM > To: tho...@monjalon.net; Honnappa Nagarahalli ; > bruce.richard...@intel.com; Ruifeng Wang > Cc: dev@dpdk.org; Juraj Linkeš > Subject: [PATCH v2] config/arm: update aarch32 build with gcc13 > > The aarch

Re: [PATCH v7 0/3] add telemetry cmds for ring

2023-10-09 Thread Jie Hai
Hi, Thomas, Kindly ping for review. Thanks, Jie Hai On 2023/7/4 17:04, Jie Hai wrote: This patch set supports telemetry cmd to list rings and dump information of a ring by its name. v1->v2: 1. Add space after "switch". 2. Fix wrong strlen parameter. v2->v3: 1. Remove prefix "rte_" for static

[PATCH v2] net/virtio: fixed missing next flag when sending packets in packed mode

2023-10-09 Thread liufengjiang.0426
When the packets is sent in packed mode, and the packets data and virtio-header are divided into two desc, set the next flag of virtio-header desc >> Fix the warning that a single line of commit log exceeds 75 chars Bugzilla ID: 1295 Fixes: 892dc798fa9c ("net/virtio: implement Tx path for packed

RE: [PATCH v1] net/idpf: fix incorrect status calculation

2023-10-09 Thread Xing, Beilei
> -Original Message- > From: Zhang, Yuying > Sent: Thursday, September 28, 2023 1:05 PM > To: Zhang, Yuying ; dev@dpdk.org; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Cc: sta...@dpdk.org > Subject: [PATCH v1] net/idpf: fix incorrect status calculation > > From: Yuying Zhang > >

Re: [PATCH v4 1/2] dmadev: offload to auto free DMA buffer

2023-10-09 Thread fengchengwen
Acked-by: Chengwen Feng On 2023/10/9 20:02, Amit Prakash Shukla wrote: This changeset adds support in DMA library to auto free DMA buffer by hardware. On a supported hardware, application can pass on the mempool information as part of vchan config. Signed-off-by: Amit Prakash Shukla Acked-by:

RE: [PATCH v10 0/9] add rte flow support for cpfl

2023-10-09 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Yuying > Sent: Monday, October 9, 2023 12:00 PM > To: Zhang, Yuying ; dev@dpdk.org; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Subject: [PATCH v10 0/9] add rte flow support for cpfl > > From: Yuying Zhang > > This patchset add rte flow suppor

Minutes of Technical Board Meeting 2023-10-04

2023-10-09 Thread Stephen Hemminger
Members Attending - Aaron Conole Bruce Richardson Hemant Agrawal Honappa Nagarahalli Jerin Jacob Kevin Traynor Konstantin Ananyev Maxime Coquelin Stephen Hemminger Thomas Monjalon NOTE: The technical board meetings are on every second Wednesday at 3 pm UTC. Meetings are public, a

RE: [PATCH v3 1/2] security: add fallback security processing and Rx inject

2023-10-09 Thread Akhil Goyal
> Subject: [PATCH v3 1/2] security: add fallback security processing and Rx > inject > > Add alternate datapath API for security processing which would do Rx > injection (similar to loopback) after successful security processing. > > With inline protocol offload, variable part of the session con

RE: [PATCH v2 0/5] add TLS record processing security offload

2023-10-09 Thread Akhil Goyal
> Subject: [PATCH v2 0/5] add TLS record processing security offload > > Add Transport Layer Security (TLS) and Datagram Transport Layer Security > (DTLS). The protocols provide communications privacy for L4 protocols > such as TCP & UDP. > > TLS (and DTLS) protocol is composed of two layers, > 1

Re: [PATCH v4] app/test: add support for skipping tests

2023-10-09 Thread Patrick Robb
On Wed, Oct 4, 2023 at 11:13 AM Aaron Conole wrote: > Patrick Robb writes: > > > Thanks, this should help greatly going forward in the community lab. > > > > As it relates to our arm64 unit testing, I will give it a few days (or > longer if needed) for next branches to rebase off of > > main and

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

2023-10-09 Thread Akhil Goyal
> Subject: [PATCH v4 0/7] cryptodev: support digest message in SM2 > > This patch series fixes SM2 algorithm implementation to > support digest message as input along with plain message > as today. > > v4: > - code rebase on next-crypto > Added release notes for API changes introduced in 4/7 p

[PATCH v6 2/3] test: add dispatcher test suite

2023-10-09 Thread Mattias Rönnblom
Add unit tests for the dispatcher. -- PATCH v6: o Register test as "fast". (David Marchand) o Use single tab as indentation for continuation lines in multiple-line function prototypes. (David Marchand) o Add Signed-off-by line. (David Marchand) o Use DPDK atomics wrapper API instead of C11

[PATCH v6 3/3] doc: add dispatcher programming guide

2023-10-09 Thread Mattias Rönnblom
Provide programming guide for the dispatcher library. Signed-off-by: Mattias Rönnblom -- PATCH v6: o Eliminate unneeded white space in code blocks. (David Marchand) PATCH v5: o Update guide to match API changes related to dispatcher ids. PATCH v3: o Adapt guide to the dispatcher API name c

[PATCH v6 1/3] lib: introduce dispatcher library

2023-10-09 Thread Mattias Rönnblom
The purpose of the dispatcher library is to help reduce coupling in an Eventdev-based DPDK application. In addition, the dispatcher also provides a convenient and flexible way for the application to use service cores for application-level processing. Signed-off-by: Mattias Rönnblom Tested-by: Pe

[PATCH v6 0/3] Add dispatcher library

2023-10-09 Thread Mattias Rönnblom
The purpose of the dispatcher library is to decouple different parts of an eventdev-based application (e.g., processing pipeline stages), sharing the same underlying event device. The dispatcher replaces the conditional logic (often, a switch statement) that typically follows an event device deque

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

2023-10-09 Thread Mattias Rönnblom
On 2023-10-06 11:03, Thomas Monjalon wrote: 06/10/2023 10:46, David Marchand: On Thu, Oct 5, 2023 at 12:09 PM Mattias Rönnblom wrote: +static int +evd_lookup_handler_idx(struct rte_dispatcher_lcore *lcore, + const struct rte_event *event) Wrt DPDK coding tyle, indent is

Re: [PATCH v5 2/3] test: add dispatcher test suite

2023-10-09 Thread Mattias Rönnblom
On 2023-10-06 10:52, David Marchand wrote: On Thu, Oct 5, 2023 at 1:26 PM Mattias Rönnblom wrote: [snip] +#define RETURN_ON_ERROR(rc) \ + do {\ + if (rc != TEST_SUCCESS) \ + return rc; \ +

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

2023-10-09 Thread Mattias Rönnblom
On 2023-10-06 10:46, David Marchand wrote: Hello Mattias, On Thu, Oct 5, 2023 at 12:09 PM Mattias Rönnblom wrote: + +deps += ['eventdev'] diff --git a/lib/dispatcher/rte_dispatcher.c b/lib/dispatcher/rte_dispatcher.c new file mode 100644 index 00..0e69db2b9b --- /dev/null +++ b/lib/dis

RE: [EXTERNAL] Re: [PATCH] net/netvsc: add support for mtu_set

2023-10-09 Thread Sam Andrew
Hi Stephen, From: Stephen Hemminger Sent: Monday, October 9, 2023 8:18 AM > On Thu, 5 Oct 2023 23:17:28 + > Sam Andrew wrote: > > + > > +static int > > +hn_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) { > > + struct hn_data *hv = dev->data->dev_private; > > + unsigned int orig_m

[PATCH 5/5] net/mlx5/hws: fix integrity bits level

2023-10-09 Thread Alexander Kozyrev
The level field in the integrity item is not taken into account in the current implementation of hardware steering. Use this value instead of trying to find out the encapsulation level according to the protocol items involved. Fixes: c55c2bf35333 ("net/mlx5/hws: add definer layer") Signed-off-by:

[PATCH 4/5] net/mlx5/hws: remove csum check from L3 ok check

2023-10-09 Thread Alexander Kozyrev
From: Michael Baum This patch changes the integrity item behavior for HW steering. Old behavior: the "ipv4_csum_ok" checks only IPv4 checksum and "l3_ok" checks everything is ok including IPv4 checksum. New behavior: the "l3_ok" checks everything is ok excluding IPv4 checksum. This change enab

[PATCH 0/5] ptype matching support in mlx5

2023-10-09 Thread Alexander Kozyrev
Add support for RTE_FLOW_ITEM_TYPE_PTYPE in mlx5 PMD. Alexander Kozyrev (3): net/mlx5: add support for ptype match in hardware steering net/mlx5/hws: add support for fragmented ptype match net/mlx5/hws: fix integrity bits level Michael Baum (2): doc: add PMD ptype item limitations net/m

[PATCH 3/5] doc: add PMD ptype item limitations

2023-10-09 Thread Alexander Kozyrev
From: Michael Baum Add limitations for ptype item support in "mlx5.rst" file. Signed-off-by: Michael Baum --- doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 19 +++ 2 files changed, 20 insertions(+) diff --git a/doc/guides/nics/features/mlx5.ini

[PATCH 2/5] net/mlx5/hws: add support for fragmented ptype match

2023-10-09 Thread Alexander Kozyrev
Expand packet type matching with support of the Fragmented IP (Internet Protocol) packet type. Signed-off-by: Alexander Kozyrev --- drivers/net/mlx5/hws/mlx5dr_definer.c | 74 +++ drivers/net/mlx5/hws/mlx5dr_definer.h | 2 + 2 files changed, 56 insertions(+), 20 deletion

[PATCH 1/5] net/mlx5: add support for ptype match in hardware steering

2023-10-09 Thread Alexander Kozyrev
The packet type matching provides quick way of finding out L2/L3/L4 protocols in a given packet. That helps with optimized flow rules matching, eliminating the need of stacking all the packet headers in the matching criteria. Signed-off-by: Alexander Kozyrev --- drivers/net/mlx5/hws/mlx5dr_defin

[PATCH v2 1/1] usertools/rss: add CNXK RSS key

2023-10-09 Thread skori
From: Sunil Kumar Kori This patch adds RSS key for CNXK platforms. CNXK platform uses 48 bytes long key for hash calculations. For the same patch also updates help mesaages to provide range information for supporting NICs/platforms. Also CNXK uses reta size as 64 so to get correct offset to ret

[PATCH] usertools/rss: add CNXK RSS key

2023-10-09 Thread skori
From: Sunil Kumar Kori This patch adds RSS key for CNXK platforms. CNXK platform uses 48 bytes long key for hash calculations. For the same patch also updates help mesaages to provide range information for supporting NICs/platforms. Also CNXK uses reta size as 64 so to get correct offset to ret

[PATCH v3] ethdev: add packet type matching item

2023-10-09 Thread Alexander Kozyrev
Add RTE_FLOW_ITEM_TYPE_PTYPE to allow matching on L2/L3/L4 and tunnel information as defined in mbuf. To match on RTE_PTYPE_L4_TCP and RTE_PTYPE_INNER_L4_UDP: flow pattern_template 0 create pattern_template_id 1 ingress template ptype packet_type mask 0x0f000f00 / end flow queue 0 create 0

Re: [PATCH v6 1/3] eal: add x86 cpuid support for monitorx

2023-10-09 Thread Patrick Robb
Recheck-request: iol-unit-amd64-testing Failed for service_autotest on windows. I'm doing a retest to see if it's reproducible.

[PATCH v2] ethdev: add packet type matching item

2023-10-09 Thread Alexander Kozyrev
Add RTE_FLOW_ITEM_TYPE_PTYPE to allow matching on L2/L3/L4 and tunnel information as defined in mbuf. To match on RTE_PTYPE_L4_TCP and RTE_PTYPE_INNER_L4_UDP: flow pattern_template 0 create pattern_template_id 1 ingress template ptype packet_type mask 0x0f000f00 / end flow queue 0 create 0

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

2023-10-09 Thread Thomas Monjalon
27/09/2023 17:08, 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. You probably need to insert some explanations from the cover le

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

2023-10-09 Thread Thomas Monjalon
27/09/2023 17:08, 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 d

Re: [PATCH] net/netvsc: add support for mtu_set

2023-10-09 Thread Stephen Hemminger
On Thu, 5 Oct 2023 23:17:28 + Sam Andrew wrote: > + > +static int > +hn_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) > +{ > + struct hn_data *hv = dev->data->dev_private; > + unsigned int orig_mtu = dev->data->mtu; > + uint32_t rndis_mtu; > + int ret = 0; > + int i;

[PATCH v3] power: support amd-pstate cpufreq driver

2023-10-09 Thread Sivaprasad Tummala
amd-pstate introduces a new CPU frequency control mechanism for AMD EPYC processors using the ACPI Collaborative Performance Power Control feature for a finer grained frequency management. Patch to add support for amd-pstate driver. Signed-off-by: Sivaprasad Tummala Acked-by: Anatoly Burakov --

Re: [PATCH v3] hash: fix SSE comparison

2023-10-09 Thread Bruce Richardson
On Sat, Oct 07, 2023 at 03:36:34PM +0800, Jieqiang Wang wrote: > __mm_cmpeq_epi16 returns 0x if the corresponding 16-bit elements are > equal. In original SSE2 implementation for function compare_signatures, > it utilizes _mm_movemask_epi8 to create mask from the MSB of each 8-bit > element, wh

[PATCH v6 3/3] power: amd power monitor support

2023-10-09 Thread Sivaprasad Tummala
mwaitx allows EPYC processors to enter a implementation dependent power/performance optimized state (C1 state) for a specific period or until a store to the monitored address range. Signed-off-by: Sivaprasad Tummala Acked-by: Anatoly Burakov --- lib/eal/x86/rte_power_intrinsics.c | 108

[PATCH v6 2/3] eal: removed unnecessary checks in x86 power monitor APIs

2023-10-09 Thread Sivaprasad Tummala
current x86 power monitor implementation fails on platforms with only monitor supported and not power_pause. Signed-off-by: Sivaprasad Tummala Acked-by: Anatoly Burakov --- lib/eal/x86/rte_power_intrinsics.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/eal/x86/

[PATCH v6 1/3] eal: add x86 cpuid support for monitorx

2023-10-09 Thread Sivaprasad Tummala
Add a new CPUID flag to indicate support for monitorx instruction on AMD EPYC processors. Signed-off-by: Sivaprasad Tummala Acked-by: Anatoly Burakov --- lib/eal/x86/include/rte_cpuflags.h | 1 + lib/eal/x86/rte_cpuflags.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lib/eal/

RE: [PATCH v2 1/2] power: refactor uncore power management interfaces

2023-10-09 Thread Tummala, Sivaprasad
[AMD Official Use Only - General] > -Original Message- > From: David Marchand > Sent: Friday, October 6, 2023 2:33 PM > To: david.h...@intel.com; anatoly.bura...@intel.com > Cc: Yigit, Ferruh ; dev@dpdk.org; Tummala, Sivaprasad > > Subject: Re: [PATCH v2 1/2] power: refactor uncore power

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

2023-10-09 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 | 77 +++--- app/test/test_cryptodev_sm2_te

[PATCH v4 6/7] crypto/cnxk: add SM2 support

2023-10-09 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| 4 + drivers/common/cnxk/hw/cpt.h | 2 +- drivers/common/cnxk/roc_ae.c

[PATCH v4 5/7] cryptodev: add RNG capability in EC based xform

2023-10-09 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 v4 4/7] cryptodev: set private and public keys in EC session

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

[PATCH v4 3/7] cryptodev: use generic EC xform params for SM2

2023-10-09 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 v4 2/7] cryptodev: add hash algorithms in asymmetric capability

2023-10-09 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 v4 1/7] crypto/openssl: include SM2 in asymmetric capabilities

2023-10-09 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 v4 0/7] cryptodev: support digest message in SM2

2023-10-09 Thread Gowrishankar Muthukrishnan
This patch series fixes SM2 algorithm implementation to support digest message as input along with plain message as today. v4: - code rebase on next-crypto Gowrishankar Muthukrishnan (7): crypto/openssl: include SM2 in asymmetric capabilities cryptodev: add hash algorithms in asymmetric capa

[PATCH v3] power: support amd-pstate cpufreq driver

2023-10-09 Thread Sivaprasad Tummala
amd-pstate introduces a new CPU frequency control mechanism for AMD EPYC processors using the ACPI Collaborative Performance Power Control feature for a finer grained frequency management. Patch to add support for amd-pstate driver. Signed-off-by: Sivaprasad Tummala Acked-by: Anatoly Burakov --

Re: DPDK Release Status Meeting 2023-10-05

2023-10-09 Thread Ferruh Yigit
On 10/5/2023 10:04 AM, Mcnamara, John wrote: > Release status meeting minutes 2023-10-05 > = >   > Agenda: > * Release Dates > * Subtrees > * Roadmaps > * LTS > * Defects > * Opens >   > Participants: > * AMD > * Intel > * Marvell > * Nvidia > * Red Hat >   >

[PATCH] net/virtio: fixed missing next flag when sending packets in packed mode

2023-10-09 Thread liufengjiang.0426
When the packets is sent in packed mode, and the packets data and virtio-header are divided into two desc, set the next flag of virtio-header desc Bugzilla ID: 1295 Fixes: 892dc798fa9c ("net/virtio: implement Tx path for packed queues") Signed-off-by: liufengjiang.0426 --- drivers/net/virtio/vi

[PATCH v4 2/2] test/dma: auto free offload test to free DMA buffer

2023-10-09 Thread Amit Prakash Shukla
Add a test case to validate the functionality of drivers' dma buffer offload auto free. As part of dmadev_autotest, test case will be executed only if the driver supports buffer offload auto free and if the test is exported by env variable DPDK_ADD_DMA_TEST. Signed-off-by: Amit Prakash Shukla Ack

[PATCH v4 1/2] dmadev: offload to auto free DMA buffer

2023-10-09 Thread Amit Prakash Shukla
This changeset adds support in DMA library to auto free DMA buffer by hardware. On a supported hardware, application can pass on the mempool information as part of vchan config. Signed-off-by: Amit Prakash Shukla Acked-by: Morten Brørup Acked-by: Anoob Joseph --- lib/dmadev/rte_dmadev.h | 43 +

[PATCH v4 0/2] offload support to auto free dma buffer

2023-10-09 Thread Amit Prakash Shukla
This series adds offload support to auto free buffer in dma library and adds a test support in dmadev_autotest to validate the functionality. v4: - Resolved review comments. v3: - Removed unwanted comment from code. v2: - Resolved review comments. - Fixed compilation issue. v1: - Implementation

RE: [EXT] Re: [PATCH v3 1/2] dmadev: offload to free source buffer

2023-10-09 Thread Amit Prakash Shukla
Hi Chengwen, Ack, I will make the changes in next version of the patch. Thanks, Amit Shukla > -Original Message- > From: fengchengwen > Sent: Monday, October 9, 2023 2:29 PM > To: Amit Prakash Shukla ; Kevin Laatz > ; Bruce Richardson > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; > m

RE: [PATCH v4 0/5] support item NSH matching

2023-10-09 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Haifei Luo > Sent: Sunday, October 8, 2023 6:10 AM > To: dev@dpdk.org > Cc: Ori Kam ; Slava Ovsiienko ; > Raslan Darawsheh ; Xueming(Steven) Li > ; Haifei Luo > Subject: [PATCH v4 0/5] support item NSH matching > > NSH can be matched using the existed it

Re: [PATCH] mem: allow using ASan in multi-process mode

2023-10-09 Thread Artur Paszkiewicz
On 10/4/23 16:51, David Marchand wrote: - did you test with --in-memory mode? with --no-huge? Please see v2 of the patch. I added checks for these options. They imply no multi-process support so mapping is skipped for those cases. - I did not look at the patch, but I wonder if there is a risk

[PATCH v2] mem: allow using ASan in multi-process mode

2023-10-09 Thread Artur Paszkiewicz
Multi-process applications operate on shared hugepage memory but each process has its own ASan shadow region which is not synchronized with the other processes. This causes issues when different processes try to use the same memory because they have their own view of which addresses are valid. Fix

Re: [PATCH RESEND v6 0/5] app/testpmd: support multiple process attach and detach port

2023-10-09 Thread lihuisong (C)
Hi Ferruh and Thomas, Can you take a look at this series? They've been over a year on disscussion. 在 2023/8/2 11:15, Huisong Li 写道: This patchset fix some bugs and support attaching and detaching port in primary and secondary. --- -v6: adjust rte_eth_dev_is_used position based on alphabet

[PATCH v2] config/arm: update aarch32 build with gcc13

2023-10-09 Thread Juraj Linkeš
The aarch32 with gcc13 fails with: Compiler for C supports arguments -march=armv8-a: NO ../config/arm/meson.build:714:12: ERROR: Problem encountered: No suitable armv8 march version found. This is because we test -march=armv8-a alone (without the -mpfu option), which is no longer supported in gc

Re: [PATCH v16 1/8] net/ntnic: initial commit which adds register defines

2023-10-09 Thread Ferruh Yigit
On 10/9/2023 8:57 AM, Christian Koue Muf wrote: > On 9/29/2023 12:24 PM, Thomas Monjalon wrote: >> 29/09/2023 11:46, Ferruh Yigit: >>> On 9/29/2023 10:21 AM, Christian Koue Muf wrote: On 9/21/2023 4:05 PM, Ferruh Yigit wrote: > On 9/20/2023 2:17 PM, Thomas Monjalon wrote: >> Hello, >>>

Re: [PATCH v3 0/2] fix help string and add a new command

2023-10-09 Thread Ferruh Yigit
On 10/8/2023 7:46 AM, Dengdui Huang wrote: > This series fix help string and add a new command. > > v3->v4 > help string add '\n' at last. > > v2->v3 > add 'mcast_addr add|remove' to help string and > update the new command description. > > v1->v2 > update order on help string. > > Dengdui Huan

Re: [PATCH v2] net/tap: resolve stringop-overflow with gcc 12 on ppc64le

2023-10-09 Thread Ferruh Yigit
On 10/6/2023 7:31 PM, David Christensen wrote: > > > On 9/29/23 6:48 AM, Ferruh Yigit wrote: >> On 6/7/2023 7:47 PM, Ferruh Yigit wrote: >>> On 5/16/2023 10:55 AM, Ferruh Yigit wrote: On 5/16/2023 2:28 AM, Stephen Hemminger wrote: > On Tue, 16 May 2023 00:35:56 +0100 > Ferruh Yigit

Re: [PATCH] net/nfp: fix one memory access problem

2023-10-09 Thread Ferruh Yigit
On 10/8/2023 8:08 AM, Chaoyong He wrote: > The initial logic do not give a value to the out parameter in the > abnormal logic, which cause an local variable uninitialized problem. > > Fixes: 3d6811281392 ("net/nfp: add infrastructure for conntrack flow merge") > Cc: chaoyong...@corigine.com > > S

Re: [PATCH v1 2/3] examples/l3fwd: relax the Offload requirement

2023-10-09 Thread Konstantin Ananyev
02.10.2023 09:53, Trevor Tao пишет: Now the port Rx offload mode is set to RTE_ETH_RX_OFFLOAD_CHECKSUM by default, but some hw and/or virtual interface does not support the offload mode presupposed, e.g., some virtio interfaces in the cloud may only partly support RTE_ETH_RX_OFFLOAD_UDP_CKSUM/ RT

RE: [PATCH] net/mlx5: adds the checking for Tx queue affinity

2023-10-09 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Jiawei(Jonny) Wang > Sent: Friday, September 22, 2023 9:50 AM > To: Slava Ovsiienko > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH] net/mlx5: adds the checking for Tx queue affinity > > MLX5 PMD updates the TIS index based on the tx queue affini

Re: [EXT] Re: [PATCH v3 1/2] dmadev: offload to free source buffer

2023-10-09 Thread fengchengwen
Hi Amit, Rethink again, I suggest use auto-free to denote this feature. So we could re-define as: RTE_DMA_CAPA_M2D_AUTO_FREE RTE_DMA_OP_FLAG_AUTO_FREE struct rte_dma_auto_free_param { union { struct { struct rte_mempool *pool; } m2d; }; u

Re: [PATCH v1 1/3] examples/l3fwd: relax RSS requirement with option

2023-10-09 Thread Konstantin Ananyev
Hi Trevor, Now the port Rx mq_mode had been set to RTE_ETH_MQ_RX_RSS by default, but some hw and/or virtual interface does not support the RSS and offload mode presupposed, e.g., some virtio interfaces in the cloud don't support RSS and the error msg may like: virtio_dev_configure(): RSS suppor

RE: [PATCH] ethdev: add calculate hash function

2023-10-09 Thread Dariusz Sosnowski
Hi, > -Original Message- > From: Ori Kam > Sent: Tuesday, September 26, 2023 13:38 > To: cristian.dumitre...@intel.com; Aman Singh > ; Yuying Zhang ; > NBU-Contact-Thomas Monjalon (EXTERNAL) ; > Ferruh Yigit ; Andrew Rybchenko > > Cc: dev@dpdk.org; Ori Kam ; Raslan Darawsheh > > Subject

[PATCH v10 9/9] net/cpfl: support represented port action

2023-10-09 Thread Zhang, Yuying
From: Yuying Zhang Support RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT action for forwarding packet to APF/CPF/VF representors. Signed-off-by: Yuying Zhang Acked-by: Qi Zhang --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --gi

[PATCH v10 8/9] net/cpfl: support flow ops on representor

2023-10-09 Thread Zhang, Yuying
From: Yuying Zhang Add flow ops support for representor, so representor can create, destroy, validate and flush rules. Signed-off-by: Yuying Zhang Acked-by: Qi Zhang --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 74 + drivers/net/cpfl/cpfl_representor.c | 29 ++

[PATCH v10 7/9] net/cpfl: adapt FXP to flow engine

2023-10-09 Thread Zhang, Yuying
From: Yuying Zhang Adapt FXP implementation to a flow engine Signed-off-by: Yuying Zhang Acked-by: Qi 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_engin

[PATCH v10 6/9] net/cpfl: implement FXP rule creation and destroying

2023-10-09 Thread Zhang, Yuying
From: Yuying Zhang Add a new module that implements FXP rule creation / destroying. Signed-off-by: Yuying Zhang Acked-by: Qi Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 31 drivers/net/cpfl/cpfl_ethdev.h | 6 + drivers/net/cpfl/cpfl_fxp_rule.c | 263 +++

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

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

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

2023-10-09 Thread Zhang, Yuying
From: Yuying Zhang Set up a dedicate vport with 4 pairs of control queues for flow offloading. Signed-off-by: Yuying Zhang Acked-by: Qi Zhang --- drivers/net/cpfl/cpfl_controlq.c | 801 +++ drivers/net/cpfl/cpfl_controlq.h | 75 +++ drivers/net/cpfl/cpfl_ethdev.c

[PATCH v10 3/9] net/cpfl: set up flow offloading skeleton

2023-10-09 Thread Zhang, Yuying
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 Acked-by: Qi Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 53 ++ drivers/net/cpfl/cpfl_

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

2023-10-09 Thread Zhang, Yuying
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 Acked-by: Qi Zhang --- drivers/net/cpfl/cpfl_flow_parser.c | 538 +++- drivers/net/cpfl/cpfl_flow_parser.h | 100 ++

[PATCH v10 1/9] net/cpfl: parse flow offloading hint from JSON

2023-10-09 Thread Zhang, Yuying
From: Wenjing Qiao Add devargs "flow_parser" to specify the path of a JSON configure file. The cpfl PMD use the JSON configuration file to translate rte_flow tokens into low level hardware representation. Example: -a ca:00.0,flow_parser="refpkg.json" jansson library is used to parse JSON sy

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

2023-10-09 Thread Zhang, Yuying
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: parse flow offloading hint from JSON net/cpfl: build action m

RE: [PATCH v16 1/8] net/ntnic: initial commit which adds register defines

2023-10-09 Thread Christian Koue Muf
On 9/29/2023 12:24 PM, Thomas Monjalon wrote: >29/09/2023 11:46, Ferruh Yigit: >> On 9/29/2023 10:21 AM, Christian Koue Muf wrote: >> > On 9/21/2023 4:05 PM, Ferruh Yigit wrote: >> >> On 9/20/2023 2:17 PM, Thomas Monjalon wrote: >> >>> Hello, >> >>> >> >>> 19/09/2023 11:06, Christian Koue Muf: >> >

[PATCH v10 9/9] net/cpfl: support represented port action

2023-10-09 Thread Zhang, Yuying
From: Yuying Zhang Support RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT action for forwarding packet to APF/CPF/VF representors. Signed-off-by: Yuying Zhang Acked-by: Qi Zhang --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --gi

[PATCH v10 8/9] net/cpfl: support flow ops on representor

2023-10-09 Thread Zhang, Yuying
From: Yuying Zhang Add flow ops support for representor, so representor can create, destroy, validate and flush rules. Signed-off-by: Yuying Zhang Acked-by: Qi Zhang --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 74 + drivers/net/cpfl/cpfl_representor.c | 29 ++

[PATCH v10 7/9] net/cpfl: adapt FXP to flow engine

2023-10-09 Thread Zhang, Yuying
From: Yuying Zhang Adapt FXP implementation to a flow engine Signed-off-by: Yuying Zhang Acked-by: Qi 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_engin

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

2023-10-09 Thread Tummala, Sivaprasad
[AMD Official Use Only - General] > -Original Message- > From: David Marchand > Sent: Friday, October 6, 2023 1:57 PM > To: Tummala, Sivaprasad > Cc: david.h...@intel.com; anatoly.bura...@intel.com; Yigit, Ferruh > ; tho...@monjalon.net; dev@dpdk.org; Tyler Retzlaff > > Subject: Re: [PA

[PATCH v10 6/9] net/cpfl: implement FXP rule creation and destroying

2023-10-09 Thread Zhang, Yuying
From: Yuying Zhang Add a new module that implements FXP rule creation / destroying. Signed-off-by: Yuying Zhang Acked-by: Qi Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 31 drivers/net/cpfl/cpfl_ethdev.h | 6 + drivers/net/cpfl/cpfl_fxp_rule.c | 263 +++

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

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

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

2023-10-09 Thread Zhang, Yuying
From: Yuying Zhang Set up a dedicate vport with 4 pairs of control queues for flow offloading. Signed-off-by: Yuying Zhang Acked-by: Qi Zhang --- drivers/net/cpfl/cpfl_controlq.c | 801 +++ drivers/net/cpfl/cpfl_controlq.h | 75 +++ drivers/net/cpfl/cpfl_ethdev.c

[PATCH v10 3/9] net/cpfl: set up flow offloading skeleton

2023-10-09 Thread Zhang, Yuying
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 Acked-by: Qi Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 53 ++ drivers/net/cpfl/cpfl_

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

2023-10-09 Thread Zhang, Yuying
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 Acked-by: Qi Zhang --- drivers/net/cpfl/cpfl_flow_parser.c | 538 +++- drivers/net/cpfl/cpfl_flow_parser.h | 100 ++

[PATCH v10 1/9] net/cpfl: parse flow offloading hint from JSON

2023-10-09 Thread Zhang, Yuying
From: Wenjing Qiao Add devargs "flow_parser" to specify the path of a JSON configure file. The cpfl PMD use the JSON configuration file to translate rte_flow tokens into low level hardware representation. Example: -a ca:00.0,flow_parser="refpkg.json" jansson library is used to parse JSON sy

  1   2   >