[dpdk-dev] [PATCH v7 5/5] lib/distributor: use wait event scheme

2021-10-27 Thread Feifei Wang
Instead of polling for bufptr64 to be updated, use wait event for this case. Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang --- lib/distributor/rte_distributor_single.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/distributor/rte_distributor_single.c

[dpdk-dev] [PATCH v7 4/5] lib/bpf: use wait event scheme for Rx/Tx iteration

2021-10-27 Thread Feifei Wang
Instead of polling for cbi->use to be updated, use wait event scheme. Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang --- lib/bpf/bpf_pkt.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/bpf/bpf_pkt.c b/lib/bpf/bpf_pkt.c index 6e8248f0d6..c8a1cd1eb8 100644

[dpdk-dev] [PATCH v7 3/5] eal: use wait event scheme for mcslock

2021-10-27 Thread Feifei Wang
Instead of polling for mcslock to be updated, use wait event scheme for this case. Furthermore, use 'uintptr_t *' is for different size of pointer in 32/64 bits architecture. And define a new pointer 'next' for the compilation error: ---

[dpdk-dev] [PATCH v7 2/5] eal: use wait event for read pflock

2021-10-27 Thread Feifei Wang
Instead of polling for read pflock update, use wait event scheme for this case. Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang --- lib/eal/include/generic/rte_pflock.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/eal/include/generic/rte_pflock.h b/lib/eal/in

[dpdk-dev] [PATCH v7 1/5] eal: add new definitions for wait scheme

2021-10-27 Thread Feifei Wang
Introduce macros as generic interface for address monitoring. For different size, encapsulate '__LOAD_EXC_16', '__LOAD_EXC_32' and '__LOAD_EXC_64' into a new macro '__LOAD_EXC'. Furthermore, to prevent compilation warning in arm: -- 'warning: implicit de

[dpdk-dev] [PATCH v7 0/5] add new definitions for wait scheme

