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

2022-10-24 Thread Sean Zhang
Add support for port_representor item, it will match on traffic originated from representor port specified in the pattern. This item is supported in FDB steering domain only (in the flow with transfer attribute). For example, below flow will redirect the destination of traffic from ethdev 1 to eth

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

2022-10-24 Thread Hao Chen
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 that the virtio net in vm-L2 sends control information to the vring, and the qemu back-end device in vm-L1 cannot obtain correct data from the vring. This problem is r

[PATCH v2] example: vdpa: support run in nested virtualization environment

2022-10-24 Thread Hao Chen
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 that the virtio net in vm-L2 sends control information to the vring, and the qemu back-end device in vm-L1 cannot obtain correct data from the vring. This problem is r

[RFC v5] app/dma-perf: introduce dma-perf application

2022-10-24 Thread Cheng Jiang
There are many high-performance DMA devices supported in DPDK now, and these DMA devices can also be integrated into other modules of DPDK as accelerators, such as Vhost. Before integrating DMA into applications, developers need to know the performance of these DMA devices in various scenarios and

[RFC v4] app/dma-perf: introduce dma-perf application

2022-10-24 Thread Cheng Jiang
There are many high-performance DMA devices supported in DPDK now, and these DMA devices can also be integrated into other modules of DPDK as accelerators, such as Vhost. Before integrating DMA into applications, developers need to know the performance of these DMA devices in various scenarios and

RE: [PATCH v2 00/25] add the extend rte_flow offload support of nfp PMD

2022-10-24 Thread Chaoyong He
> > On 10/22/2022 9:24 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/

Re: [PATCH V2 3/6] ethdev: fix push new event

2022-10-24 Thread lihuisong (C)
在 2022/10/8 12:09, lihuisong (C) 写道: 在 2022/9/27 18:49, Thomas Monjalon 写道: 15/09/2022 14:45, Huisong Li: The 'state' in struct rte_eth_dev may be used to update some information when app receive these events. For example, when app receives a new event, app may get the socket id of this por

Re: [PATCH V2 1/6] bus/pci: fix a segfault when call callback

2022-10-24 Thread lihuisong (C)
Hi Thomas, I missed this e-mail, I'm sorry for late reply. 在 2022/10/11 3:49, Thomas Monjalon 写道: 15/09/2022 14:45, Huisong Li: After the driver probe is executed, the callback in application will be called. The callback in application may call some APIs which access the rte_pci_driver::driver

RE: [PATCH v2 00/25] add the extend rte_flow offload support of nfp PMD

2022-10-24 Thread Chaoyong He
> On 10/22/2022 9:24 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 NVG

RE: [PATCH V2] doc: add ice in-tree driver version for Intel NICs

2022-10-24 Thread Peng, Yuan
Hi Marchand, Tested platform in this document lists all the platforms including CPU, OS and NIC type with SW package version. We submitted the patch to add our actual tested ice in-tree driver version of E810 NIC in this DPDK release. I think it should be added here. doc/guides/nics/ice.rst is

RE: [RFC v3] app/dma-perf: introduce dma-perf application

2022-10-24 Thread Jiang, Cheng1
Sure, I'll take a look and fix them in the next version. Thanks, Cheng > -Original Message- > From: David Marchand > Sent: Friday, October 21, 2022 9:29 PM > To: Jiang, Cheng1 > Cc: tho...@monjalon.net; Richardson, Bruce > ; m...@smartsharesystems.com; > dev@dpdk.org; Hu, Jiayu ; Ding,

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

