回复: 回复: 回复: [PATCH v2 1/3] ethdev: add API for direct rearm mode

2022-10-26 Thread Feifei Wang
> -邮件原件- > 发件人: Konstantin Ananyev > 发送时间: Thursday, October 13, 2022 5:49 PM > 收件人: Feifei Wang ; tho...@monjalon.net; > Ferruh Yigit ; Andrew Rybchenko > ; Ray Kinsella > 抄送: dev@dpdk.org; nd ; Honnappa Nagarahalli > ; Ruifeng Wang > > 主题: Re: 回复: 回复: [PATCH v2 1/3] ethdev: add API f

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

2022-10-26 Thread Ferruh Yigit
On 10/26/2022 7:24 AM, David Marchand wrote: 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 clea

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

2022-10-26 Thread De Lara Guarch, Pablo
Hi Kai, A few comments below Thanks, Pablo > -Original Message- > From: Ji, Kai > Sent: Tuesday, October 25, 2022 10:48 PM > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; De Lara Guarch, Pablo > ; Burakov, Anatoly > > Subject: [dpdk-dev v3] crypto/ipsec_mb: multi-process IPC req

RE: [PATCH v11 02/18] net/idpf: add support for device initialization

2022-10-26 Thread Xing, Beilei
> -Original Message- > From: Andrew Rybchenko > Sent: Tuesday, October 25, 2022 4:57 PM > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Cc: dev@dpdk.org; Li, Xiaoyun ; Wang, Xiao W > > Subject: Re: [PATCH v11 02/18] net/idpf: add support for device initialization >

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

2022-10-26 Thread Chaoyong He
> On 10/26/2022 7:24 AM, David Marchand wrote: > > 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 n

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

2022-10-26 Thread Xing, Beilei
> -Original Message- > From: Andrew Rybchenko > Sent: Tuesday, October 25, 2022 5:40 PM > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Cc: dev@dpdk.org; Li, Xiaoyun > Subject: Re: [PATCH v11 03/18] net/idpf: add Tx queue setup > > On 10/24/22 16:12, Junfeng Guo w

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

2022-10-26 Thread Xing, Beilei
> -Original Message- > From: Andrew Rybchenko > Sent: Tuesday, October 25, 2022 5:50 PM > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Cc: dev@dpdk.org; Li, Xiaoyun > Subject: Re: [PATCH v11 05/18] net/idpf: add support for device start and > stop > > On 10/24/22

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

2022-10-26 Thread David Marchand
On Tue, Oct 25, 2022 at 11:46 PM Thomas Monjalon wrote: > diff --git a/lib/net/rte_higig.h b/lib/net/rte_higig.h > index b55fb1a7db..bba3898a88 100644 > --- a/lib/net/rte_higig.h > +++ b/lib/net/rte_higig.h > @@ -112,9 +112,9 @@ struct rte_higig2_ppt_type0 { > */ > __extension__ > struct rte_h

[PATCH] net/gve: fix meson build failure on non-Linux platforms

2022-10-26 Thread Junfeng Guo
Meson build may fail on FreeBSD with gcc and clang, due to missing the header file linux/pci_regs.h on non-Linux platform. Thus, in this patch, we removed the file include and added the used Macros derived from linux/pci_regs.h. Fixes: 3047a5ac8e66 ("net/gve: add support for device initialization"

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

2022-10-26 Thread David Marchand
On Tue, Oct 25, 2022 at 11:45 PM Thomas Monjalon wrote: > diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h > index 6045a352ae..fd9be56e31 100644 > --- a/lib/ethdev/rte_flow.h > +++ b/lib/ethdev/rte_flow.h > @@ -1069,19 +1069,29 @@ static const struct rte_flow_item_mpls > rte_flow_item_m

Re: [PATCH] net/gve: fix meson build failure on non-Linux platforms

2022-10-26 Thread David Marchand
On Wed, Oct 26, 2022 at 10:44 AM Junfeng Guo wrote: > > Meson build may fail on FreeBSD with gcc and clang, due to missing > the header file linux/pci_regs.h on non-Linux platform. Thus, in > this patch, we removed the file include and added the used Macros > derived from linux/pci_regs.h. > > Fix

RE: [PATCH v9 00/12] vdpa/ifc: add multi queue support

2022-10-26 Thread Xia, Chenbo
> -Original Message- > From: Pei, Andy > Sent: Wednesday, October 19, 2022 4:41 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; Xu, Rosen ; > Huang, Wei ; Cao, Gang ; > maxime.coque...@redhat.com > Subject: [PATCH v9 00/12] vdpa/ifc: add multi queue support > > v9: > fix some commit message. >

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

2022-10-26 Thread Xia, Chenbo
> -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 1/2] vhost: introd

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

2022-10-26 Thread Xia, Chenbo
> -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 v6 08/27] eal: deprecate RTE_FUNC_PTR_* macros

