Re: [PATCH] net/mana: disable driver by default

2022-10-26 Thread Thomas Monjalon
27/10/2022 00:57, Ferruh Yigit: > On 10/26/2022 10:53 PM, Thomas Monjalon wrote: > > 13/10/2022 18:30, Long Li: > >>> Subject: [PATCH] net/mana: disable driver by default > >>> > >>> Driver is disabled by default because its dependencies are not upstreamed > >>> yet, code is available for developme

[PATCH v13 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

[PATCH v13 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 v13 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 | 128 +- drivers/n

[PATCH v13 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 v13 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 v13 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 v13 12/18] net/idpf: support parsing packet type

2022-10-26 Thread Junfeng Guo
Parse 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 | 2

[PATCH v13 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 v13 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 v13 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 v13 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 v13 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 v13 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 | 237 +++-- dr

[PATCH v13 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 | 55 ++ drivers/net/idpf/idpf_rxtx.c | 20 + 2 files changed, 75 insertions(+) dif

[PATCH v13 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 v13 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 v13 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 v13 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

[RFC 0/1] lib: add pdcp protocol

2022-10-26 Thread Anoob Joseph
Add Packet Data Convergence Protocol (PDCP) processing library. The library is similar to lib_ipsec which provides IPsec processing capabilities in DPDK. PDCP would involve roughly the following options, 1. Transfer of user plane data 2. Transfer of control plane data 3. Header compression 4. Upl

[RFC 1/1] lib: add pdcp protocol

2022-10-26 Thread Anoob Joseph
Add Packet Data Convergence Protocol (PDCP) processing library. The library is similar to lib_ipsec which provides IPsec processing capabilities in DPDK. PDCP would involve roughly the following options, 1. Transfer of user plane data 2. Transfer of control plane data 3. Header compression 4. Upl

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

2022-10-26 Thread lihuisong (C)
在 2022/10/26 19:07, 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 pac

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

2022-10-26 Thread Zhangfei Gao
On 2022/10/26 下午11:43, Akhil Goyal wrote: + { /* SHA384 HMAC */ + .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC, + {.sym = { + .xform_type = RTE_CRYPTO_SYM_XFORM_AUTH, + {.auth = { + .algo =

[PATCH v7 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 v7 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 v7 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 v7 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 v7 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 v7 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 v7 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

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

2022-10-26 Thread Gao, DaxueX
> From: Junfeng Guo > Sent: 2022年10月26日 18:23 > 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

RE: [PATCH 11/14] baseband/ark: introduce ark baseband driver custom functions

2022-10-26 Thread Chautru, Nicolas
Hi John, > -Original Message- > From: John Miller > Sent: Wednesday, October 26, 2022 12:46 PM > To: Chautru, Nicolas > Cc: dev@dpdk.org; ed.cz...@atomicrules.com; Shepard Siegel > ; John Miller > > Subject: [PATCH 11/14] baseband/ark: introduce ark baseband driver custom > functions >

RE: [PATCH 10/14] baseband/ark: introduce ark baseband driver

2022-10-26 Thread Chautru, Nicolas
Hi John, General comment. I was a bit lost in the split in the commits 10 to 14. First I would have expected it to build from the first commit. I don't believe it makes sense to add 13 and 14 after the fact. Between 10 and 11 there were a bit of confusion as well to me. Like ark_bbdev_info_get

Re: [PATCH] net/mana: disable driver by default

2022-10-26 Thread Ferruh Yigit
On 10/26/2022 10:53 PM, Thomas Monjalon wrote: 13/10/2022 18:30, Long Li: Subject: [PATCH] net/mana: disable driver by default Driver is disabled by default because its dependencies are not upstreamed yet, code is available for development and investigation. When all dependencies are upstreame

Re: [PATCH] net/mana: disable driver by default

2022-10-26 Thread Thomas Monjalon
13/10/2022 18:30, Long Li: > > Subject: [PATCH] net/mana: disable driver by default > > > > Driver is disabled by default because its dependencies are not upstreamed > > yet, code is available for development and investigation. > > > > When all dependencies are upstreamed, driver can be enabled b

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

2022-10-26 Thread Michael Baum
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 Acked-by: Andrew Rybchenko --- app/test-pmd/cmdline_flow.c| 66

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

2022-10-26 Thread Michael Baum
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 work in more optimized way since resourc

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

2022-10-26 Thread Michael Baum
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 by application about its behaviour. One e

[PATCH v4 0/3] ethdev: AGE action preparation

2022-10-26 Thread Michael Baum
RFC's: https://patchwork.dpdk.org/project/dpdk/patch/7a45693f478b1b721b4e05131141b526185a175c.1654063912.git.jack...@nvidia.com/ https://patchwork.dpdk.org/project/dpdk/patch/608febf8d5d3c434a1eddb2e56f425ebbd6ff0b4.1654063912.git.jack...@nvidia.com/ v2: - rebase. - Add reference to "rte_flow_upda

Re: [PATCH v2] power: fix pstate number parsing

2022-10-26 Thread Thomas Monjalon
12/10/2022 14:36, Markus Theil: > From: Markus Theil > > When converting atoi to strtol in a revision > of introducing sysfs support for turbo percentage, > a necessary check against '\n' returned by sysfs > was not introduced. > > Fixes: de254dac608e ("power: read P-state turbo percentage from

Re: [PATCH] power: fix pstate number parsing

2022-10-26 Thread Thomas Monjalon
12/10/2022 14:25, Pattan, Reshma: > > > -Original Message- > > From: Markus Theil > > > > +#include > > This is not needed right. > > > #include > > #include > > #include > > @@ -96,7 +97,7 @@ power_read_turbo_pct(uint64_t *outVal) > > > > errno = 0; > > *outVal = (uin

Re: [PATCH] power: fix resource leak by open file pointers

2022-10-26 Thread Thomas Monjalon
> > Close file pointers to Intel uncore sysfiles. > > > > Coverity issue: 381400 381397 > > Fixes: 60b8a661a957 ("power: add Intel uncore frequency control") > > CC: david.h...@intel.com > > > > Signed-off-by: Tadhg Kearney > Reviewed-by: Reshma Pattan > Acked-by: Reshma Pattan Applied, thank

Re: [PATCH] raw/cnxk_bphy: extend pffunc address access

2022-10-26 Thread Thomas Monjalon
> > Allows retrieval of SSO and NPA pffunc addresses without device ownership > > and initialization. > > > > Signed-off-by: Jakub Palider > > Looks good. > Acked-by: Tomasz Duszynski Applied, thanks.

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

2022-10-26 Thread Michael Baum
On 10/26/22 22:18, Andrew Rybchenko wrote: > > 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

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

2022-10-26 Thread Michael Baum
On 10/26/22 22:16, Andrew Rybchenko wrote: > > 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 j

[PATCH 14/14] baseband/meson.build:

2022-10-26 Thread John Miller
Add ark baseband device to build system. Signed-off-by: John Miller --- drivers/baseband/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/baseband/meson.build b/drivers/baseband/meson.build index 686e98b2ed..084ff46155 100644 --- a/drivers/baseband/meson.build +++ b/driver

[PATCH 13/14] baseband/ark: introduce ark baseband build files

2022-10-26 Thread John Miller
This patch introduces the Arkville baseband device driver build files. Signed-off-by: John Miller --- drivers/baseband/ark/meson.build | 11 +++ drivers/baseband/ark/version.map | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 drivers/baseband/ark/meson.build create mode

[PATCH 12/14] baseband/ark: introduce ark baseband driver common functions

2022-10-26 Thread John Miller
This patch introduces the Arkville baseband device driver common functions. Signed-off-by: John Miller --- drivers/baseband/ark/ark_bbdev_common.c | 109 drivers/baseband/ark/ark_bbdev_common.h | 100 ++ 2 files changed, 209 insertions(+) create mode

[PATCH 11/14] baseband/ark: introduce ark baseband driver custom functions

2022-10-26 Thread John Miller
This patch introduces the Arkville baseband device driver custom functions. Signed-off-by: John Miller --- drivers/baseband/ark/ark_bbdev_custom.c | 201 drivers/baseband/ark/ark_bbdev_custom.h | 30 2 files changed, 231 insertions(+) create mode 100644 drivers/ba

[PATCH 10/14] baseband/ark: introduce ark baseband driver

2022-10-26 Thread John Miller
This patch introduces the Arkville baseband device driver. Signed-off-by: John Miller --- drivers/baseband/ark/ark_bbdev.c | 1127 ++ drivers/baseband/ark/ark_bbext.h | 163 + 2 files changed, 1290 insertions(+) create mode 100644 drivers/baseband/ark/ark_bbdev.

[PATCH 08/14] net/ark: add ark PMD log interface

2022-10-26 Thread John Miller
Added ark PMD log interface for use in arkville devices. Signed-off-by: John Miller --- drivers/net/ark/ark_ethdev.c | 86 --- drivers/net/ark/ark_ethdev_logs.c | 8 +++ drivers/net/ark/ark_ethdev_logs.h | 25 + drivers/net/ark/ark_ethdev_rx.c | 36 +++

[PATCH 09/14] common/ark: add VF support to caps record

2022-10-26 Thread John Miller
Some HW variants support sr-iov, add this to the device capabilities record. Signed-off-by: John Miller --- drivers/common/ark/ark_common.h | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/common/ark/ark_common.h b/drivers/common/ark/ark_common.h index ba4c70f80

[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

[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 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 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 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 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

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

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 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 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] 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 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] 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: [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 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: [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 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] 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.

[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

[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

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

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

[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

[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

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 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, 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

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

[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

[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 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 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 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 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 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 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

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

[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

[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"

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

[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 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

[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

[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 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 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

  1   2   >