2022-10-24 Thread Hu, Jiayu
Hi Maxime, Thanks for your comments. Please see replies inline. > -Original Message- > From: Maxime Coquelin > Sent: Monday, October 24, 2022 5:08 PM > To: Wang, YuanX ; Xia, Chenbo > > Cc: dev@dpdk.org; Hu, Jiayu ; Jiang, Cheng1 > ; Ma, WenwuX ; He, > Xingguang > Subject: Re: [PATCH v

[PATCH] app/testpmd: fix testpmd receive jumbo frame packets

2022-10-24 Thread Jie Wang
For NIC I40E_10G-10G_BASE_T_X722, when testpmd is configured with link speed, it cannot receive jumbo frame packets. Because it has changed the link status of the ports if it was configured with link speed. When exiting testpmd that it automatically stops packet forwarding and stops all the ports

RE: [PATCH v2 25/25] net/nfp: support new tunnel solution

2022-10-24 Thread Chaoyong He
> On 10/22/2022 9:24 AM, Chaoyong He wrote: > > The new version of flower firmware application add the support of a > > new tunnel solution. > > > > It changes the structure of tunnel neighbor, and use a feature flag to > > indicate which tunnel solution is used. > > > > Add the logic of read extra

[PATCH v11 1/1] app/testpmd: support multiple mbuf pools per Rx queue

2022-10-24 Thread Hanumanth Pothula
Some of the HW has support for choosing memory pools based on the packet's size. The pool sort capability allows PMD/NIC to choose a memory pool based on the packet's length. On multiple mempool support enabled, populate mempool array accordingly. Also, print pool name on which packet is received.

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

2022-10-24 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

RE: [PATCH v4 3/3] sched: support for 100G+ rates in subport/pipe config

2022-10-24 Thread Dumitrescu, Cristian
Hi Megha, Comments inline below. > -Original Message- > From: Ajmera, Megha > Sent: Thursday, October 20, 2022 10:48 AM > To: dev@dpdk.org; Singh, Jasvinder ; > Dumitrescu, Cristian ; > step...@networkplumber.org > Cc: sta...@dpdk.org > Subject: [PATCH v4 3/3] sched: support for 100G+ ra

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

2022-10-24 Thread Hernan Vargas
Add function to support de-ratematch pre-processing for SW corner cases. Some specific 5GUL FEC corner cases may cause unintended back pressure and in some cases a potential stability issue on the ACC100. To be able to avoid completely such potential issue, the PMD can preempt such code block confi

[PATCH v6 0/1] baseband/acc100: changes for 22.11

2022-10-24 Thread Hernan Vargas
v6: Fix commit message typo. v5: Fix compilation error and squash documentation changes. v4: Rebased code to use the latest ACC common API and implemented review comment changes. v3: Code refactor based on comments and grouping fixes at beginning of series. v2: Rebased code to use ACC common API.

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

2022-10-24 Thread Stephen Hemminger
On Thu, 13 Oct 2022 20:16:02 +0200 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 > --- > drivers/bus/pci/linux/pci.c | 58 +++

[PATCH] devtools: check for supported git version

2022-10-24 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

[PATCH dpdk-kmods] linux/igb_uio: Adjust functions to the current kernel API

2022-10-24 Thread Leonid Bloch
After commit 7968778914e53788a01c2dee2692cab157de9ac0 in the upstream kernel (v5.18+) The functions pci_set_dma_mask() and pci_set_consistent_dma_mask() are deprecated. Replacing them with the new substitute (to avoid a compilation error). Signed-off-by: Leonid Bloch --- linux/igb_uio/igb_uio.c

RE: [PATCH v2] IGC: Remove I225_I_PHY_ID checking

2022-10-24 Thread Mah, Yock Gen
-Original Message- From: Kevin Traynor Sent: Tuesday, 18 October, 2022 8:54 PM To: Mah, Yock Gen ; IOTG DPDK Ref App ; Zhang, Qi Z Cc: dev@dpdk.org Subject: Re: [PATCH v2] IGC: Remove I225_I_PHY_ID checking On 12/10/2022 09:39, Kevin Traynor wrote: > On 12/10/2022 08:45, Mah, Yock Ge

[PATCH] vdpa/ifc: fix update_datapath error handling

2022-10-24 Thread Taekyung Kim
Stop and return the error code if update_datapath fails. update_datapath prepares resources for the vdpa device. The driver should not perform any further actions if update_datapath returns an error. Signed-off-by: Taekyung Kim --- drivers/vdpa/ifc/ifcvf_vdpa.c | 20 1 file

Question about the logical of remap_segment when memory init

2022-10-24 Thread changfengnan
When doing test in spdk, we found a problem: when we try alloc 2048 hugepages for dpdk, sometimes memory init would be fail. This is some useful log: EAL: Detected memory type: socket_id:0 hugepage_sz:2097152 EAL: Detected memory type: socket_id:1 hugepage_sz:2097152 EAL: Creating 4 segment lists:

[PATCH] vdpa/ifc: fix update datapath error handling

2022-10-24 Thread Taekyung Kim
Stop and return the error code if update_datapath fails. update_datapath prepares resources for the vdpa device. The driver should not perform any further actions if update_datapath returns an error. Signed-off-by: Taekyung Kim --- drivers/vdpa/ifc/ifcvf_vdpa.c | 20 1 file

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

2022-10-24 Thread Michael Piszczek
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 --- drivers/bus/pci/linux/pci.c | 58 ++--- 1 file changed, 35 insertions(+), 23 deleti

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

2022-10-24 Thread Michael Piszczek
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 --- drivers/bus/pci/linux/pci.c | 58 ++--- 1 file changed, 35 insertions(+), 23 deleti

Memif PMD maintainer

2022-10-24 Thread Nathan Skrzypczak
Hi DPDK maintainers, I have a question regarding maintainership of the memif PMD - following two patches I pushed [0] & [1]. Jakub Grajciar [2] is listed as the sole maintainer of the PMD, but I think he is now working on other projects, also I'm not sure also whether he still receives emails. Wha

[PATCH v2] net/memif: default to physical socket

2022-10-24 Thread Nathan Skrzypczak
This patch changes the default value of the memif abstract socket flag to false. The implementation of memif with abstract sockets made abstract-socket=yes the default in [0] which might confuse users. This patches makes 'socket-abstract=no' the new default, and adds warnings mentioning the nature

RE: [PATCH] app/testpmd: fix protocol headers display for Rx buffer split

2022-10-24 Thread Tang, Yaqi
> -Original Message- > From: Wang, YuanX > Sent: Tuesday, October 18, 2022 1:41 AM > To: Singh, Aman Deep ; Zhang, Yuying > > Cc: andrew.rybche...@oktetlabs.ru; dev@dpdk.org; Ding, Xuan > ; Tang, Yaqi ; Wang, YuanX > > Subject: [PATCH] app/testpmd: fix protocol headers display for Rx b

RE: [PATCH v2] net/ice: fix the judgment order of buffer split

2022-10-24 Thread Tang, Yaqi
> -Original Message- > From: Wang, YuanX > Sent: Tuesday, October 18, 2022 1:05 AM > To: Yang, Qiming ; Zhang, Qi Z > > Cc: dev@dpdk.org; Ding, Xuan ; Tang, Yaqi > ; Wang, YuanX > Subject: [PATCH v2] net/ice: fix the judgment order of buffer split > > proto_hdr defines a bit mask of t

[PATCH] net/ice: support vxlan gpe tunnel offload

2022-10-24 Thread Mingjin Ye
PMD does not support VXLAN_GPE tunnel offloading, therefore, it will cause the tx queues overflow and stop working when sending such packets. This patch adds support for the vxlan gpe. Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye ---

[PATCH] vdpa/ifc: fix update_datapath error handling

2022-10-24 Thread Taekyung Kim
Stop and return the error code when update_datapath fails. update_datapath prepares resources for the vdpa device. The driver should not perform any further actions if update_datapath returns an error. Signed-off-by: Taekyung Kim --- drivers/vdpa/ifc/ifcvf_vdpa.c | 20 1 fil

[dpdk-dev] net/mlx5: no RX with VLAN filter offload (dpdk 19.11)

2022-10-24 Thread Rohit Kumar
Hello, DPDK: 19.11 Driver: mlx5 OS: CentOS Linux release 7.9.2009 (Kernel: 3.10.0-1160.66.1.el7.x86_64) Iface: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] I am bringing-up our dpdk based L3 forwarding app in VM on Openshift redhat platform. It has both RX and TX HW