2022-10-26 Thread Morten Brørup
> From: David Marchand [mailto:david.march...@redhat.com] > Sent: Wednesday, 14 September 2022 09.58 > > Those macros have no real value and are easily replaced with a simple > if() block. > > Existing users have been converted using a new cocci script. > Deprecate them. > > Signed-off-by: David

RE: [PATCH v8 0/2] vhost: introduce DMA vchannel unconfiguration

2022-10-26 Thread Xia, Chenbo
> -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 0/2] vhost: introd

[Bug 1114] build failures with clang 15

2022-10-26 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1114 Bug ID: 1114 Summary: build failures with clang 15 Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priorit

RE: [PATCH v2] net/virtio: add queue and port ID in some logs

2022-10-26 Thread Xia, Chenbo
> -Original Message- > From: Olivier Matz > Sent: Monday, October 17, 2022 4:01 PM > To: dev@dpdk.org > Cc: Maxime Coquelin ; Xia, Chenbo > > Subject: [PATCH v2] net/virtio: add queue and port ID in some logs > > Add the queue id and/or the port id in some logs, so it is easier to > unde

Re: [PATCH] net/gve: fix meson build failure on non-Linux platforms

2022-10-26 Thread Ferruh Yigit
On 10/26/2022 9:51 AM, David Marchand wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. On Wed, Oct 26, 2022 at 10:44 AM Junfeng Guo wrote: Meson build may fail

Re: [PATCH v6 08/27] eal: deprecate RTE_FUNC_PTR_* macros

2022-10-26 Thread David Marchand
On Wed, Oct 26, 2022 at 11:05 AM Morten Brørup wrote: > > > From: David Marchand [mailto:david.march...@redhat.com] > > Sent: Wednesday, 14 September 2022 09.58 > > > > Those macros have no real value and are easily replaced with a simple > > if() block. > > > > Existing users have been converted

[PATCH v4 1/2] app/testpmd: fix vlan offload of rxq

2022-10-26 Thread Mingjin Ye
After setting vlan offload in testpmd, the result is not updated to rxq. Therefore, the queue needs to be reconfigured after executing the "vlan offload" related commands. Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- app/test-pm

[PATCH v4 2/2] net/ice: fix vlan offload

2022-10-26 Thread Mingjin Ye
The vlan tag and flag in Rx descriptor are not processed on vector path, then the upper application can't fetch the tci from mbuf. This commit add handling of vlan RX offloading. Fixes: c68a52b8b38c ("net/ice: support vector SSE in Rx") Fixes: ece1f8a8f1c8 ("net/ice: switch to flexible descriptor

RE: [PATCH v4] vhost: add new `rte_vhost_vring_call_nonblock` API

2022-10-26 Thread Xia, Chenbo
> -Original Message- > From: Liu, Changpeng > Sent: Monday, October 17, 2022 3:48 PM > To: dev@dpdk.org > Cc: Liu, Changpeng ; Maxime Coquelin > ; Xia, Chenbo ; David > Marchand > Subject: [PATCH v4] vhost: add new `rte_vhost_vring_call_nonblock` API > > Vhost-user library locks all VQ's

RE: [PATCH v9 00/12] vdpa/ifc: add multi queue support

2022-10-26 Thread Pei, Andy
> -Original Message- > From: Xia, Chenbo > Sent: Wednesday, October 26, 2022 5:00 PM > To: Pei, Andy ; dev@dpdk.org > Cc: Xu, Rosen ; Huang, Wei ; > Cao, Gang ; maxime.coque...@redhat.com > Subject: RE: [PATCH v9 00/12] vdpa/ifc: add multi queue support > > > -Original Message-

RE: [PATCH v2 0/2] vhost: fix some async vhost index calculation issues