2021-10-27 Thread Feifei Wang
Add new definitions for wait scheme, and apply this new definitions into lib to replace rte_pause. v2: 1. use macro to create new wait scheme (Stephen) v3: 1. delete unnecessary bug fix in bpf (Konstantin) v4: 1. put size into the macro body (Konstantin) 2. replace assert with BUILD_BUG_ON (Step

[dpdk-dev] [PATCH v2 3/3] test/event: add unit test for Rx adapter

2021-10-27 Thread Naga Harish K S V
add unit test for rte_event_eth_rx_adapter_queue_stats_get() and rte_event_eth_rx_adapter_queue_stats_reset() apis. Signed-off-by: Naga Harish K S V --- app/test/test_event_eth_rx_adapter.c | 60 1 file changed, 60 insertions(+) diff --git a/app/test/test_event_eth_

[dpdk-dev] [PATCH v2 2/3] eventdev/eth_rx: support telemetry

2021-10-27 Thread Naga Harish K S V
Added telemetry support for rxa_queue_stats and rxa_queue_stats_reset to get and reset rx queue stats respectively Signed-off-by: Naga Harish K S V --- lib/eventdev/rte_event_eth_rx_adapter.c | 124 1 file changed, 124 insertions(+) diff --git a/lib/eventdev/rte_event_e

[dpdk-dev] [PATCH v2 1/3] eventdev/eth_rx: add queue stats get and reset APIs

2021-10-27 Thread Naga Harish K S V
This patch adds new api ``rte_event_eth_rx_adapter_queue_stats_get`` to retrieve queue stats. The queue stats are in the format ``struct rte_event_eth_rx_adapter_queue_stats``. For resetting the queue stats, ``rte_event_eth_rx_adapter_queue_stats_reset`` api is added. The adapter stats_get and st

[dpdk-dev] [PATCH v2] net/enic: support GTP header flow matching

2021-10-27 Thread John Daley
The GTP, GTP-U, GTP-C header fields can be matched, however NIC does not support GTP tunneling so no items after the GTP header can be specified. If a GTP-U or GTP-C item is specified without a preceding UDP item, the UDP destination port is implicitly matched. For GTP, the destination UDP port mus

[dpdk-dev] 回复: [PATCH v6 0/4] add new definitions for wait scheme

2021-10-27 Thread Feifei Wang
> -邮件原件- > 发件人: Jerin Jacob > 发送时间: Wednesday, October 27, 2021 6:58 PM > 收件人: Feifei Wang ; Ananyev, Konstantin > ; Stephen Hemminger > ; David Marchand > ; tho...@monjalon.net > 抄送: dpdk-dev ; nd > 主题: Re: [dpdk-dev] [PATCH v6 0/4] add new definitions for wait scheme > > On Wed, Oct

[dpdk-dev] 回复: [PATCH v6 3/4] eal: use wait event scheme for mcslock

2021-10-27 Thread Feifei Wang
> -邮件原件- > 发件人: Mattias Rönnblom > 发送时间: Wednesday, October 27, 2021 7:16 PM > 收件人: Feifei Wang ; Honnappa Nagarahalli > > 抄送: dev@dpdk.org; nd ; Ruifeng Wang > > 主题: Re: [dpdk-dev] [PATCH v6 3/4] eal: use wait event scheme for mcslock > > On 2021-10-27 10:10, Feifei Wang wrote: > > I

[dpdk-dev] 回复: [PATCH v5 4/5] lib/bpf: use wait event scheme for Rx/Tx iteration

2021-10-27 Thread Feifei Wang
> -邮件原件- > 发件人: Ananyev, Konstantin > 发送时间: Wednesday, October 27, 2021 10:48 PM > 收件人: Feifei Wang > 抄送: dev@dpdk.org; nd ; Ruifeng Wang > ; nd ; nd > 主题: RE: [PATCH v5 4/5] lib/bpf: use wait event scheme for Rx/Tx iteration > > > > > > > > -邮件原件- > > > 发件人: dev 代表 Ananyev

Re: [dpdk-dev] [PATCH v7 5/9] lib: remove direct access to interrupt handle

2021-10-27 Thread Jiang, YuX
> -Original Message- > From: dev On Behalf Of David Marchand > Sent: Monday, October 25, 2021 9:35 PM > To: hka...@marvell.com; dev@dpdk.org > Cc: dmitry.kozl...@gmail.com; rasl...@nvidia.com; tho...@monjalon.net; > Chautru, Nicolas ; Yigit, Ferruh > ; Andrew Rybchenko > > Subject: [dpdk-

Re: [dpdk-dev] [PATCH v1 1/1] vfio: fix partial unmap check

2021-10-27 Thread Ding, Xuan
Hi David, >-Original Message- >From: David Marchand >Sent: Wednesday, October 27, 2021 10:49 PM >To: Burakov, Anatoly ; Ding, Xuan > >Cc: dev ; Maxime Coquelin >Subject: Re: [dpdk-dev] [PATCH v1 1/1] vfio: fix partial unmap check > >On Tue, Oct 26, 2021 at 3:30 PM Anatoly Burakov > wrote

[dpdk-dev] [Bug 845] vf testpmd core dumped after executing "device_del dev1" in qemu

2021-10-27 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=845 Bug ID: 845 Summary: vf testpmd core dumped after executing "device_del dev1" in qemu Product: DPDK Version: 21.11 Hardware: x86 OS: Linux Status: UNCONF

[dpdk-dev] [PATCH] pipeline: fix dead code

2021-10-27 Thread Yogesh Jangra
Fix minor dead code issue reported by Coverity. Coverity issue: 373653 Fixes: e9d870 ("pipeline: add SWX pipeline tables") Signed-off-by: Yogesh Jangra Acked-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_pipeline.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pi

[dpdk-dev] [PATCH 2/3] eventdev/eth_rx: support telemetry

2021-10-27 Thread Naga Harish K S V
Added telemetry support for rxa_queue_stats and rxa_queue_stats_reset to get and reset rx queue stats respectively Signed-off-by: Naga Harish K S V --- lib/eventdev/rte_event_eth_rx_adapter.c | 124 1 file changed, 124 insertions(+) diff --git a/lib/eventdev/rte_event_e

[dpdk-dev] [PATCH 3/3] test/event: add unit test for Rx adapter

2021-10-27 Thread Naga Harish K S V
add unit test for rte_event_eth_rx_adapter_queue_stats_get() and rte_event_eth_rx_adapter_queue_stats_reset() apis. Signed-off-by: Naga Harish K S V --- app/test/test_event_eth_rx_adapter.c | 60 1 file changed, 60 insertions(+) diff --git a/app/test/test_event_eth_

[dpdk-dev] [PATCH 1/3] eventdev/eth_rx: add queue stats get and reset APIs

2021-10-27 Thread Naga Harish K S V
This patch adds new api ``rte_event_eth_rx_adapter_queue_stats_get`` to retrieve queue stats. The queue stats are in the format ``struct rte_event_eth_rx_adapter_queue_stats``. For resetting the queue stats, ``rte_event_eth_rx_adapter_queue_stats_reset`` api is added. The adapter stats_get and st

Re: [dpdk-dev] [PATCH 0/6] Introduce DPAA DMA driver

2021-10-27 Thread Gagandeep Singh
> -Original Message- > From: Thomas Monjalon > Sent: Wednesday, October 27, 2021 8:28 PM > To: Gagandeep Singh > Cc: dev@dpdk.org; Nipun Gupta > Subject: Re: [dpdk-dev] [PATCH 0/6] Introduce DPAA DMA driver > > 09/09/2021 13:14, Gagandeep Singh: > > This series support DMA driver for

Re: [dpdk-dev] [PATCH] net/bnxt: fix to set flow error in case of failure

2021-10-27 Thread Ajit Khaparde
On Wed, Oct 27, 2021 at 7:09 PM Kalesh A P wrote: > > From: Kalesh AP > > With commit 239695f754cb ("net/bnxt: enhance RSS action support"), > when bnxt_hwrm_vnic_rss_cfg() call fails, driver was not setting > flow error using "rte_flow_error_set". > > Fixes: 239695f754cb ("net/bnxt: enhance RSS

[dpdk-dev] [PATCH] net/octeontx_ep: Remove otx2 common dependency

2021-10-27 Thread Pradeep Nalla
octeontx_ep driver's dependency on octeontx2 common code is removed as going forward ep driver will include files from its own path. Signed-off-by: Pradeep Nalla --- drivers/net/octeontx_ep/meson.build | 2 - drivers/net/octeontx_ep/otx2_ep_vf.c| 13 +-- drivers/net/octeontx_ep/otx2_e

[dpdk-dev] [PATCH] net/bnxt: fix to set flow error in case of failure

2021-10-27 Thread Kalesh A P
From: Kalesh AP With commit 239695f754cb ("net/bnxt: enhance RSS action support"), when bnxt_hwrm_vnic_rss_cfg() call fails, driver was not setting flow error using "rte_flow_error_set". Fixes: 239695f754cb ("net/bnxt: enhance RSS action support") Signed-off-by: Kalesh AP Reviewed-by: Ajit Kha

Re: [dpdk-dev] Question about bonding port promiscuous

2021-10-27 Thread Min Hu (Connor)
在 2021/10/27 21:47, David Marchand 写道: On Wed, Oct 27, 2021 at 5:21 AM Min Hu (Connor) wrote: Hi, David, In function "bond_ethdev_promiscuous_disable", for "ROUND ROBIN","BALANCE","BROADCAST","8023AD" mode, Promiscuous mode is propagated to all slaves. While for "ACTIVE_BACKUP", "TLB", "AL

Re: [dpdk-dev] [PATCH] net/iavf: fix shared local data in multi-process

2021-10-27 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of dapengx...@intel.com > Sent: Wednesday, October 27, 2021 4:29 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/iavf: fix shared local data in multi-process > > From: D

[dpdk-dev] [PATCH 2/3] doc: update feature matrix for bnxt PMD

2021-10-27 Thread Ajit Khaparde
Support for runtime Rx/Tx queue setup and inner RSS is not updated. Update feature matrix for bnxt PMD. Fixes: 7ed45b1a7c0f ("net/bnxt: support RSS hash selection") Fixes: 0105ea1296c9 ("net/bnxt: support runtime queue setup") Cc: sta...@dpdk.org Signed-off-by: Ajit Khaparde --- doc/guides/nics

[dpdk-dev] [PATCH 3/3] doc: updates to the text in bnxt doc

2021-10-27 Thread Ajit Khaparde
host-based-truflow devarg is not used anymore to enable host based flow table management functionality TruFlow. Instead this feature is now driven by a capability indicated by the firmware. TruFlow is not in tech preview anymore. Update the doc accordingly. Signed-off-by: Ajit Khaparde --- doc/

[dpdk-dev] [PATCH 0/3] doc updates to bnxt PMD

2021-10-27 Thread Ajit Khaparde
Doc updates to update feature matrix and test in bnxt documentation. Please apply. Ajit Khaparde (3): net/bnxt: remove a stale compile option doc: update feature matrix for bnxt PMD doc: updates to the text in bnxt doc doc/guides/nics/bnxt.rst | 8 +++- doc/guides/nics/feature

[dpdk-dev] [PATCH 1/3] net/bnxt: remove a stale compile option

2021-10-27 Thread Ajit Khaparde
remove a stale compile option from meson build file. RTE_LIBRTE_BNXT_TF sneaked in incorrectly. Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/bnxt/meson.build b/drivers/net/bnxt/meson.build index 81cbe0381f..09d494e90

Re: [dpdk-dev] [PATCH v5 1/5] net/virtio: add initial RSS support

2021-10-27 Thread Maxime Coquelin
Hi Yuri, On 10/27/21 16:45, Yuri Benditovich wrote: On Wed, Oct 27, 2021 at 1:55 PM Maxime Coquelin mailto:maxime.coque...@redhat.com>> wrote: Hi, On 10/19/21 11:37, Andrew Rybchenko wrote: > Hi Maxime, > > On 10/19/21 12:22 PM, Maxime Coquelin wrote: >> Hi Andr

Re: [dpdk-dev] [PATCH 00/10] vdpa/sfc: introduce Xilinx vDPA driver

2021-10-27 Thread Maxime Coquelin
Hi Andrew, On 10/27/21 17:04, Andrew Rybchenko wrote: Hi Maxime, On 10/27/21 4:18 PM, Maxime Coquelin wrote: Hi Vijay, -rc2 deadline is approaching, do you think v2 will be ready on time so that we can have your driver in v21.11? Vijay is working on a it. We have v2, but it does not work af

[dpdk-dev] [PATCH] pdump: initialize snaplen if enabled by device id

2021-10-27 Thread Stephen Hemminger
If packet dump was enabled via pdump_enable_by_deviceid the packet snapshot length was not being set. Bugzilla ID: 840 Fixes: 10f726efe26c ("pdump: support pcapng and filtering") Signed-off-by: Stephen Hemminger --- lib/pdump/rte_pdump.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/li

[dpdk-dev] [Bug 843] [dpdk-21.11 rc1] performance tests with QAT are failing

2021-10-27 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=843 Bug ID: 843 Summary: [dpdk-21.11 rc1] performance tests with QAT are failing Product: DPDK Version: 21.11 Hardware: All OS: Linux Status: UNCONFIRMED

[dpdk-dev] [Bug 842] [dpdk-21.11 rc1] FIPS tests are failing

2021-10-27 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=842 Bug ID: 842 Summary: [dpdk-21.11 rc1] FIPS tests are failing Product: DPDK Version: 21.11 Hardware: All OS: Linux Status: UNCONFIRMED Severity: minor Pri

Re: [dpdk-dev] [EXT] [PATCH v3 5/5] crypto/mlx5: support on Windows

2021-10-27 Thread Tal Shnaiderman
> Subject: RE: [EXT] [PATCH v3 5/5] crypto/mlx5: support on Windows > > External email: Use caution opening links or attachments > > > > Add support for mlx5 crypto pmd on Windows OS. > > Add changes to release note and pmd guide. > > > > Signed-off-by: Tal Shnaiderman > > Acked-by: Matan Azrad

Re: [dpdk-dev] [PATCH v2] ethdev: warn once for buggy applications

2021-10-27 Thread Ferruh Yigit
On 10/27/2021 1:46 PM, Thomas Monjalon wrote: Warning continuously is a pain when developping or if a unit test is/gets broken. It could also be a problem if application behaves badly only in some corner cases and a DoS results of those logs being continuously displayed. Let's warn once per por

Re: [dpdk-dev] [PATCH] buildtools: fix build with meson 0.60

2021-10-27 Thread Dmitry Kozlyuk
2021-10-27 17:16 (UTC+0100), Bruce Richardson: > On Tue, Oct 26, 2021 at 10:32:39PM +0300, Dmitry Kozlyuk wrote: > > Meson 0.60 switched the format of uninstalled static libraries > > to thin archives, that is, they contain only paths to object files, > > not the files themselves. Files cannot be e

[dpdk-dev] [PATCH v7 0/4] optimized Toeplitz hash implementation

2021-10-27 Thread Vladimir Medvedkin
This patch series adds a new optimized implementation for the Toeplitz hash function using Galois Fields New instruction (GFNI). The main use case of this function is to calculate the hash value for a single data, so there is no bulk implementation. For performance reasons, the implementation was p

[dpdk-dev] [PATCH v7 4/4] test/thash: add performance tests for the Toeplitz hash

2021-10-27 Thread Vladimir Medvedkin
This patch adds performance tests for the following Toeplitz hash function implementations: Scalar: - rte_softrss() - rte_softrss_be() Vector using gfni: - rte_thash_gfni() - rte_thash_gfni_bulk() Signed-off-by: Vladimir Medvedkin --- app/test/meson.build | 2 + app/t

[dpdk-dev] [PATCH v7 3/4] hash: enable gfni thash implementation

2021-10-27 Thread Vladimir Medvedkin
This patch enables new GFNI Toeplitz hash in predictable RSS library. Signed-off-by: Vladimir Medvedkin Acked-by: Konstantin Ananyev --- lib/hash/rte_thash.c | 42 ++ lib/hash/rte_thash.h | 19 +++ lib/hash/version.map | 1 + 3 files chan

[dpdk-dev] [PATCH v7 2/4] hash: add bulk toeplitz hash implementation

2021-10-27 Thread Vladimir Medvedkin
This patch adds a bulk version for the Toeplitz hash implemented with Galios Fields New Instructions (GFNI). Signed-off-by: Vladimir Medvedkin Acked-by: Konstantin Ananyev --- app/test/test_thash.c | 67 - doc/guides/prog_guide/toeplitz_hash_lib

[dpdk-dev] [PATCH v7 1/4] hash: add new toeplitz hash implementation

2021-10-27 Thread Vladimir Medvedkin
This patch add a new Toeplitz hash implementation using Galios Fields New Instructions (GFNI). Signed-off-by: Vladimir Medvedkin Acked-by: Konstantin Ananyev --- app/test/test_thash.c | 172 ++ doc/api/doxy-api-index.md | 1 + do

Re: [dpdk-dev] [PATCH] buildtools: fix build with meson 0.60

2021-10-27 Thread Bruce Richardson
On Tue, Oct 26, 2021 at 10:32:39PM +0300, Dmitry Kozlyuk wrote: > Meson 0.60 switched the format of uninstalled static libraries > to thin archives, that is, they contain only paths to object files, > not the files themselves. Files cannot be extracted in this case, > resulting in build errors: >

Re: [dpdk-dev] [PATCH v3] net/mlx5: optimize the device spawn time with representors

2021-10-27 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Jiawei(Jonny) Wang > Sent: Wednesday, October 27, 2021 1:35 PM > To: Slava Ovsiienko ; Matan Azrad > ; Ori Kam ; NBU-Contact-Thomas > Monjalon > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH v3] net/mlx5: optimize the device spawn time with > repr

[dpdk-dev] DPDK Release Status Meeting 2021-10-21

2021-10-27 Thread Mcnamara, John
Release status meeting minutes 2021-10-21 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * ARM * Broadcom * Intel * Marvell * Nvidia * Red Hat Release Dates - * v21.11 dates * Proposal/V1:Friday, 1

Re: [dpdk-dev] [PATCH v2 1/2] net/af_packet: fix driver init with default MTU

2021-10-27 Thread Ferruh Yigit
On 10/27/2021 4:12 PM, Andrew Rybchenko wrote: On 10/27/21 12:14 PM, Ferruh Yigit wrote: Driver is using 'ETH_FRAME_LEN' Linux defined value as max frame length, which doesn't include FCS (4 bytes CRC). But ethdev by default uses frame size with FCS when application doesn't define any explicit v

[dpdk-dev] [dpdk-dev v7 9/9] crypto/qat: add gen specific implementation

2021-10-27 Thread Kai Ji
From: Fan Zhang This patch replaces the mixed QAT symmetric and asymmetric support implementation by separate files with shared or individual implementation for specific QAT generation. Signed-off-by: Arek Kusztal Signed-off-by: Fan Zhang Signed-off-by: Kai Ji Acked-by: Ciara Power --- driv

[dpdk-dev] [dpdk-dev v7 8/9] crypto/qat: add gen specific data and function

2021-10-27 Thread Kai Ji
From: Fan Zhang This patch adds the symmetric and asymmetric crypto data structure and function prototypes for different QAT generations. Signed-off-by: Arek Kusztal Signed-off-by: Fan Zhang Signed-off-by: Kai Ji --- drivers/crypto/qat/README |7 - drivers/crypto/qat/mes

[dpdk-dev] [dpdk-dev v7 7/9] crypto/qat: unified device private data structure

2021-10-27 Thread Kai Ji
From: Fan Zhang This patch unifies the QAT symmetric and asymmetric device private data structures and functions. Signed-off-by: Arek Kusztal Signed-off-by: Fan Zhang Signed-off-by: Kai Ji --- drivers/common/qat/meson.build | 2 +- drivers/common/qat/qat_common.c | 15 ++ drive

[dpdk-dev] [dpdk-dev v7 6/9] compress/qat: add gen specific implementation

2021-10-27 Thread Kai Ji
From: Fan Zhang This patch replaces the mixed QAT compression support implementation by separate files with shared or individual implementation for specific QAT generation. Signed-off-by: Adam Dybkowski Signed-off-by: Arek Kusztal Signed-off-by: Fan Zhang Signed-off-by: Kai Ji Acked-by: Ciar

[dpdk-dev] [dpdk-dev v7 5/9] compress/qat: add gen specific data and function

2021-10-27 Thread Kai Ji
From: Fan Zhang This patch adds the compression data structure and function prototypes for different QAT generations. Signed-off-by: Adam Dybkowski Signed-off-by: Arek Kusztal Signed-off-by: Fan Zhang Signed-off-by: Kai Ji Acked-by: Ciara Power --- .../common/qat/qat_adf/icp_qat_hw_gen4_co

[dpdk-dev] [dpdk-dev v7 4/9] common/qat: add gen specific queue implementation

2021-10-27 Thread Kai Ji
From: Fan Zhang This patch replaces the mixed QAT queue pair configuration implementation by separate files with shared or individual implementation for specific QAT generation. Signed-off-by: Arek Kusztal Signed-off-by: Fan Zhang Signed-off-by: Kai Ji Acked-by: Ciara Power --- drivers/comm

[dpdk-dev] [dpdk-dev v7 3/9] common/qat: add gen specific queue pair function

2021-10-27 Thread Kai Ji
From: Fan Zhang This patch adds the queue pair data structure and function prototypes for different QAT generations. Signed-off-by: Fan Zhang Acked-by: Ciara Power --- drivers/common/qat/qat_qp.c | 3 ++ drivers/common/qat/qat_qp.h | 103 2 files changed

[dpdk-dev] [dpdk-dev v7 2/9] common/qat: add gen specific device implementation

2021-10-27 Thread Kai Ji
From: Fan Zhang This patch replaces the mixed QAT device configuration implementation by separate files with shared or individual implementation for specific QAT generation. Signed-off-by: Arek Kusztal Signed-off-by: Fan Zhang Signed-off-by: Kai Ji --- drivers/common/qat/dev/qat_dev_gen1.c |

[dpdk-dev] [dpdk-dev v7 1/9] common/qat: add gen specific data and function

2021-10-27 Thread Kai Ji
From: Fan Zhang This patch adds the data structure and function prototypes for different QAT generations. Signed-off-by: Arek Kusztal Signed-off-by: Fan Zhang Signed-off-by: Kai Ji Acked-by: Ciara Power --- drivers/common/qat/qat_common.h | 14 -- drivers/common/qat/qat_device.c

[dpdk-dev] [dpdk-dev v7 0/9] drivers/qat: isolate implementations of qat generations

2021-10-27 Thread Kai Ji
This patchset introduces new qat driver structure and updates existing symmetric crypto qat PMD. The purpose of the change is to isolate QAT generation specific implementations from one to another. It is expected the changes to the specific generation driver code does minimum impact to other gene

[dpdk-dev] [PATCH v2] fib: add rib extension size parameter

2021-10-27 Thread Vladimir Medvedkin
This patch adds a new parameter to the fib configuration to specify the size of the extension for internal RIB structure. Signed-off-by: Vladimir Medvedkin Tested-by: Conor Walsh --- app/test-fib/main.c| 2 ++ app/test/test_fib.c| 5 + app/test/test_f

Re: [dpdk-dev] [PATCH v5 5/5] test/thash: add performance tests for the Toeplitz hash

2021-10-27 Thread Medvedkin, Vladimir
Hi Thomas, On 27/10/2021 10:29, Thomas Monjalon wrote: 26/10/2021 22:29, Medvedkin, Vladimir: Hi Thomas, Thanks for the review, I'll address your comments in v6. Please find my comment below On 25/10/2021 19:02, Thomas Monjalon wrote: 21/10/2021 20:54, Vladimir Medvedkin: This patch adds pe

Re: [dpdk-dev] [PATCH] fib: add rib extension size parameter

2021-10-27 Thread Medvedkin, Vladimir
Hi Thomas, On 27/10/2021 10:28, Thomas Monjalon wrote: 26/10/2021 22:30, Medvedkin, Vladimir: Hi Thomas, On 25/10/2021 19:23, Thomas Monjalon wrote: 06/09/2021 17:55, Vladimir Medvedkin: This patch adds a new parameter to the fib configuration to specify the size of the extension for interna

Re: [dpdk-dev] [PATCH v1 1/1] doc: clarify vfio doc for built-in modules

2021-10-27 Thread Burakov, Anatoly
On 14-Oct-21 8:47 PM, Iremonger, Bernard wrote: Hi Anatoly, -Original Message- From: dev On Behalf Of Anatoly Burakov Sent: Thursday, October 14, 2021 1:53 PM To: dev@dpdk.org Subject: [dpdk-dev] [PATCH v1 1/1] doc: clarify vfio doc for built-in modules Currently, the documentation o

[dpdk-dev] [PATCH v2 1/1] doc: clarify VFIO doc for built-in modules

2021-10-27 Thread Anatoly Burakov
Currently, the documentation only contains instructions for enabling SRIOV support for VFIO compiled as a module, but doesn't have any instructions on how to do the same for cases where VFIO is built-in. Add these instructions. Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson Acked-by:

Re: [dpdk-dev] [PATCH v2 2/2] net/memif: fix driver init with default MTU

2021-10-27 Thread Andrew Rybchenko
On 10/27/21 12:14 PM, Ferruh Yigit wrote: Driver is using 'ETH_FRAME_LEN' Linux defined value as max frame length, which doesn't include FCS (4 bytes CRC). But ethdev by default uses frame size with FCS when application doesn't define any explicit value. As a result device configuration fails be

Re: [dpdk-dev] [PATCH v2 1/2] net/af_packet: fix driver init with default MTU

2021-10-27 Thread Andrew Rybchenko
On 10/27/21 12:14 PM, Ferruh Yigit wrote: Driver is using 'ETH_FRAME_LEN' Linux defined value as max frame length, which doesn't include FCS (4 bytes CRC). But ethdev by default uses frame size with FCS when application doesn't define any explicit value. As a result device configuration fails be

Re: [dpdk-dev] dpdk fail at build.

2021-10-27 Thread yn h
Downgrading to 0.59.0 helped to fix that error, but another error occurred during ninja build. [0/1] Installing files. *ERROR:* Build directory has been generated with Meson version 0.59.0, which is incompatible with the current version 0.60.0. FAILED: meson-install /home/ybuser/.local/bin/mes

[dpdk-dev] [PATCH] mempool/cnxk: fix max pools argument parsing

2021-10-27 Thread Volodymyr Fialko
roc_idev_npa_maxpools_set expects max_pools original value, not the aura Fixes: 0a50a5aad299 ("mempool/cnxk: add device probe/remove") Cc: sta...@dpdk.org Signed-off-by: Volodymyr Fialko Reviewed-by: Jerin Jacob --- drivers/mempool/cnxk/cnxk_mempool.c | 20 ++-- 1 file changed,

Re: [dpdk-dev] [PATCH 00/10] vdpa/sfc: introduce Xilinx vDPA driver

2021-10-27 Thread Andrew Rybchenko
Hi Maxime, On 10/27/21 4:18 PM, Maxime Coquelin wrote: Hi Vijay, -rc2 deadline is approaching, do you think v2 will be ready on time so that we can have your driver in v21.11? Vijay is working on a it. We have v2, but it does not work after rebase on rc1. Hopefully Vijay will sort it out shor

Re: [dpdk-dev] [PATCH] dma/idxd: fix truncated error code in status check

2021-10-27 Thread Thomas Monjalon
27/10/2021 15:08, Bruce Richardson: > On Tue, Oct 26, 2021 at 02:20:45PM +, Kevin Laatz wrote: > > When checking if the DMA device is active, the result of the operand will > > always be zero since the err_code is truncated to 8 bits which makes > > checking the 31st bit impossible. > > > > Th

Re: [dpdk-dev] [RFC PATCH v2] raw/ptdma: introduce ptdma driver

2021-10-27 Thread Thomas Monjalon
Any update please? 06/09/2021 19:17, David Marchand: > On Mon, Sep 6, 2021 at 6:56 PM Selwin Sebastian > wrote: > > > > Add support for PTDMA driver > > - This description is rather short. > > Can this new driver be implemented as a dmadev? > See (current revision): > https://patchwork.dpdk.or

Re: [dpdk-dev] [PATCH v6 1/5] net/virtio: add initial RSS support

2021-10-27 Thread Andrew Rybchenko
On 10/27/21 5:22 PM, Maxime Coquelin wrote: Provide the capability to update the hash key, hash types and RETA table on the fly (without needing to stop/start the device). However, the key length and the number of RETA entries are fixed to 40B and 128 entries respectively. This is done in order t

Re: [dpdk-dev] [PATCH 0/6] Introduce DPAA DMA driver

2021-10-27 Thread Thomas Monjalon
09/09/2021 13:14, Gagandeep Singh: > This series support DMA driver for NXP > 1046A and 1043A SoCs. Any update? I guess it has to be rebased with latest dmadev.

Re: [dpdk-dev] [PATCH v15 06/12] pdump: support pcapng and filtering

2021-10-27 Thread Stephen Hemminger
On Wed, 27 Oct 2021 06:34:36 + "Wang, Yinan" wrote: > Hi Hemminger, > > I meet an issue when using dpdk-pdump with your patch ,we try to capture pkts > from virtio port, all packets captured shows malformed packets , and no issue > if remove your patch. Bug link:https://bugs.dpdk.org/show_

Re: [dpdk-dev] [PATCH] test: enable bitmap in fast tests

2021-10-27 Thread Dumitrescu, Cristian
> -Original Message- > From: David Marchand > Sent: Wednesday, October 27, 2021 3:06 PM > To: dev@dpdk.org > Cc: acon...@redhat.com; Dumitrescu, Cristian > ; Nithin Dabilpuram > > Subject: [PATCH] test: enable bitmap in fast tests > > This test was never added to the list of tests to

Re: [dpdk-dev] [PATCH v5 0/8] port ioatfwd app to dmadev

2021-10-27 Thread Thomas Monjalon
26/10/2021 15:14, Kevin Laatz: > This patchset first adds some additional command line options to the > existing ioatfwd application to enhance usability. > > The last 3 patches of this set then port the ioatfwd application to use the > dmadev library APIs instead of the IOAT rawdev APIs. Followin

Re: [dpdk-dev] [PATCH v1 1/1] vfio: fix partial unmap check

2021-10-27 Thread David Marchand
On Tue, Oct 26, 2021 at 3:30 PM Anatoly Burakov wrote: > > Partial unmap support was introduced in commit c13ca4e81cac, and with it > was added a check that dereferenced the IOMMU type to determine whether > partial ummapping is supported for currently configured IOMMU type. In > certain circumsta

Re: [dpdk-dev] [PATCH v5 4/5] lib/bpf: use wait event scheme for Rx/Tx iteration

2021-10-27 Thread Ananyev, Konstantin
> > > -邮件原件- > > 发件人: dev 代表 Ananyev, Konstantin > > 发送时间: Tuesday, October 26, 2021 8:57 PM > > 收件人: Feifei Wang > > 抄送: dev@dpdk.org; nd ; Ruifeng Wang > > ; nd > > 主题: Re: [dpdk-dev] [PATCH v5 4/5] lib/bpf: use wait event scheme for Rx/Tx > > iteration > > > > > > > Hi Feifei, > >

Re: [dpdk-dev] [PATCH v5 1/5] net/virtio: add initial RSS support

2021-10-27 Thread Yuri Benditovich
On Wed, Oct 27, 2021 at 1:55 PM Maxime Coquelin wrote: > Hi, > > On 10/19/21 11:37, Andrew Rybchenko wrote: > > Hi Maxime, > > > > On 10/19/21 12:22 PM, Maxime Coquelin wrote: > >> Hi Andrew, > >> > >> On 10/19/21 09:30, Andrew Rybchenko wrote: > >>> On 10/18/21 1:20 PM, Maxime Coquelin wrote: >

[dpdk-dev] [PATCH v3] net/mlx5: optimize the device spawn time with representors

2021-10-27 Thread Jiawei Wang
During the device spawn process, mlx5 PMD queried the available flow priorities by calling mlx5_flow_discover_priorities, queried if the DR drop action was supported on the root table by calling the mlx5_flow_discover_dr_action_support routine, and queried the availability of metadata register C by

Re: [dpdk-dev] [PATCH v4 2/2] lib/eal: add temporal store memcpy support for AMD platform

2021-10-27 Thread Thomas Monjalon
27/10/2021 16:10, Van Haaren, Harry: > From: Aman Kumar > On Wed, Oct 27, 2021 at 5:53 PM Ananyev, Konstantin > wrote > > > > Hi Mattias, > > > > > > 6) What is the use-case for this? When would a user *want* to use this > > > > instead > > > of rte_memcp

Re: [dpdk-dev] [PATCH v6 5/5] net/enetfec: add features

2021-10-27 Thread Ferruh Yigit
On 10/21/2021 5:47 AM, Apeksha Gupta wrote: This patch adds checksum and VLAN offloads in enetfec network poll mode driver. Signed-off-by: Sachin Saxena Signed-off-by: Apeksha Gupta <...> @@ -611,9 +615,20 @@ static int enetfec_eth_init(struct rte_eth_dev *dev) { struct enetfec

Re: [dpdk-dev] [PATCH v4 2/2] lib/eal: add temporal store memcpy support for AMD platform

2021-10-27 Thread Ananyev, Konstantin
From: Aman Kumar Sent: Wednesday, October 27, 2021 2:35 PM To: Ananyev, Konstantin Cc: Van Haaren, Harry ; mattias.ronnblom ; Thomas Monjalon ; dev@dpdk.org; viachesl...@nvidia.com; Burakov, Anatoly ; Song, Keesang ; jerinjac...@gmail.com; Richardson, Bruce ; honnappa.nagaraha...@arm.com;

[dpdk-dev] [PATCH v6 5/5] app/testpmd: add missing flow types in port info

2021-10-27 Thread Maxime Coquelin
This patch adds missing IPv6-Ex and GTPU flow types to port info command. It also add the same definitions to str2flowtype(), used to configure flow director. Signed-off-by: Maxime Coquelin Acked-by: Xiaoyun Li --- app/test-pmd/cmdline.c | 4 app/test-pmd/config.c | 4 2 files change

Re: [dpdk-dev] [PATCH v6 4/5] net/enetfec: add enqueue and dequeue support

2021-10-27 Thread Ferruh Yigit
On 10/21/2021 5:46 AM, Apeksha Gupta wrote: This patch adds burst enqueue and dequeue operations to the enetfec PMD. Loopback mode is also added, compile time flag 'ENETFEC_LOOPBACK' is used to enable this feature. By default loopback mode is disabled. Basic features added like promiscuous enable

[dpdk-dev] [PATCH v6 4/5] net/mlx5: fix RSS RETA update

2021-10-27 Thread Maxime Coquelin
This patch fixes RETA updating for entries above 64. Without ithat, these entries are never updated as calculated mask value will always be 0. Fixes: 634efbc2c8c0 ("mlx5: support RETA query and update") Cc: sta...@dpdk.org Cc: nelio.laranje...@6wind.com Signed-off-by: Maxime Coquelin Acked-by: V

[dpdk-dev] [PATCH v6 3/5] app/testpmd: fix RSS type display

2021-10-27 Thread Maxime Coquelin
This patch fixes the display of the RSS hash types configured in the port, which displayed "all" even if only a single type was configured Fixes: 3c90743dd3b9 ("app/testpmd: support more types for flow RSS") Cc: sta...@dpdk.org Signed-off-by: Maxime Coquelin Acked-by: Xiaoyun Li Reviewed-by: Ch

[dpdk-dev] [PATCH v6 2/5] app/testpmd: fix RSS key length

2021-10-27 Thread Maxime Coquelin
port_rss_hash_key_update() initializes rss_conf with the RSS key configuration provided by the user, but it calls rte_eth_dev_rss_hash_conf_get() before calling rte_eth_dev_rss_hash_update(), which overrides the parsed RSS config. While the RSS key value is set again after, this is not the case o

[dpdk-dev] [PATCH v6 1/5] net/virtio: add initial RSS support

2021-10-27 Thread Maxime Coquelin
Provide the capability to update the hash key, hash types and RETA table on the fly (without needing to stop/start the device). However, the key length and the number of RETA entries are fixed to 40B and 128 entries respectively. This is done in order to simplify the design, but may be revisited la

Re: [dpdk-dev] [PATCH v6 3/5] net/enetfec: support queue configuration

2021-10-27 Thread Ferruh Yigit
On 10/21/2021 5:46 AM, Apeksha Gupta wrote: This patch adds Rx/Tx queue configuration setup operations. On packet reception the respective BD Ring status bit is set which is then used for packet processing. Signed-off-by: Sachin Saxena Signed-off-by: Apeksha Gupta <...> +/* Supported Rx

[dpdk-dev] [PATCH v6 0/5] Virtio PMD RSS support & RSS fixes

2021-10-27 Thread Maxime Coquelin
This series is mainly adding support for RSS to Virtio PMD driver. The two last patches are fixing an issue in testpmd that could cause out of bounds access, and fix an issue spotted in the mlx5 driver while looking for inspiration. The first motivation for this series is to eventually support RSS

Re: [dpdk-dev] [PATCH v6 2/5] net/enetfec: add UIO support

2021-10-27 Thread Ferruh Yigit
On 10/21/2021 5:46 AM, Apeksha Gupta wrote: Implemented the fec-uio driver in kernel. enetfec PMD uses UIO interface to interact with "fec-uio" driver implemented in kernel for PHY initialisation and for mapping the allocated memory of register & BD from kernel to DPDK which gives access to non-c

Re: [dpdk-dev] [PATCH v6 1/5] net/enetfec: introduce NXP ENETFEC driver

2021-10-27 Thread Ferruh Yigit
On 10/21/2021 5:46 AM, Apeksha Gupta wrote: ENETFEC (Fast Ethernet Controller) is a network poll mode driver for NXP SoC i.MX 8M Mini. This patch adds skeleton for enetfec driver with probe function. Signed-off-by: Sachin Saxena Signed-off-by: Apeksha Gupta <...> +Follow instructions avai

Re: [dpdk-dev] [PATCH v6 0/5] drivers/net: add NXP ENETFEC driver

2021-10-27 Thread Ferruh Yigit
On 10/21/2021 5:46 AM, Apeksha Gupta wrote: This patch series introduce the enetfec driver, ENETFEC (Fast Ethernet Controller) is a network poll mode driver for the inbuilt NIC found in the NXP i.MX 8M Mini SoC. An overview of the enetfec driver with probe and remove are in patch 1. Patch 2 desi

Re: [dpdk-dev] [PATCH v5 0/8] port ioatfwd app to dmadev

2021-10-27 Thread Kevin Laatz
On 27/10/2021 15:07, Thomas Monjalon wrote: 27/10/2021 15:35, Kevin Laatz: On 27/10/2021 14:23, Thomas Monjalon wrote: 26/10/2021 15:14, Kevin Laatz: .../sample_app_ug/{ioat.rst => dma.rst} | 149 ++-- doc/guides/sample_app_ug/index.rst| 2 +- doc/guides/sample_app_u

Re: [dpdk-dev] [PATCH v4 2/2] lib/eal: add temporal store memcpy support for AMD platform

2021-10-27 Thread Van Haaren, Harry
From: Aman Kumar Sent: Wednesday, October 27, 2021 2:35 PM To: Ananyev, Konstantin Cc: Van Haaren, Harry ; mattias.ronnblom ; Thomas Monjalon ; dev@dpdk.org; viachesl...@nvidia.com; Burakov, Anatoly ; Song, Keesang ; jerinjac...@gmail.com; Richardson, Bruce ; honnappa.nagaraha...@arm.com; R

Re: [dpdk-dev] [PATCH v5 0/8] port ioatfwd app to dmadev

2021-10-27 Thread Thomas Monjalon
27/10/2021 15:35, Kevin Laatz: > On 27/10/2021 14:23, Thomas Monjalon wrote: > > 26/10/2021 15:14, Kevin Laatz: > >> .../sample_app_ug/{ioat.rst => dma.rst} | 149 ++-- > >> doc/guides/sample_app_ug/index.rst| 2 +- > >> doc/guides/sample_app_ug/intro.rst| 4 +-

[dpdk-dev] [PATCH] test: enable bitmap in fast tests

2021-10-27 Thread David Marchand
This test was never added to the list of tests to run in CI. Its name does not follow the implicit convention of ending with _autotest. Let's fix this. Fixes: 5e9647fd5a1a ("test/bitmap: test scan after half cacheline is cleared") Signed-off-by: David Marchand --- app/test/meson.build | 1 +

[dpdk-dev] [PATCH 2/2] test: move RED to extra tests list

2021-10-27 Thread David Marchand
This test gives random failures, disable it. See: https://bugs.dpdk.org/show_bug.cgi?id=826 Signed-off-by: David Marchand --- app/test/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/test/meson.build b/app/test/meson.build index 200790eda0..71fce2efda 100644

[dpdk-dev] [PATCH 1/2] test: create a list of extra tests

2021-10-27 Thread David Marchand
We removed some tests from the "CI" (fast-tests) list because they were not reliable enough or did not make sense as non regression tests. Since we still build those tests code, leave an option for users to call them. This list can also serve as a point where to document why test X is not suitable

[dpdk-dev] [PATCH] test: remove unnecessary test commands

2021-10-27 Thread David Marchand
EAL and rwlock tests have been split into smaller unit tests now listed in meson. Nothing is referencing eal_flags_autotest and rwlock_autotest anymore, since we dropped the python wrapper. Fixes: 8c745bb62340 ("test: remove autotest python wrapper") Signed-off-by: David Marchand --- app/test/t

Re: [dpdk-dev] Question about bonding port promiscuous

2021-10-27 Thread David Marchand
On Wed, Oct 27, 2021 at 5:21 AM Min Hu (Connor) wrote: > > Hi, David, > In function "bond_ethdev_promiscuous_disable", > for "ROUND ROBIN","BALANCE","BROADCAST","8023AD" mode, Promiscuous mode > is propagated to all slaves. > > While for "ACTIVE_BACKUP", "TLB", "ALB", promiscuous mode is propagate

  1   2   >