[PATCH] net/ice: support vxlan gpe tunnel offload

2022-10-24 Thread Mingjin Ye
PMD does not support VXLAN_GPE tunnel offloading, therefore, it will cause the tx queues overflow and stop working when sending such packets. This patch adds support for the vxlan gpe. Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye ---

[PATCH v5] pci: read amd iommu virtual address width

2022-10-24 Thread Michael Piszczek
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 --- drivers/bus/pci/linux/pci.c | 58 ++--- 1 file changed, 35 insertions(+), 23 deleti

[PATCH v5] pci: read amd iommu virtual address width

2022-10-24 Thread Michael Piszczek
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 --- drivers/bus/pci/linux/pci.c | 58 ++--- 1 file changed, 35 insertions(+), 23 deleti

Re: [v3] net/mlx5: add port representor item support

2022-10-24 Thread Thomas Monjalon
As title, I suggest: net/mlx5: support matching flow on port representor ID 24/10/2022 03:48, Sean Zhang: > Add support for port_representor item, it will match on traffic > originated from representor port specified in the pattern. This item > is supported in FDB steering domain only (in the flo

Re: [PATCH] net/mlx5: add port representor support

2022-10-24 Thread Thomas Monjalon
The title is confusing. Port representor is already supported in mlx5. It seems you are adding support for matching on port representor ID, right? 19/10/2022 16:57, Sean Zhang: > Add support for port_representor item, it will match on traffic > originated from representor port specified in the pa

Re: [PATCH v2 25/25] net/nfp: support new tunnel solution

2022-10-24 Thread Ferruh Yigit
On 10/22/2022 9:24 AM, Chaoyong He wrote: The new version of flower firmware application add the support of a new tunnel solution. It changes the structure of tunnel neighbor, and use a feature flag to indicate which tunnel solution is used. Add the logic of read extra features from firmware, a

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

2022-10-24 Thread Ferruh Yigit
On 10/22/2022 9:24 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 v1

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

2022-10-24 Thread Power, Ciara
Hi Brian, > -Original Message- > From: Brian Dooley > Sent: Monday 24 October 2022 11:37 > To: Dooley, Brian > Cc: dev@dpdk.org; gmuthukri...@marvell.com; gak...@marvell.com > Subject: [PATCH v1] examples/fips_validation: parse block error fix > > When parsing request files check for fi

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

2022-10-24 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/test_cryptodev.c | 7 +++ app/test/test_cryptodev.h | 1 + 2 files changed, 8 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptod

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

2022-10-24 Thread Zhangfei Gao
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_AUTH_SHA384`` * ``RTE_CR

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

2022-10-24 Thread Zhangfei Gao
Cipher algorithms: * ``RTE_CRYPTO_CIPHER_AES_ECB`` * ``RTE_CRYPTO_CIPHER_AES_CBC`` * ``RTE_CRYPTO_CIPHER_AES_XTS`` * ``RTE_CRYPTO_CIPHER_DES_CBC`` Signed-off-by: Zhangfei Gao --- doc/guides/cryptodevs/features/uadk.ini | 10 + doc/guides/cryptodevs/uadk.rst | 6 + drivers/crypto/uad

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

2022-10-24 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 resend v5 2/6] crypto/uadk: support basic operations