2022-10-26 Thread Xia, Chenbo
> -Original Message- > From: Jiang, Cheng1 > Sent: Tuesday, October 11, 2022 11:08 AM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Ding, Xuan > ; Ma, WenwuX ; Wang, YuanX > ; Yang, YvonneX ; He, > Xingguang ; Jiang, Cheng1 > Subject: [PATCH v2 0/2] vhost:

RE: [PATCH] vhost: promote per-queue stats API to stable

2022-10-26 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Monday, October 10, 2022 11:38 PM > To: dev@dpdk.org; Xia, Chenbo ; > david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH] vhost: promote per-queue stats API to stable > > This patch promotes the per-queue stats API to st

Re: [PATCH] net/gve: fix meson build failure on non-Linux platforms

2022-10-26 Thread David Marchand
On Wed, Oct 26, 2022 at 11:10 AM Ferruh Yigit wrote: > >> diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c > >> index b0f7b98daa..e968317737 100644 > >> --- a/drivers/net/gve/gve_ethdev.c > >> +++ b/drivers/net/gve/gve_ethdev.c > >> @@ -1,12 +1,24 @@ > >> /* SPDX-License-

RE: [PATCH] net/virtio: remove declaration of undefined function

2022-10-26 Thread Xia, Chenbo
> -Original Message- > From: Olivier Matz > Sent: Thursday, September 29, 2022 8:22 PM > To: dev@dpdk.org > Cc: Maxime Coquelin ; Xia, Chenbo > > Subject: [PATCH] net/virtio: remove declaration of undefined function > > This function is not defined, remove its declaration. > > Fixes: c1

Re: [PATCH v4 1/2] app/testpmd: fix vlan offload of rxq

2022-10-26 Thread lihuisong (C)
在 2022/10/27 1:10, Mingjin Ye 写道: After setting vlan offload in testpmd, the result is not updated to rxq. Therefore, the queue needs to be reconfigured after executing the "vlan offload" related commands. Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support") Cc: sta...@dpdk.org Signe

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

2022-10-26 Thread Zhangfei Gao
Hi, Akhil Thanks for your guidance. On Tue, 25 Oct 2022 at 23:02, Akhil Goyal wrote: > > > > 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 Add

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

2022-10-26 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Suanming Mou > Sent: Wednesday, October 26, 2022 5:09 AM > To: Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH] net/mlx5: fix assert failure in item translation > > When HW Steering is enabled, mlx5dr translates fl

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

2022-10-26 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Suanming Mou > Sent: Wednesday, October 26, 2022 5:10 AM > To: Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org; Raslan Darawsheh ; Alex Vesker > > Subject: [PATCH] net/mlx5/hws: set ft_type on root matcher creation > > The ft_type should be provided

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

2022-10-26 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Suanming Mou > Sent: Wednesday, October 26, 2022 9:33 AM > To: Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH] net/mlx5: remove unneeded SQ null checking > > The ASO SQ is a dynamic array in the ASO pool struct. T

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

2022-10-26 Thread Zhangfei Gao
On Tue, 25 Oct 2022 at 22:57, Akhil Goyal wrote: > > > 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: > > sud

Re: [PATCH] net/gve: fix meson build failure on non-Linux platforms

2022-10-26 Thread Ferruh Yigit
On 10/26/2022 10:33 AM, David Marchand wrote: On Wed, Oct 26, 2022 at 11:10 AM Ferruh Yigit wrote: diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c index b0f7b98daa..e968317737 100644 --- a/drivers/net/gve/gve_ethdev.c +++ b/drivers/net/gve/gve_ethdev.c @@ -1,12 +1,24 @@

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

2022-10-26 Thread Kai Ji
As the queue pair used in secondary process need to be setuped by the primary process, this patch add an IPC register function to help secondary process to send out queue-pair setup reguest to primary process via IPC messages. A new "qp_in_used_pid" param stores the PID to provide the ownership of

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

2022-10-26 Thread Zhangfei Gao
On 2022/10/25 下午10:38, Akhil Goyal wrote: 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

RE: [PATCH] net/gve: fix meson build failure on non-Linux platforms

2022-10-26 Thread Gao, DaxueX
> From: Junfeng Guo > Sent: 2022年10月26日 16:43 > To: Zhang, Qi Z ; Wu, Jingjing ; > ferruh.yi...@xilinx.com; Xing, Beilei > Cc: dev@dpdk.org; Li, Xiaoyun ; > awogbem...@google.com; Richardson, Bruce ; > hemant.agra...@nxp.com; step...@networkplumber.org; Xia, Chenbo > ; Zhang, Helin ; Guo, Junfeng

[PATCH v12 00/18] add support for idpf PMD in DPDK

2022-10-26 Thread Junfeng Guo
This patchset introduced the idpf (Infrastructure Data Path Function) PMD in DPDK for Intel® IPU E2000 (Device ID: 0x1452). The Intel® IPU E2000 targets to deliver high performance under real workloads with security and isolation. Please refer to https://www.intel.com/content/www/us/en/products/net

[PATCH v12 02/18] net/idpf: add support for device initialization

2022-10-26 Thread Junfeng Guo
Support device init and add the following dev ops: - dev_configure - dev_close - dev_infos_get Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Xiao Wang Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo --- MAINTAINERS| 9 + doc/guides/n

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

2022-10-26 Thread Junfeng Guo
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 buffers from SW to HW while Rx queues are

[PATCH v12 04/18] net/idpf: add Rx queue setup

2022-10-26 Thread Junfeng Guo
Add support for rx_queue_setup ops. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 11 + drivers/net/idpf/idpf_rxtx.c | 400 + drivers/net/idpf/idpf_rxtx.h | 46 3 files changed, 45

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

2022-10-26 Thread Junfeng Guo
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 | 51 ++ 1 file changed, 51 insertions(+) diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/n

[PATCH v12 06/18] net/idpf: add support for queue start

2022-10-26 Thread Junfeng Guo
Add support for these device ops: - rx_queue_start - tx_queue_start Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 40 +++ drivers/net/idpf/idpf_ethdev.h | 9 + drivers/net/idpf/idpf_rxtx.c | 218 dri

[PATCH v12 07/18] net/idpf: add support for queue stop

2022-10-26 Thread Junfeng Guo
Add support for these device ops: - rx_queue_stop - tx_queue_stop Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 14 ++- drivers/net/idpf/idpf_rxtx.c | 148 ++

[PATCH v12 08/18] net/idpf: add queue release

2022-10-26 Thread Junfeng Guo
Add support for queue operations: - rx_queue_release - tx_queue_release Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 2 + drivers/net/idpf/idpf_rxtx.c | 81 ++ drivers/net/idpf/idpf_rxt

[PATCH v12 09/18] net/idpf: add support for MTU configuration

2022-10-26 Thread Junfeng Guo
Add dev ops mtu_set. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 14 ++ 2 files changed, 15 insertions(+) diff --git a/doc/guides/nics/features/idpf.ini b/doc/guides/nics/features/idpf.ini

[PATCH v12 10/18] net/idpf: add support for basic Rx datapath

2022-10-26 Thread Junfeng Guo
Add basic Rx support in split queue mode and single queue mode. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 2 + drivers/net/idpf/idpf_rxtx.c | 273 + drivers/net/idpf/idpf_rxtx.h |

[PATCH v12 11/18] net/idpf: add support for basic Tx datapath

2022-10-26 Thread Junfeng Guo
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 --- drivers/net/idpf/idpf_ethdev.c | 3 + drivers/net/idpf/idpf_ethdev.h | 1 + drivers/net/idpf/idpf_rxtx.c | 357 +

[PATCH v12 12/18] net/idpf: support packet type get

2022-10-26 Thread Junfeng Guo
Get packet type during receiving packets. Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 6 + drivers/net/idpf/idpf_ethdev.h | 6 + drivers/net/idpf/idpf_rxtx.c | 11 ++ drivers/net/idpf/idpf_rxtx.h | 5 + drivers/net/idpf/idpf_vchnl.c | 240

[PATCH v12 13/18] net/idpf: add support for write back based on ITR expire

2022-10-26 Thread Junfeng Guo
Enable write back on ITR expire, then packets can be received one by one. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 116 + drivers/net/idpf/idpf_ethdev.h | 13 drivers/net/idpf/idpf_vchnl.c | 111 +++

[PATCH v12 14/18] net/idpf: add support for RSS

2022-10-26 Thread Junfeng Guo
Add RSS support. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 116 + drivers/net/idpf/idpf_ethdev.h | 26 drivers/net/idpf/idpf_vchnl.c | 97 +++ 3 files changed, 239 insertions(+)

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

2022-10-26 Thread Junfeng Guo
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 | 5 ++ drivers/net/idpf/idpf_ethdev.c

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

2022-10-26 Thread Junfeng Guo
Add Tx offloading support: - support TSO Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 4 +- drivers/net/idpf/idpf_rxtx.c | 125 +- drivers/n

[PATCH v12 17/18] net/idpf: add AVX512 data path for single queue model

2022-10-26 Thread Junfeng Guo
Add support of AVX512 vector data path for single queue model. Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo --- doc/guides/nics/idpf.rst| 19 + drivers/net/idpf/idpf_ethdev.c | 3 +- drivers/net/idpf/idpf_ethdev.h | 5 + drivers/net/idpf/idpf_rxtx.c

[PATCH v12 18/18] net/idpf: add support for timestamp offload

2022-10-26 Thread Junfeng Guo
Add support for timestamp offload. Signed-off-by: Wenjing Qiao Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 5 +- drivers/net/idpf/idpf_ethdev.h| 3 ++ drivers/net/idpf/idpf_rxtx.c | 65 ++ drivers/ne

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

2022-10-26 Thread Akhil Goyal
> > Hi, Akhil > > Thanks for your guidance. > > On Tue, 25 Oct 2022 at 23:02, Akhil Goyal wrote: > > > > > > > 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 IOMM

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

2022-10-26 Thread Kai Ji
As the queue pair used in secondary process need to be setuped by the primary process, this patch add an IPC register function to help secondary process to send out queue-pair setup reguest to primary process via IPC messages. A new "qp_in_used_pid" param stores the PID to provide the ownership of

RE: [PATCH] net/gve: fix meson build failure on non-Linux platforms

2022-10-26 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Wednesday, October 26, 2022 18:01 > To: David Marchand ; Guo, Junfeng > > Cc: Zhang, Qi Z ; Wu, Jingjing > ; Xing, Beilei ; > dev@dpdk.org; Li, Xiaoyun ; > awogbem...@google.com; Richardson, Bruce > ; hemant.agra...@nxp.com; > step...@ne

[PATCH v2] net/gve: fix meson build failure on non-Linux platforms

2022-10-26 Thread Junfeng Guo
Meson build may fail on FreeBSD with gcc and clang, due to missing the header file linux/pci_regs.h on non-Linux platform. Thus, in this patch, we removed the file include and added the used Macros derived from linux/pci_regs.h. Fixes: 3047a5ac8e66 ("net/gve: add support for device initialization"

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

2022-10-26 Thread Kai Ji
As the queue pair used in secondary process need to be setuped by the primary process, this patch add an IPC register function to help secondary process to send out queue-pair setup reguest to primary process via IPC messages. A new "qp_in_used_pid" param stores the PID to provide the ownership of

RE: [PATCH v6 08/27] eal: deprecate RTE_FUNC_PTR_* macros

2022-10-26 Thread Morten Brørup
> From: David Marchand [mailto:david.march...@redhat.com] > Sent: Wednesday, 26 October 2022 11.21 > > On Wed, Oct 26, 2022 at 11:05 AM Morten Brørup > wrote: > > > > > From: David Marchand [mailto:david.march...@redhat.com] > > > Sent: Wednesday, 14 September 2022 09.58 > > > > > > Those macros

[PATCH v6 0/6] crypto/uadk: introduce uadk crypto driver

2022-10-26 Thread Zhangfei Gao
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 application can directly

[PATCH v6 2/6] crypto/uadk: support basic operations

2022-10-26 Thread Zhangfei Gao
Support the basic dev control operations: configure, close, start, stop and get info, as well as queue pairs operations. Signed-off-by: Zhangfei Gao --- drivers/crypto/uadk/uadk_crypto_pmd.c | 194 +- drivers/crypto/uadk/uadk_crypto_pmd_private.h | 19 ++ 2 files changed

[PATCH v6 1/6] crypto/uadk: introduce uadk crypto driver

2022-10-26 Thread Zhangfei Gao
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 application can directly

[PATCH v6 3/6] crypto/uadk: support enqueue/dequeue operations

2022-10-26 Thread Zhangfei Gao
This commit adds the enqueue and dequeue operations. Signed-off-by: Zhangfei Gao --- drivers/crypto/uadk/uadk_crypto_pmd.c | 53 ++- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c b/drivers/crypto/uadk/uadk_crypto_pmd

[PATCH v6 4/6] crypto/uadk: support cipher algorithms

2022-10-26 Thread Zhangfei Gao
Add support for cipher algorithms, including AES_ECB, AES_CBC, AES_XTS, and DES_CBC mode. Signed-off-by: Zhangfei Gao --- doc/guides/cryptodevs/features/uadk.ini | 10 + doc/guides/cryptodevs/uadk.rst| 6 + drivers/crypto/uadk/uadk_crypto_pmd.c | 303

[PATCH v6 5/6] crypto/uadk: support auth algorithms

2022-10-26 Thread Zhangfei Gao
Add support for MD5, SHA1, SHA224, SHA256, SHA384, SHA512 Authentication algorithms with and without HMAC. Signed-off-by: Zhangfei Gao --- doc/guides/cryptodevs/features/uadk.ini | 12 + doc/guides/cryptodevs/uadk.rst| 15 + drivers/crypto/uadk/uadk_crypto_pmd.c |

[PATCH v6 6/6] test/crypto: support uadk PMD

2022-10-26 Thread Zhangfei Gao
Example: sudo dpdk-test --vdev=crypto_uadk --log-level=6 RTE>>cryptodev_uadk_autotest RTE>>quit Signed-off-by: Zhangfei Gao --- app/test/meson.build | 1 + app/test/test_cryptodev.c | 7 +++ app/test/test_cryptodev.h | 1 + doc/guides/cryptodevs/uadk.rst | 3 +++ 4 files

[PATCH] app/testpmd: fix MAC header in csum forward engine

2022-10-26 Thread Gregory Etelson
MLX5 SR-IOV TX engine will not transmit Ethernet frame if destination MAC address matched local port address. The frame ether looped-back to RX or dropped, depending on the port configuration. Application running over MLX5 SR-IOV port cannot transmit packet polled from RX queue as-is. The packet E

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

2022-10-26 Thread Kusztal, ArkadiuszX
> -Original Message- > From: Kai Ji > Sent: Wednesday, October 26, 2022 12:28 PM > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; De Lara Guarch, Pablo > ; Burakov, Anatoly > > Subject: [dpdk-dev v4] crypto/ipsec_mb: multi-process IPC request handler > > As the queue pair used i

Re: [PATCH v2] net/gve: fix meson build failure on non-Linux platforms

2022-10-26 Thread Ferruh Yigit
On 10/26/2022 11:23 AM, Junfeng Guo wrote: Meson build may fail on FreeBSD with gcc and clang, due to missing the header file linux/pci_regs.h on non-Linux platform. Thus, in this patch, we removed the file include and added the used Macros derived from linux/pci_regs.h. Fixes: 3047a5ac8e66 ("ne

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

2022-10-26 Thread De Lara Guarch, Pablo
Hi Kai, A couple of minor bits left. > -Original Message- > From: Ji, Kai > Sent: Wednesday, October 26, 2022 11:28 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; De Lara Guarch, Pablo > ; Burakov, Anatoly > > Subject: [dpdk-dev v4] crypto/ipsec_mb: multi-process IPC request

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

2022-10-26 Thread Kai Ji
As the queue pair used in secondary process needs to be set up by the primary process, this patch adds an IPC register function to help secondary process to send out queue-pair setup reguest to primary process via IPC request messages. A new "qp_in_used_pid" param stores the PID to provide the owne

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

2022-10-26 Thread De Lara Guarch, Pablo
Hi Kai, > -Original Message- > From: Ji, Kai > Sent: Wednesday, October 26, 2022 1:49 PM > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; De Lara Guarch, Pablo > ; Burakov, Anatoly > > Subject: [dpdk-dev v4] crypto/ipsec_mb: multi-process IPC request handler > > As the queue pair

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

2022-10-26 Thread Kai Ji
As the queue pair used in secondary process needs to be set up by the primary process, this patch adds an IPC register function to help secondary process to send out queue-pair setup request to primary process via IPC request messages. A new "qp_in_used_pid" param stores the PID to provide the owne

[Bug 993] [build][21.11] build failure using meson 0.62.0

2022-10-26 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=993 Kevin Traynor (ktray...@redhat.com) changed: What|Removed |Added Resolution|--- |FIXED Status|UNC

Re: [PATCH v6 0/4] mempool: fix mempool cache flushing algorithm

2022-10-26 Thread Thomas Monjalon
10/10/2022 17:21, Thomas Monjalon: > > Andrew Rybchenko (3): > > mempool: check driver enqueue result in one place > > mempool: avoid usage of term ring on put > > mempool: flush cache completely on overflow > > > > Morten Brørup (1): > > mempool: fix cache flushing algorithm > > Applied

RE: [PATCH v6 0/4] mempool: fix mempool cache flushing algorithm

2022-10-26 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Wednesday, 26 October 2022 16.09 > > 10/10/2022 17:21, Thomas Monjalon: > > > Andrew Rybchenko (3): > > > mempool: check driver enqueue result in one place > > > mempool: avoid usage of term ring on put > > > mempool: flush cache c

[Bug 1115] i40e: RSS hash conf update fails when hash proto mask in rx_adv_conf is 0

2022-10-26 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1115 Bug ID: 1115 Summary: i40e: RSS hash conf update fails when hash proto mask in rx_adv_conf is 0 Product: DPDK Version: unspecified Hardware: All OS: All

[PATCH] mempool: cache align mempool cache objects

2022-10-26 Thread Morten Brørup
Add __rte_cache_aligned to the objs array. It makes no difference in the general case, but if get/put operations are always 32 objects, it will reduce the number of memory (or last level cache) accesses from five to four 64 B cache lines for every get/put operation. For readability reasons, an ex

Re: [PATCH v2] test/member: fix incorrect expression

2022-10-26 Thread Thomas Monjalon
25/10/2022 11:00, Leyi Rong: > Fix incorrect expression by cast division operand to type double > to match ceil() and fabs() definitions. > > Coverity issue: 381398, 381401, 381402 > Fixes: db354bd2e1f8 ("member: add NitroSketch mode") > > Signed-off-by: Leyi Rong Applied, thanks.

Re: [PATCH v2] gro : check for payload length after the trim

2022-10-26 Thread Thomas Monjalon
> > From: Kumara Parameshwaran > > > > When packet is padded with extra bytes the the validation of the payload > > length should be done after the trim operation > > > > Fixes: b8a55871d5af ("gro: trim tail padding bytes") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Kumara Parameshwaran >

Re: [PATCH v2] doc: fix support table for ETH and VLAN flow items

2022-10-26 Thread Thomas Monjalon
13/10/2022 12:48, Ilya Maximets: > 'has_vlan' attribute is only supported by sfc, mlx5 and cnxk. > Other drivers doesn't support it. Most of them (like i40e) just > ignore it silently. Some drivers (like mlx4) never had a full > support of the eth item even before introduction of 'has_vlan' > (ml

Re: [PATCH v3] config/arm: add PHYTIUM tys2500

2022-10-26 Thread Thomas Monjalon
11/10/2022 13:14, luzhipeng: > From: Zhipeng Lu > > Here adds configs for PHYTIUM server. > > Signed-off-by: Zhipeng Lu Applied, thanks.

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

2022-10-26 Thread Akhil Goyal
> + { /* SHA384 HMAC */ > + .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC, > + {.sym = { > + .xform_type = RTE_CRYPTO_SYM_XFORM_AUTH, > + {.auth = { > + .algo = RTE_CRYPTO_AUTH_SHA384_HMAC, > +

RE: [PATCH] doc: add Rx buffer split capability for mlx5

2022-10-26 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Thomas Monjalon > Sent: Sunday, October 9, 2022 11:20 PM > To: dev@dpdk.org > Cc: ferruh.yi...@amd.com; andrew.rybche...@oktetlabs.ru; > sta...@dpdk.org; Matan Azrad ; Slava Ovsiienko > > Subject: [PATCH] doc: add Rx buffer split capability for mlx5 > >

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

2022-10-26 Thread Thomas Monjalon
25/10/2022 18:00, 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 error

RE: [PATCH] config: set pkgconfig for ppc64le

2022-10-26 Thread Ali Alnubani
> -Original Message- > From: Ali Alnubani > Sent: Tuesday, August 30, 2022 9:36 PM > To: David Christensen > Cc: dev@dpdk.org; Thinh Tran ; NBU-Contact- > Thomas Monjalon (EXTERNAL) > Subject: RE: [PATCH] config: set pkgconfig for ppc64le > > > On 8/29/22 3:30 AM, Thomas Monjalon wrote:

Re: [PATCH v3 1/3] ethdev: add strict queue to pre-configuration flow hints

2022-10-26 Thread Andrew Rybchenko
On 10/19/22 17:49, Michael Baum wrote: The data-path focused flow rule management can manage flow rules in more optimized way than traditional one by using hints provided by application in initialization phase. In addition to the current hints we have in port attr, more hints could be provided b

Re: [PATCH v3 2/3] ethdev: add queue-based API to report aged flow rules

2022-10-26 Thread Andrew Rybchenko
On 10/19/22 17:49, Michael Baum wrote: When application use queue-based flow rule management and operate the same flow rule on the same queue, e.g create/destroy/query, API of querying aged flow rules should also have queue id parameter just like other queue-based flow APIs. By this way, PMD can

Re: [PATCH v3 3/3] ethdev: add structure for indirect AGE update

2022-10-26 Thread Andrew Rybchenko
On 10/19/22 17:49, Michael Baum wrote: Add a new structure for indirect AGE update. This new structure enables: 1. Update timeout value. 2. Stop AGE checking. 3. Start AGE checking. 4. restart AGE checking. Signed-off-by: Michael Baum Acked-by: Ori Kam Few minor notes below, other than that

Re: [PATCH] mempool: cache align mempool cache objects

2022-10-26 Thread Andrew Rybchenko
On 10/26/22 17:44, Morten Brørup wrote: Add __rte_cache_aligned to the objs array. It makes no difference in the general case, but if get/put operations are always 32 objects, it will reduce the number of memory (or last level cache) accesses from five to four 64 B cache lines for every get/put

[PATCH 01/14] doc/guides/bbdevs: add ark baseband device documentation

2022-10-26 Thread John Miller
Add new ark baseband device documentation. This is the first patch in the series that introduces the Arkville baseband PMD. First we create a common/ark directory and move common files from net/ark to share with the new baseband/ark device. Next we create baseband/ark and introduce the Arkville

[PATCH 03/14] common/ark: move common files to common subdirectory

2022-10-26 Thread John Miller
Add common ark files to drivers/common directory in preparation to support Arkville baseband device. Signed-off-by: John Miller --- drivers/common/ark/ark_common.c | 9 drivers/common/ark/ark_common.h | 47 drivers/common/ark/meson.build | 19 +++ drivers/common/ark/v

[PATCH 02/14] common/ark: create common subdirectory for baseband support

2022-10-26 Thread John Miller
Create a common directory in drivers/common and move common ark files to prepare support for Arkville baseband device. Signed-off-by: John Miller --- MAINTAINERS | 1 + drivers/{net => common}/ark/ark_ddm.c | 2 +- drivers/{net => common}/ark/ark_ddm.h |

[PATCH 05/14] net/ark: remove build files moved to common

2022-10-26 Thread John Miller
Remove build files moved to common. Signed-off-by: John Miller --- drivers/net/ark/meson.build | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/net/ark/meson.build b/drivers/net/ark/meson.build index 8d87744c22..c48044b8ee 100644 --- a/drivers/net/ark/meso

[PATCH 04/14] common/meson.build:

2022-10-26 Thread John Miller
Add common ark to build system. Signed-off-by: John Miller --- drivers/common/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/common/meson.build b/drivers/common/meson.build index ea261dd70a..5514f4ba83 100644 --- a/drivers/common/meson.build +++ b/drivers/common/meson.bu

[PATCH 07/14] common/ark: avoid exporting internal functions

2022-10-26 Thread John Miller
Add __rte_internal to all internal functions Signed-off-by: John Miller --- drivers/common/ark/ark_ddm.h | 8 drivers/common/ark/ark_mpu.h | 8 +++- drivers/common/ark/ark_rqp.h | 3 +++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/common/ark/ark_ddm.h b/d

[PATCH 06/14] common/ark: update version map file

2022-10-26 Thread John Miller
Update the version map file with new common functions. Signed-off-by: John Miller --- drivers/common/ark/version.map | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/common/ark/version.map b/drivers/common/ark/version.map index 74d9f4b668..64d78cff24 1006

  1   2   >