Re: [PATCH v3] examples/vdpa: support running in nested virtualization environment

2022-10-25 Thread Hao Chen
On 2022/10/26 14:10, Maxime Coquelin wrote: Hi Hao On 10/25/22 08:19, Hao Chen wrote: When we run dpdk vdpa in the nested virtual machine vm-L1 and ping test in vm-L2, the ping is NG. The reason for troubleshooting is NG == not good? Please don't use abbreviations. Yes, I will pay attenti

[PATCH] net/mlx5: remove unneeded SQ null checking

2022-10-25 Thread Suanming Mou
The ASO SQ is a dynamic array in the ASO pool struct. That means the checking of the SQ pointer is incorrect and not needed. And the mlx5_aso_destroy_sq() function internally also checks if inside the SQ any resources need to be released or not. There is no need to have that extra checking. This c

Re: [PATCH v2] devtools: check for supported git version

2022-10-25 Thread David Marchand
On Tue, Oct 25, 2022 at 12:15 PM Ali Alnubani wrote: > > The script devtools/parse-flow-support.sh uses the git-grep > option (-o, --only-matching), which is only supported from > git version 2.19 and onwards.[1] > > The script now exits early providing a clear message to the user > about the requ

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

2022-10-25 Thread David Marchand
On Mon, Oct 17, 2022 at 3:53 PM David Marchand wrote: > On Mon, Oct 17, 2022 at 3:42 PM Uttarwar, Sunil Prakashrao > wrote: > > > > [Public] > > > > Hi Akhil & David, > > > > Regarding "crypto/ccp: fix PCI probing" patch, observing some issues while > > verifying on AMD platform(Floating point e

Re: [PATCH v3] examples/vdpa: support running in nested virtualization environment

2022-10-25 Thread Maxime Coquelin
Hi Hao On 10/25/22 08:19, Hao Chen wrote: When we run dpdk vdpa in the nested virtual machine vm-L1 and ping test in vm-L2, the ping is NG. The reason for troubleshooting is NG == not good? Please don't use abbreviations. that the virtio net in vm-L2 sends control information to the vring, a

Re: [PATCH] vdpa/ifc/base: wait for queue disable before saving q-state

2022-10-25 Thread Maxime Coquelin
Hi Abhishek, On 10/25/22 09:51, Abhishek Maheshwari wrote: Some ifc hardware require synchronization between disabling a queue and saving queue-state from LM registers. When queue is disabled from vDPA driver, ifc device stops executing new virtio-cmds and then updates LM registers with used/ava

[Bug 1006] [dpdk-22.03] [asan] coremask/individual_coremask: AddressSanitizer DEADLYSIGNAL

2022-10-25 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1006 David Marchand (david.march...@redhat.com) changed: What|Removed |Added Resolution|FIXED |--- Assign

Re: [PATCH v8 1/2] vhost: introduce DMA vchannel unconfiguration

2022-10-25 Thread Maxime Coquelin
On 10/25/22 10:25, xuan.d...@intel.com wrote: From: Xuan Ding Add a new API rte_vhost_async_dma_unconfigure() to unconfigure DMA vChannels in vhost async data path. Lock protection are also added to protect DMA vChannel configuration and unconfiguration from concurrent calls. Signed-off-by:

Re: [PATCH v8 2/2] examples/vhost: unconfigure DMA vchannel

2022-10-25 Thread Maxime Coquelin
On 10/25/22 10:25, xuan.d...@intel.com wrote: From: Xuan Ding This patch applies rte_vhost_async_dma_unconfigure() to manually free DMA vChannels. Before unconfiguration, make sure the specified DMA vChannel is no longer used by any vhost ports. Signed-off-by: Xuan Ding --- examples/vhos

Re: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Maxime Coquelin
Hi Jiayu, On 10/26/22 04:48, Hu, Jiayu wrote: -Original Message- From: Maxime Coquelin Sent: Wednesday, October 26, 2022 12:05 AM To: Richardson, Bruce Cc: Hu, Jiayu ; Wang, YuanX ; Xia, Chenbo ; dev@dpdk.org; Jiang, Cheng1 ; Ma, WenwuX ; He, Xingguang ; Thomas Monjalon ; Ilya Maxim

RE: [EXT] [PATCH v1] examples/fips_validation: parse block error fix

2022-10-25 Thread Gowrishankar Muthukrishnan
Acked-by: Gowrishankar Muthukrishnan Thanks. > -Original Message- > From: Brian Dooley > Sent: Monday, October 24, 2022 4:07 PM > To: Brian Dooley > Cc: dev@dpdk.org; Gowrishankar Muthukrishnan > ; Akhil Goyal > Subject: [EXT] [PATCH v1] examples/fips_validation: parse block error fix

[Bug 1006] [dpdk-22.03] [asan] coremask/individual_coremask: AddressSanitizer DEADLYSIGNAL

2022-10-25 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1006 jiang,yu (yux.ji...@intel.com) changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #4 from jiang,

RE: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Hu, Jiayu
> -Original Message- > From: Maxime Coquelin > Sent: Wednesday, October 26, 2022 12:05 AM > To: Richardson, Bruce > Cc: Hu, Jiayu ; Wang, YuanX ; > Xia, Chenbo ; dev@dpdk.org; Jiang, Cheng1 > ; Ma, WenwuX ; He, > Xingguang ; Thomas Monjalon > ; Ilya Maximets ; David > Marchand > Subjec

RE: [PATCH v8 5/8] net/gve: add support for MTU setting

2022-10-25 Thread Guo, Junfeng
> -Original Message- > From: Stephen Hemminger > Sent: Tuesday, October 25, 2022 23:55 > To: Guo, Junfeng > Cc: Zhang, Qi Z ; Wu, Jingjing > ; ferruh.yi...@xilinx.com; Xing, Beilei > ; dev@dpdk.org; Li, Xiaoyun > ; awogbem...@google.com; Richardson, Bruce > ; hemant.agra...@nxp.com; Xi

[PATCH] net/mlx5/hws: set ft_type on root matcher creation

2022-10-25 Thread Suanming Mou
The ft_type should be provided to mlx5dv_create_flow_matcher if the matcher attributes exist, not only for FDB but for NIC as well. If the ft_type is not provided, matcher/rule creation might fail. Fixes: ac7931dd1908 ("net/mlx5/hws: add HWS matcher object") Signed-off-by: Alex Vesker Signed-off

[PATCH] net/mlx5: fix assert failure in item translation

2022-10-25 Thread Suanming Mou
When HW Steering is enabled, mlx5dr translates flow items using DV item translation functions to configure flows in root flow table. Represented port item stores vport metadata tag in thread-local workspace when translate to DV spec. Due to the thread-local workspace was not created in HW Steering,

RE: [PATCH v8 0/8] introduce GVE PMD

2022-10-25 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, October 25, 2022 20:33 > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, > Beilei > Cc: dev@dpdk.org; Li, Xiaoyun ; > awogbem...@google.com; Richardson, Bruce > ; hemant.agra...@nxp.com; > step...@networkplumber.org; Xia

Re: flow classify library status

2022-10-25 Thread Konstantin Ananyev
25/10/2022 16:24, Ferruh Yigit пишет: On 10/25/2022 3:37 PM, David Marchand wrote: Hello, The flow_classify library has been out and marked experimental for a long time. Its current maintainer is now leaving the community. The library did not get much traction: I am not aware of an opensourc

[dpdk-dev v3] crypto/ipsec_mb: multi-process IPC request handler

2022-10-25 Thread Kai Ji
As the secondary process needs queue-pair to be configured by the primary process before use. This patch adds an IPC register function to allow secondary process to setup cryptodev queue-pair via IPC messages during the runtime. A new "qp_in_used_pid" param stores the PID to provide the ownership o

[PATCH 7/8] doc: fix description of L2TPV2 flow item

2022-10-25 Thread Thomas Monjalon
The flow item structure includes the protocol definition from the directory lib/net/, so it is reflected in the guide. Section title underlining is also fixed around. Signed-off-by: Thomas Monjalon --- doc/guides/prog_guide/rte_flow.rst | 13 +++-- 1 file changed, 3 insertions(+), 10 de

[PATCH 8/8] net: mark all big endian types

2022-10-25 Thread Thomas Monjalon
Some protocols (ARP, MPLS and HIGIG2) were using uint16_t and uint32_t types for their 16 and 32-bit fields. It was correct but not conveying the big endian nature of these fields. As for other protocols defined in this directory, all types are explicitly marked as big endian fields. Signed-off-b

[PATCH 6/8] ethdev: use ARP protocol struct for flow matching

2022-10-25 Thread Thomas Monjalon
As announced in the deprecation notice, flow item structures should re-use the protocol header definitions from the directory lib/net/. The protocol struct is added in an unnamed union, keeping old field names. The ARP header struct members are used in testpmd instead of the redundant fields in t

[PATCH 5/8] ethdev: use GTP protocol struct for flow matching

2022-10-25 Thread Thomas Monjalon
As announced in the deprecation notice, flow item structures should re-use the protocol header definitions from the directory lib/net/. The protocol struct is added in an unnamed union, keeping old field names. The GTP header struct members are used in apps and drivers instead of the redundant fi

[PATCH 4/8] ethdev: use GRE protocol struct for flow matching

2022-10-25 Thread Thomas Monjalon
As announced in the deprecation notice, flow item structures should re-use the protocol header definitions from the directory lib/net/. The protocol struct is added in an unnamed union, keeping old field names. The GRE header struct members are used in apps and drivers instead of the redundant fi

[PATCH 3/8] ethdev: use VXLAN protocol struct for flow matching

2022-10-25 Thread Thomas Monjalon
As announced in the deprecation notice, flow item structures should re-use the protocol header definitions from the directory lib/net/. In the case of VXLAN-GPE, the protocol struct is added in an unnamed union, keeping old field names. The VXLAN headers (including VXLAN-GPE) are used in apps and

[PATCH 2/8] net: add smaller fields for VXLAN

2022-10-25 Thread Thomas Monjalon
The VXLAN and VXLAN-GPE headers were including reserved fields with other fields in big uint32_t struct members. Some more precise definitions are added as union of the old ones. The new struct members are smaller in size and in names. Signed-off-by: Thomas Monjalon --- lib/net/rte_vxlan.h | 3

[PATCH 1/8] ethdev: use Ethernet protocol struct for flow matching

2022-10-25 Thread Thomas Monjalon
As announced in the deprecation notice, flow item structures should re-use the protocol header definitions from the directory lib/net/. The Ethernet headers (including VLAN) structures are used instead of the redundant fields in the flow items. The remaining protocols to clean up are listed for fu

[PATCH 0/8] start cleanup of rte_flow_item_*

2022-10-25 Thread Thomas Monjalon
There was a plan to have structures from lib/net/ at the beginning of corresponding flow item structures. Unfortunately this plan has not been followed up so far. This series is a step to make the most used items, compliant with the inheritance design explained above. The old API is kept in anonymo

RE: [PATCH] common/cnxk: fix build failure with rhel

2022-10-25 Thread Akhil Goyal
> Subject: [PATCH] common/cnxk: fix build failure with rhel > > Fix compiler warning of uninitialized address. > > Fixes: a7033a2fb2bf ("common/cnxk: support custom UDP port values") > > Signed-off-by: Anoob Joseph Squashed with original commit. Thanks.

Re: [RFC] pcapng: record received RSS hash in pcap file

2022-10-25 Thread Ben Magistro
Tested with Wireshark 4.1.0rc0-599-g708da4852678 (and older version to confirm no issues) Tested-by: Ben Magistro On Fri, Oct 21, 2022 at 4:05 PM Stephen Hemminger < step...@networkplumber.org> wrote: > On Tue, 26 Jul 2022 14:36:19 -0700 > Stephen Hemminger wrote: > > > There is an option for

[PATCH] common/cnxk: fix build failure with rhel

2022-10-25 Thread Anoob Joseph
Fix compiler warning of uninitialized address. Fixes: a7033a2fb2bf ("common/cnxk: support custom UDP port values") Signed-off-by: Anoob Joseph --- drivers/common/cnxk/cnxk_security.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/common/cnxk/cnxk_security.c b

[PATCH v2] event/cnxk: fix incorrect mbuf offset calculation

2022-10-25 Thread pbhagavatula
From: Pavan Nikhilesh Fix incorrect mbuf offset calculation when HEADROOM exceeds 128B while processing event vectors. Fixes: 7fbbc981d54f("event/cnxk: support vectorized Rx event fast path") Signed-off-by: Pavan Nikhilesh --- v2 Changes: - Remove internal Change-Id. drivers/net/cnxk/cn10k

[PATCH v6 5/5] examples/l3fwd: use em vector path for event vector

2022-10-25 Thread pbhagavatula
From: Pavan Nikhilesh Use em vector path to process event vector. Signed-off-by: Pavan Nikhilesh Acked-by: Shijith Thotton --- examples/l3fwd/l3fwd_em.c| 13 +++-- examples/l3fwd/l3fwd_em.h| 29 +-- examples/l3fwd/l3fwd_em_hlm.h| 72 +---

[PATCH v6 3/5] examples/l3fwd: use lpm vector path for event vector

2022-10-25 Thread pbhagavatula
From: Pavan Nikhilesh Use lpm vector path to process event vector. Signed-off-by: Pavan Nikhilesh Acked-by: Shijith Thotton --- examples/l3fwd/l3fwd_altivec.h | 29 ++ examples/l3fwd/l3fwd_event.h | 71 ++ examples/l3fwd/l3fwd_lpm.c | 39 +

[PATCH v6 4/5] examples/l3fwd: fix event vector processing in fib

2022-10-25 Thread pbhagavatula
From: Pavan Nikhilesh Fix stack overflow when event vector size is greater than MAX_BURST_SIZE. Add missing mac swap and rfc1812 stage. Fixes: e8adca1951d4 ("examples/l3fwd: support event vector") Signed-off-by: Pavan Nikhilesh Acked-by: Shijith Thotton --- examples/l3fwd/l3fwd_fib.c | 130 +

[PATCH v6 2/5] examples/l3fwd: split processing and send stages

2022-10-25 Thread pbhagavatula
From: Pavan Nikhilesh Split packet processing from packet send stage, as send stage is not common for poll and event mode. Signed-off-by: Pavan Nikhilesh Acked-by: Shijith Thotton --- examples/l3fwd/l3fwd_em_hlm.h | 39 +++--- examples/l3fwd/l3fwd_lpm_altivec.h |

[PATCH v6 1/5] examples/l3fwd: fix port group mask generation

2022-10-25 Thread pbhagavatula
From: Pavan Nikhilesh Fix port group mask generation in altivec, vec_any_eq returns 0 or 1 while port_groupx4 expects comparison mask result. Fixes: 2193b7467f7a ("examples/l3fwd: optimize packet processing on powerpc") Cc: sta...@dpdk.org Signed-off-by: Pavan Nikhilesh Acked-by: Shijith Thott

Re: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Maxime Coquelin
On 10/25/22 17:44, Bruce Richardson wrote: On Tue, Oct 25, 2022 at 05:33:31PM +0200, Maxime Coquelin wrote: On 10/25/22 11:15, Hu, Jiayu wrote: I think that for Vhost PMD, the Virtio completions should either be performed by DMA engine or by a dedicated thread. We cannot depend on DMA

Re: [PATCH v6 1/1] baseband/acc100: add workaround for deRM corner cases

2022-10-25 Thread Maxime Coquelin
Hi Nicolas, On 10/25/22 17:01, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Tuesday, October 25, 2022 1:26 AM To: Vargas, Hernan ; dev@dpdk.org; gak...@marvell.com; t...@redhat.com Cc: Chautru, Nicolas ; Zhang, Qi Z ; David Marchand ; Thomas Monjal

Re: [PATCH v2] lib: remove empty return types from doxygen comments

2022-10-25 Thread Stephen Hemminger
On Tue, 25 Oct 2022 16:32:38 +0300 Ali Alnubani wrote: > Recent versions of doxygen (1.9.4 and newer) complain about > documented return types for functions that don't return anything. > > This patch removes these return types to fix build errors similar > to this one: > [..] > Generating doc/ap

Re: flow classify library status

2022-10-25 Thread Stephen Hemminger
On Tue, 25 Oct 2022 16:37:24 +0200 David Marchand wrote: > Hello, > > The flow_classify library has been out and marked experimental for a long > time. > Its current maintainer is now leaving the community. > > The library did not get much traction: I am not aware of an opensource > project us

Re: [PATCH v8 5/8] net/gve: add support for MTU setting

2022-10-25 Thread Stephen Hemminger
On Tue, 25 Oct 2022 17:07:26 +0800 Junfeng Guo wrote: > +static int > +gve_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) > +{ > + struct gve_priv *priv = dev->data->dev_private; > + int err; > + > + if (mtu < RTE_ETHER_MIN_MTU || mtu > priv->max_mtu) { > + PMD_DRV_LOG

[PATCH] event/cnxk: fix incorrect mbuf offset calculation

2022-10-25 Thread pbhagavatula
From: Pavan Nikhilesh Fix incorrect mbuf offset calculation when HEADROOM exceeds 128B while processing event vectors. Fixes: 7fbbc981d54f("event/cnxk: support vectorized Rx event fast path") Signed-off-by: Pavan Nikhilesh Change-Id: I1c33c8a5cce29c3ea7eb0411f4e1bedf42053167 --- drivers/net/c

Re: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Bruce Richardson
On Tue, Oct 25, 2022 at 05:33:31PM +0200, Maxime Coquelin wrote: > > > On 10/25/22 11:15, Hu, Jiayu wrote: > > > I think that for Vhost PMD, the Virtio completions should either be > > > performed by DMA engine or by a dedicated thread. > > > > We cannot depend on DMA engine to do completion, a

Re: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Maxime Coquelin
On 10/25/22 11:15, Hu, Jiayu wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Tuesday, October 25, 2022 3:52 PM To: Hu, Jiayu ; Wang, YuanX ; Xia, Chenbo Cc: dev@dpdk.org; Jiang, Cheng1 ; Ma, WenwuX ; He, Xingguang ; Thomas Monjalon ; Richardson, Bruce ; Ilya Maxime

Re: flow classify library status

2022-10-25 Thread Ferruh Yigit
On 10/25/2022 3:37 PM, David Marchand wrote: Hello, The flow_classify library has been out and marked experimental for a long time. Its current maintainer is now leaving the community. The library did not get much traction: I am not aware of an opensource project using it. Are there users of t

RE: [PATCH] maintainers: remove obsolete contact details

2022-10-25 Thread Mcnamara, John
> -Original Message- > From: Bruce Richardson > Sent: Tuesday, October 25, 2022 1:11 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [PATCH] maintainers: remove obsolete contact details > > Bernard is no longer with Intel and is no longer involved in the DPDK > community, so

RE: [EXT] [PATCH 1/2] app/test-crypto-perf: fix number of scheduler sessions

2022-10-25 Thread Akhil Goyal
> The scheduler PMD needs 1 session header, > along with a session per worker. > > After the session rework, this change was made to other apps, > for example l2fwd-crypto, but was missed in test-crypto-perf. > > Fixes: bdce2564dbf7 ("cryptodev: rework session framework") > Cc: gak...@marvell.com

RE: [EXT] [PATCH resend v5 0/6] crypto/uadk: introduce uadk crypto driver

2022-10-25 Thread Akhil Goyal
> Introduce a new crypto PMD for hardware accelerators based on UADK [1]. > > UADK is a framework for user applications to access hardware accelerators. > UADK relies on IOMMU SVA (Shared Virtual Address) feature, which share > the same page table between IOMMU and MMU. > Thereby user applicatio

RE: [PATCH v6 1/1] baseband/acc100: add workaround for deRM corner cases

2022-10-25 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 25, 2022 1:26 AM > To: Vargas, Hernan ; dev@dpdk.org; > gak...@marvell.com; t...@redhat.com > Cc: Chautru, Nicolas ; Zhang, Qi Z > ; David Marchand ; > Thomas Monjalon > Subject: Re: [PATCH v6 1/1] baseband/

RE: [EXT] [PATCH resend v5 6/6] test/crypto: add cryptodev_uadk_autotest

2022-10-25 Thread Akhil Goyal
> Subject: [EXT] [PATCH resend v5 6/6] test/crypto: add cryptodev_uadk_autotest Rewrite patch title as test/crypto: support uadk PMD > Add a line Updated test application to run autotest for uadk crypto PMD. > Example: > sudo dpdk-test --vdev=crypto_uadk --log-level=6 > RTE>>cryptodev_uadk_autote

RE: [EXT] [PATCH resend v5 5/6] crypto/uadk: support auth algorithms

2022-10-25 Thread Akhil Goyal
> Hash algorithms: > > * ``RTE_CRYPTO_AUTH_MD5`` > * ``RTE_CRYPTO_AUTH_MD5_HMAC`` > * ``RTE_CRYPTO_AUTH_SHA1`` > * ``RTE_CRYPTO_AUTH_SHA1_HMAC`` > * ``RTE_CRYPTO_AUTH_SHA224`` > * ``RTE_CRYPTO_AUTH_SHA224_HMAC`` > * ``RTE_CRYPTO_AUTH_SHA256`` > * ``RTE_CRYPTO_AUTH_SHA256_HMAC`` > * ``RTE_CRYPTO_AU

flow classify library status

2022-10-25 Thread David Marchand
Hello, The flow_classify library has been out and marked experimental for a long time. Its current maintainer is now leaving the community. The library did not get much traction: I am not aware of an opensource project using it. Are there users of this library? If we deprecated it (to later dro

RE: [EXT] [PATCH resend v5 4/6] crypto/uadk: support cipher algorithms

2022-10-25 Thread Akhil Goyal
> @@ -326,7 +641,9 @@ uadk_cryptodev_probe(struct rte_vdev_device *vdev) > dev->driver_id = uadk_cryptodev_driver_id; > dev->dequeue_burst = uadk_crypto_dequeue_burst; > dev->enqueue_burst = uadk_crypto_enqueue_burst; > - dev->feature_flags = RTE_CRYPTODEV_FF_HW_ACCELERATED; >

RE: [EXT] [PATCH resend v5 2/6] crypto/uadk: support basic operations

2022-10-25 Thread Akhil Goyal
> +/* Maximum length for digest (SHA-512 needs 64 bytes) */ > +#define DIGEST_LENGTH_MAX 64 > + > +struct uadk_qp { > + /* Ring for placing process packets */ > + struct rte_ring *processed_pkts; > + /* Queue pair statistics */ > + struct rte_cryptodev_stats qp_stats; > + /* Que

[PATCH 2/2] crypto/scheduler: fix op session in pkt size distr mode

2022-10-25 Thread Ciara Power
The index for sess_ctx was incorrect when setting the op session. Fixes: 6812b9bf470e ("crypto/scheduler: use unified session") Signed-off-by: Ciara Power --- drivers/crypto/scheduler/scheduler_pkt_size_distr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/s

[PATCH 1/2] app/test-crypto-perf: fix number of scheduler sessions

2022-10-25 Thread Ciara Power
The scheduler PMD needs 1 session header, along with a session per worker. After the session rework, this change was made to other apps, for example l2fwd-crypto, but was missed in test-crypto-perf. Fixes: bdce2564dbf7 ("cryptodev: rework session framework") Cc: gak...@marvell.com Signed-off-by:

RE: [EXT] [PATCH resend v5 1/6] crypto/uadk: introduce uadk crypto driver

2022-10-25 Thread Akhil Goyal
> diff --git a/doc/guides/cryptodevs/uadk.rst b/doc/guides/cryptodevs/uadk.rst > new file mode 100644 > index 00..1dfaab73c8 > --- /dev/null > +++ b/doc/guides/cryptodevs/uadk.rst > @@ -0,0 +1,73 @@ > +.. SPDX-License-Identifier: BSD-3-Clause > +Copyright 2022-2023 Huawei Technologies

RE: [PATCH 0/2] mlx5: fix miss NULL check in devargs parsing

2022-10-25 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Monday, October 24, 2022 3:34 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko > Subject: [PATCH 0/2] mlx5: fix miss NULL check in devargs parsing > > The MLX5 PMD parses the devargs in several places. >

RE: [PATCH] net/mlx5: fix tunnel header with IPIP offload

2022-10-25 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Jiawei(Jonny) Wang > Sent: Thursday, October 20, 2022 3:56 PM > To: Slava Ovsiienko ; Matan Azrad > ; Ori Kam ; Raslan Darawsheh > ; Lior Margalit > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix tunnel header with IPIP offload > > Fo

RE: [v4] net/mlx5: support matching flow on port representor ID

2022-10-25 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Sean Zhang > Sent: Tuesday, October 25, 2022 9:31 AM > To: NBU-Contact-Thomas Monjalon (EXTERNAL) ; > Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org > Subject: [v4] net/mlx5: support matching flow on port representor ID > > Add support for port_repre

RE: [PATCH] net/mlx5: fix RSS expansion buffer size

2022-10-25 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Gregory Etelson > Sent: Thursday, October 20, 2022 12:59 PM > To: dev@dpdk.org > Cc: Gregory Etelson ; Matan Azrad > ; Raslan Darawsheh ; Slava > Ovsiienko ; Lior Margalit > Subject: [PATCH] net/mlx5: fix RSS expansion buffer size > > Increase expansion

[PATCH v2] lib: remove empty return types from doxygen comments

2022-10-25 Thread Ali Alnubani
Recent versions of doxygen (1.9.4 and newer) complain about documented return types for functions that don't return anything. This patch removes these return types to fix build errors similar to this one: [..] Generating doc/api/doxygen with a custom command FAILED: doc/api/html /usr/bin/python3 /

[PATCH] lib: remove empty return types from doxygen comments

2022-10-25 Thread Ali Alnubani
Recent versions of doxygen (1.9.4 and newer) complain about the None return types for functions that don't return anything. Fixes the following build error: [..] Generating doc/api/doxygen with a custom command FAILED: doc/api/html /usr/bin/python3 /path/to/doc/api/generate_doxygen.py doc/api/html

[PATCH v7] mem: telemetry support for memseg and element information

2022-10-25 Thread Amit Prakash Shukla
Changes adds telemetry support to display memory occupancy in memseg and the information of the elements allocated from a memseg based on arguments provided by user. This patch adds following endpoints: 1. /eal/memseg_lists The command displays the memseg list from which the memory has been alloca

Re: [PATCH v8 0/8] introduce GVE PMD

2022-10-25 Thread Ferruh Yigit
On 10/25/2022 10:07 AM, Junfeng Guo wrote: Introduce a new PMD for Google Virtual Ethernet (GVE). gve (or gVNIC) is the standard virtual ethernet interface on Google Cloud Platform (GCP), which is one of the multiple virtual interfaces from those leading CSP customers in the world. Having a wel

[PATCH] maintainers: remove obsolete contact details

2022-10-25 Thread Bruce Richardson
Bernard is no longer with Intel and is no longer involved in the DPDK community, so remove him from the MAINTAINERS file. Signed-off-by: Bruce Richardson --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2bd4a55f1b..86a66b3981 100644 --- a/MAINT

Re: [PATCH v6] pci: read amd iommu virtual address width

2022-10-25 Thread David Marchand
On Mon, Oct 24, 2022 at 5:35 PM Michael Piszczek wrote: > > Add code to read the virtual address width for AMD processors. > Updated pci_device_iommu_support_va() to use glob to find iommu > capability files. > > Signed-off-by: Michael Piszczek Please have a look at the ci. Unit tests are faili

[Bug 1113] i40e: device configure ignores RSS key in rx_adv_conf

2022-10-25 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1113 Bug ID: 1113 Summary: i40e: device configure ignores RSS key in rx_adv_conf Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity:

[PATCH v6] mem: telemetry support for memseg and element information

2022-10-25 Thread Amit Prakash Shukla
Changes adds telemetry support to display memory occupancy in memseg and the information of the elements allocated from a memseg based on arguments provided by user. This patch adds following endpoints: 1. /eal/memseg_lists The command displays the memseg list from which the memory has been alloca

Re: [PATCH v3 00/26] add the extend rte_flow offload support of nfp PMD

2022-10-25 Thread Ferruh Yigit
On 10/25/2022 8:58 AM, Chaoyong He wrote: This is the third patch series to add the support of rte_flow offload for nfp PMD, includes: Add the offload support of decap/encap of VXLAN Add the offload support of decap/encap of GENEVE Add the offload support of decap/encap of NVGRE Changes since v2

Re: [PATCH v3 1/4] telemetry: support boolean type

2022-10-25 Thread Bruce Richardson
On Tue, Oct 25, 2022 at 11:43:27AM +0200, David Marchand wrote: > On Tue, Oct 25, 2022 at 11:34 AM Mattias Rönnblom > wrote: > > > > On 2022-10-25 11:00, David Marchand wrote: > > > Add the boolean type RTE_TEL_BOOL_VAL for values in arrays and dicts. > > > > > > Signed-off-by: David Marchand >

Re: [PATCH v3 3/4] trace: enable trace operations via telemetry

2022-10-25 Thread Mattias Rönnblom
On 2022-10-25 11:00, David Marchand wrote: Register telemetry commands to list and configure trace points and later save traces for a running DPDK application. Example with testpmd running with two net/null ports (startup command from devtools/test-null.sh): --> /trace/list,lib.ethdev.* {"/trac

[PATCH v2] devtools: check for supported git version

2022-10-25 Thread Ali Alnubani
The script devtools/parse-flow-support.sh uses the git-grep option (-o, --only-matching), which is only supported from git version 2.19 and onwards.[1] The script now exits early providing a clear message to the user about the required git version instead of showing the following error messages mu

Re: [PATCH v11 16/18] net/idpf: add support for Tx offloading

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Add Tx offloading support: - support TSO Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo [snip] diff --git a/drivers/net/idpf/idpf_rxtx.c b/drivers/net/idpf/idpf_rxtx.c index 143c8b69f3..8f82cf1b59 100644 --- a/driver

Re: [PATCH v11 12/18] net/idpf: add support for basic Tx datapath

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Add basic Tx support in split queue mode and single queue mode. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo [snip] +/* TX prep functions */ +uint16_t +idpf_prep_pkts(__rte_unused void *tx_queue, struct rte_mbuf **tx

Re: [PATCH v11 15/18] net/idpf: add support for Rx offloading

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Add Rx offloading support: - support CHKSUM and RSS offload for split queue model - support CHKSUM offload for single queue model Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini |

Re: [PATCH v11 09/18] net/idpf: add support for packet type get

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Add dev ops dev_supported_ptypes_get. Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo Again, the patch should go after datapath implementation to make it reviewable. [snip] diff --git a/doc/guides/nics/features/idpf.ini b/doc/guides/nics/features

RE: [PATCH v8 2/2] examples/vhost: unconfigure DMA vchannel

2022-10-25 Thread Ling, WeiX
> -Original Message- > From: Ding, Xuan > Sent: Tuesday, October 25, 2022 4:26 PM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; He, Xingguang > ; Ling, WeiX ; Jiang, > Cheng1 ; Wang, YuanX ; > Ma, WenwuX ; Ding, Xuan > Subject: [PATCH v8 2/2] examples/vhos

Re: [PATCH v11 05/18] net/idpf: add support for device start and stop

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Add dev ops dev_start, dev_stop and link_update. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 89 ++ drivers/net/idpf/idpf_ethdev.h | 5 ++ 2 file

Re: [PATCH v3 1/4] telemetry: support boolean type

2022-10-25 Thread David Marchand
On Tue, Oct 25, 2022 at 11:34 AM Mattias Rönnblom wrote: > > On 2022-10-25 11:00, David Marchand wrote: > > Add the boolean type RTE_TEL_BOOL_VAL for values in arrays and dicts. > > > > Signed-off-by: David Marchand > > Acked-by: Morten Brørup > > Acked-by: Bruce Richardson > > Acked-by: Ciara

Re: [PATCH v3 4/4] trace: create new directory for each trace dump

2022-10-25 Thread Mattias Rönnblom
On 2022-10-25 11:00, David Marchand wrote: Rather than always overwrite the content of the trace directory, create new directories for each call to rte_trace_save(). In the unlikely event that multiple rte_trace_save() gets called many times in a single second, try to suffix the name with a digi

Re: [PATCH v11 03/18] net/idpf: add Tx queue setup

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Add support for tx_queue_setup ops. In the single queue model, the same descriptor queue is used by SW to post buffer descriptors to HW and by HW to post completed descriptors to SW. In the split queue model, "RX buffer queues" are used to pass descriptor b

Re: [PATCH v3 1/4] telemetry: support boolean type

2022-10-25 Thread Mattias Rönnblom
On 2022-10-25 11:00, David Marchand wrote: Add the boolean type RTE_TEL_BOOL_VAL for values in arrays and dicts. Signed-off-by: David Marchand Acked-by: Morten Brørup Acked-by: Bruce Richardson Acked-by: Ciara Power --- Changes since v1: - fixed doxygen description, --- app/test/test_tele

RE: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Hu, Jiayu
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 25, 2022 3:52 PM > To: Hu, Jiayu ; Wang, YuanX ; > Xia, Chenbo > Cc: dev@dpdk.org; Jiang, Cheng1 ; Ma, WenwuX > ; He, Xingguang ; > Thomas Monjalon ; Richardson, Bruce > ; Ilya Maximets ; > David Marchand >

RE: [PATCH v3 2/4] telemetry: extend valid command characters

2022-10-25 Thread Power, Ciara
> -Original Message- > From: David Marchand > Sent: Tuesday 25 October 2022 10:01 > To: dev@dpdk.org > Cc: Richardson, Bruce ; Power, Ciara > > Subject: [PATCH v3 2/4] telemetry: extend valid command characters > > The trace framework wants to reference trace point names as keys in di

[PATCH v8 8/8] net/gve: add support for Rx/Tx

2022-10-25 Thread Junfeng Guo
Add Rx/Tx of GQI_QPL queue format and GQI_RDA queue format. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/gve.ini | 2 + doc/guides/nics/gve.rst | 4 + drivers/net/gve/gve_ethdev.c | 15 +- drivers/net/gve/gve_ethdev.h | 18 ++ drivers/

[PATCH v8 7/8] net/gve: add support for queue operations

2022-10-25 Thread Junfeng Guo
Add support for queue operations: - setup rx/tx queue - release rx/tx queue - start rx/tx queues - stop rx/tx queues Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve_ethdev.c | 204 + drivers/net/gve/gve_ethdev.h | 52 + drive

[PATCH v8 6/8] net/gve: add support for dev info get and dev configure

2022-10-25 Thread Junfeng Guo
Add dev_ops dev_infos_get. Complete dev_configure with RX offloads force enabling. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/gve.ini | 2 ++ doc/guides/nics/gve.rst | 5 +++ drivers/net/gve/gve_ethdev.c | 59 +++-

[PATCH v8 5/8] net/gve: add support for MTU setting

2022-10-25 Thread Junfeng Guo
Support dev_ops mtu_set. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/gve.ini | 1 + doc/guides/nics/gve.rst | 2 ++ drivers/net/gve/gve_ethdev.c | 28 3 files changed, 31 insertions(+) diff --git a/doc/guides/nic

[PATCH v8 4/8] net/gve: add support for link update

2022-10-25 Thread Junfeng Guo
Support dev_ops link_update. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/gve.ini | 1 + doc/guides/nics/gve.rst | 3 +++ drivers/net/gve/gve_ethdev.c | 30 ++ 3 files changed, 34 insertions(+) diff --git a/doc/gui

[PATCH v8 3/8] net/gve: add support for device initialization

2022-10-25 Thread Junfeng Guo
Support device init and add following devops skeleton: - dev_configure - dev_start - dev_stop - dev_close Note that build system (including doc) is also added in this patch. Signed-off-by: Haiyue Wang Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- MAINTAINERS

[PATCH v8 2/8] net/gve/base: add OS specific implementation

2022-10-25 Thread Junfeng Guo
Add some MACRO definitions and memory operations which are specific for DPDK. Signed-off-by: Haiyue Wang Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/base/gve_adminq.h | 2 + drivers/net/gve/base/gve_desc.h | 2 + drivers/net/gve/base/gve_desc_dqo.h | 2

[PATCH v8 1/8] net/gve/base: introduce base code

2022-10-25 Thread Junfeng Guo
The following base code is based on Google Virtual Ethernet (gve) driver v1.3.0 under MIT license. - gve_adminq.c - gve_adminq.h - gve_desc.h - gve_desc_dqo.h - gve_register.h - gve.h The original code is in: https://github.com/GoogleCloudPlatform/compute-virtual-ethernet-linux/\ tree/v1.3.0/googl

[PATCH v8 0/8] introduce GVE PMD

2022-10-25 Thread Junfeng Guo
Introduce a new PMD for Google Virtual Ethernet (GVE). gve (or gVNIC) is the standard virtual ethernet interface on Google Cloud Platform (GCP), which is one of the multiple virtual interfaces from those leading CSP customers in the world. Having a well maintained/optimized gve PMD on DPDK commun

RE: [PATCH v7 8/8] net/gve: add support for Rx/Tx

2022-10-25 Thread Guo, Junfeng
> -Original Message- > From: Guo, Junfeng > Sent: Monday, October 24, 2022 21:25 > To: Ferruh Yigit ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, > Beilei > Cc: dev@dpdk.org; Li, Xiaoyun ; > awogbem...@google.com; Richardson, Bruce > ; hemant.agra...@nxp.com; > step...@networkplumber.org; Xia,

[PATCH v3 4/4] trace: create new directory for each trace dump

2022-10-25 Thread David Marchand
Rather than always overwrite the content of the trace directory, create new directories for each call to rte_trace_save(). In the unlikely event that multiple rte_trace_save() gets called many times in a single second, try to suffix the name with a digit. Signed-off-by: David Marchand --- lib/e

[PATCH v3 3/4] trace: enable trace operations via telemetry

2022-10-25 Thread David Marchand
Register telemetry commands to list and configure trace points and later save traces for a running DPDK application. Example with testpmd running with two net/null ports (startup command from devtools/test-null.sh): --> /trace/list,lib.ethdev.* {"/trace/list": {"lib.ethdev.configure": false,

[PATCH v3 1/4] telemetry: support boolean type

2022-10-25 Thread David Marchand
Add the boolean type RTE_TEL_BOOL_VAL for values in arrays and dicts. Signed-off-by: David Marchand Acked-by: Morten Brørup Acked-by: Bruce Richardson Acked-by: Ciara Power --- Changes since v1: - fixed doxygen description, --- app/test/test_telemetry_data.c | 88

[PATCH v3 2/4] telemetry: extend valid command characters

2022-10-25 Thread David Marchand
The trace framework wants to reference trace point names as keys in dicts. Those names can contain '.', so add it to the list of valid characters in the telemetry library. Signed-off-by: David Marchand Acked-by: Bruce Richardson --- lib/telemetry/rte_telemetry.h | 10 +- lib/telemetry/

  1   2   >