2022-10-24 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 | 213 -- 1 file changed, 204 insertions(+), 9 deletions(-) diff --git a/drivers

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

2022-10-24 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 resend v5 0/6] crypto/uadk: introduce uadk crypto driver

2022-10-24 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

RE: [PATCH] net/mlx5: fix wrong free function in HWS AGE info

2022-10-24 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Monday, October 24, 2022 4:28 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; Michael > Baum > Subject: [PATCH] net/mlx5: fix wrong free function in HWS AGE info > > In AGE info initialization, the ml

[PATCH] net/mlx5: fix wrong free function in HWS AGE info

2022-10-24 Thread Michael Baum
In AGE info initialization, the mlx5_hws_q_age_info structure is allocated by "mlx5_malloc" function. However, in case of failure, this structure is released by "rte_free". This patch changes it to use "mlx5_free". Fixes: 32c98171674f ("net/mlx5: add HWS AGE action support") Cc: michae...@nvidia

RE: [PATCH v9 09/14] net/idpf: add support for Rx/Tx offloading

2022-10-24 Thread Xing, Beilei
> > + > > +/* Translate the rx descriptor status and error fields to pkt flags > > +*/ static inline uint64_t idpf_rxd_to_pkt_flags(uint16_t > > +status_error) { > > + uint64_t flags = 0; > > + > > + if (unlikely(!(status_error & > BIT(VIRTCHNL2_RX_FLEX_DESC_STATUS0_L3L4P_S > > +

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

2022-10-24 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Monday, October 24, 2022 18:51 > To: Guo, Junfeng ; 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...

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

2022-10-24 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Monday, October 24, 2022 18:50 > 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: [PATCH v7 8/8] net/gve: add support for Rx/Tx

2022-10-24 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Monday, October 24, 2022 18:50 > 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: [PATCH v7 6/8] net/gve: add support for dev info get and dev configure

2022-10-24 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Monday, October 24, 2022 18:49 > 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: [PATCH v7 5/8] net/gve: add support for MTU setting

2022-10-24 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Monday, October 24, 2022 18:48 > 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: [PATCH v7 1/8] net/gve/base: introduce base code

2022-10-24 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Monday, October 24, 2022 18:48 > 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: [PATCH v7 3/8] net/gve: add support for device initialization

2022-10-24 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Monday, October 24, 2022 18:47 > 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,

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

2022-10-24 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

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

2022-10-24 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.h | 5 + drivers/net/idpf/idpf_rxtx.c| 145 drivers/net/idpf/idpf_rxtx

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

2022-10-24 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 | 134 +- drivers/n

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

2022-10-24 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 | 2 + drivers/net/idpf/idpf_ethdev.c|

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

2022-10-24 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, 237 insertions(+),

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

2022-10-24 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 v11 12/18] net/idpf: add support for basic Tx datapath

2022-10-24 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 | 353

[PATCH v11 11/18] net/idpf: add support for basic Rx datapath

2022-10-24 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 | 286 + drivers/net/idpf/idpf_rxtx.h |

[PATCH v11 10/18] net/idpf: add support for MTU configuration

2022-10-24 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| 15 +++ 2 files changed, 16 insertions(+) diff --git a/doc/guides/nics/features/idpf.ini b/doc/guides/nics/features/idpf.ini

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

2022-10-24 Thread Junfeng Guo
Add dev ops dev_supported_ptypes_get. Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 7 + drivers/net/idpf/idpf_ethdev.h| 6 + drivers/net/idpf/idpf_rxtx.c | 19 +++ drivers/net/idpf/idpf_rxtx.

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

2022-10-24 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 v11 06/18] net/idpf: add support for queue start

2022-10-24 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 | 18 +- drivers/net/idpf/idpf_ethdev.h | 7 + drivers/net/idpf/idpf_rxtx.c | 214 driv

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

2022-10-24 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 | 140 ++

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

2022-10-24 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 | 89 ++ drivers/net/idpf/idpf_ethdev.h | 5 ++ 2 files changed, 94 insertions(+) diff --git a/d

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

2022-10-24 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 | 16 +- drivers/net/idpf/idpf_rxtx.c | 427 + drivers/net/idpf/idpf_rxtx.h | 46 3 files changed, 4

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

2022-10-24 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 v11 02/18] net/idpf: add support for device initialization

2022-10-24 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: Junfeng Guo --- MAINTAINERS| 9 + doc/guides/nics/features/idpf.ini

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

2022-10-24 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

Re: release candidate 22.11-rc1

2022-10-24 Thread David Marchand
Hello, On Tue, Oct 11, 2022 at 3:50 AM Thomas Monjalon wrote: > > A new DPDK release candidate is ready for testing: > https://git.dpdk.org/dpdk/tag/?id=v22.11-rc1 > > There are 737 new patches in this snapshot, > including many API/ABI compatibility breakages. > This release won't be ABI

[PATCH v10 14/14] net/idpf: add support for timestamp offload

2022-10-24 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

[PATCH v10 13/14] net/idpf: add AVX512 data path for single queue model

2022-10-24 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.h | 5 + drivers/net/idpf/idpf_rxtx.c| 145 drivers/net/idpf/idpf_rxtx

[PATCH v10 12/14] net/idpf: add support for Tx offloading

2022-10-24 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 | 134 +- drivers/n

[PATCH v10 11/14] net/idpf: add support for Rx offloading

2022-10-24 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 | 2 + drivers/net/idpf/idpf_ethdev.c|

[PATCH v10 10/14] net/idpf: add support for RSS

2022-10-24 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, 237 insertions(+),

[PATCH v10 09/14] net/idpf: add support for write back based on ITR expire

2022-10-24 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 v10 08/14] net/idpf: add support for basic Tx datapath

2022-10-24 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 | 353

[PATCH v10 07/14] net/idpf: add support for basic Rx datapath

2022-10-24 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 | 286 + drivers/net/idpf/idpf_rxtx.h |

[PATCH v10 06/14] net/idpf: add support for MTU configuration

2022-10-24 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| 15 +++ 2 files changed, 16 insertions(+) diff --git a/doc/guides/nics/features/idpf.ini b/doc/guides/nics/features/idpf.ini

[PATCH v10 05/14] net/idpf: add support for packet type get

2022-10-24 Thread Junfeng Guo
Add dev ops dev_supported_ptypes_get. Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 7 + drivers/net/idpf/idpf_ethdev.h| 6 + drivers/net/idpf/idpf_rxtx.c | 19 +++ drivers/net/idpf/idpf_rxtx.

[PATCH v10 04/14] net/idpf: add queue release

2022-10-24 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 v10 03/14] net/idpf: add support for queue stop

2022-10-24 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 | 140 ++

[PATCH v10 02/14] net/idpf: add support for queue start

2022-10-24 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 | 18 +- drivers/net/idpf/idpf_ethdev.h | 7 + drivers/net/idpf/idpf_rxtx.c | 214 driv

[PATCH v10 01/14] net/idpf: add support for device start and stop

2022-10-24 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 | 89 ++ drivers/net/idpf/idpf_ethdev.h | 5 ++ 2 files changed, 94 insertions(+) diff --git a/d

[PATCH v10 00/14] add support for idpf PMD in DPDK

2022-10-24 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

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

2022-10-24 Thread Zhangfei Gao
On Thu, 20 Oct 2022 at 22:46, 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 Address) feature, which share > > the same

[PATCH 2/2] net/mlx5: fix miss null check in ETH devargs parsing

2022-10-24 Thread Michael Baum
The "mlx5_os_parse_eth_devargs()" function parses the ETH devargs into a specific structure called "eth_da". It gets structure called "devargs" as a member of EAL device containing the relevant information. When "devargs" structure is invalid, the function avoids parsing it. However, when it valid

[PATCH 1/2] common/mlx5: fix miss null check in devargs parsing

2022-10-24 Thread Michael Baum
The common MLX5 probe function parses first the devargs and save them in a dictionary. It gets structure called "devargs" as a member of EAL device containing all needed information. When "devargs" structure is invalid, the function avoids parsing it. However, when it valid but its field "args" is

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

2022-10-24 Thread Michael Baum
The MLX5 PMD parses the devargs in several places. It gets structure called "devargs" as a member of EAL device containing all needed information. When "devargs" structure is invalid, the PMD avoids parsing it. However, when it valid but its field "args" is invalid, the PMD tries to parse it and d

Re: [PATCH v7] net/nfp: fix the promiscuous mode functions

2022-10-24 Thread Ferruh Yigit
On 10/22/2022 9:11 AM, Chaoyong He wrote: The original functions of promiscuous mode can't process the representor port rightly, revise the logic to do that. Fixes: e1124c4f8a45 ("net/nfp: add flower representor framework") Signed-off-by: Chaoyong He Applied to dpdk-next-net/main, thanks.

[Bug 1105] [dpdk-22.11] unit_tests_loopback: pmd_perf_autotest failed

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

  1   2   >