RE: [PATCH] crypto/ipsec_mb: enable compilation for non x86 arch

2022-06-20 Thread Ashwin Sekhar Thalakalath Kottilveetil
Hi Fan, Thanks for the suggestion. However that will not work for ARM64. Please note that the #defines RTE_CPUFLAG_AVX512F, RTE_CPUFLAG_AVX2 and RTE_CPUFLAG_AVX are not available for ARM64. So the compilation will break. I can introduce IPSEC_MB_ARM64, but still the current branch needs to be

[PATCH v2] config/arm: add PHYTIUM ft2000plus

2022-06-20 Thread luzhipeng
Here adds configs for PHYTIUM server. Signed-off-by: luzhipeng --- config/arm/arm64_ft2000plus_linux_gcc | 16 config/arm/meson.build| 26 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 config/arm/arm64_ft2000plus_

RE: [PATCH] net/mlx5: add 128B padding of Rx completion entry

2022-06-20 Thread Slava Ovsiienko
Hi, Xing Thank you for the patch, I have some questions about. As far as I can understand we have three flags: 1. HAVE_IBV_MLX5_MOD_CQE_128B_PAD,rdma-core library supports CQE size management 2. dv_attr.flags (flag MLX5DV_CONTEXT_FLAGS_CQE_128B_PAD), reports device supports CQE size management

RE: [dpdk-dev] [PATCH 4/8] net/bnxt: allow Tx only or Rx only configs in PMD

2022-06-20 Thread Damodharam Ammepalli
Hi Ferruh, Please see my inline responses [Damo]; Thanks Damo From: Kalesh Anakkur Purayil Sent: Monday, June 20, 2022 9:47 PM To: Ferruh Yigit ; Damodharam Ammepalli Cc: Ajit Kumar Khaparde ; dpdk-dev Subject: Re: [dpdk-dev] [PATCH 4/8] net/bnxt: allow Tx only or Rx only configs in

Re: [dpdk-dev] [PATCH 4/8] net/bnxt: allow Tx only or Rx only configs in PMD

2022-06-20 Thread Kalesh Anakkur Purayil
Hi Damo, Could you please respond to Ferruh's question? Regards, Kalesh On Thu, Jun 16, 2022 at 10:33 PM Ferruh Yigit wrote: > On 6/15/2022 3:56 PM, Kalesh A P wrote: > > > > > From: Damodharam Ammepalli > > > > Currently, we fail the init/probe of pmd if eth_dev->data->nb_tx_queues > > or et

[Bug 1039] [dpdk 22.07-rc0] drivers/vdpa/ifc meson build failed with gcc12.1.1 on Fedora36/64

2022-06-20 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1039 gaodaxue (daxuex@intel.com) changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONF

Re: [PATCH v2 1/2] examples/l3fwd: common packet group functionality

2022-06-20 Thread Konstantin Ananyev
17/06/2022 08:50, Rahul Bhansali пишет: CC: Konstantin Ananyev -Original Message- From: Rahul Bhansali Sent: Friday, June 17, 2022 1:13 PM To: dev@dpdk.org; Ruifeng Wang Cc: Jerin Jacob Kollanukkaran ; Rahul Bhansali Subject: [PATCH v2 1/2] examples/l3fwd: common packet group functio

Re: [PATCH 0/3] Fix xmm_t to rte_xmm_t scalar conversion

2022-06-20 Thread David Christensen
On Thu, Jun 9, 2022 at 2:17 PM Stanislaw Kardach wrote: As David noticed in [1] there is an issue with C++ compilation of the rte_vect.h header in RISC-V. Upon closer inspection, the problem appears on all architectures due to the type conversion rules in C++. More precisely a union type rte_xm

Re: [PATCH v7 2/3] pcap: support MTU set for linux interfaces TX enhancment

2022-06-20 Thread Stephen Hemminger
On Sun, 19 Jun 2022 12:30:33 +0300 Ido Goshen wrote: > Drop only the oversized packets and not its entrie burst > mbuf will be freed and will be counted as oerror > > Signed-off-by: Ido Goshen > --- > drivers/net/pcap/pcap_ethdev.c | 10 -- > 1 file changed, 8 insertions(+), 2 deletion

RE: [PATCH] crypto/scheduler: fix qp_id in scheduler failover

2022-06-20 Thread Ji, Kai
> -Original Message- > From: Wysocki, JakubX > Sent: Monday, June 20, 2022 6:52 PM > To: dev@dpdk.org > Cc: Ji, Kai ; Zhang, Roy Fan ; > Wysocki, JakubX > Subject: [PATCH] crypto/scheduler: fix qp_id in scheduler failover > > This commit fixes wrong qp_id value in cryptodev scheduler in

Re: [PATCH v2 1/2] app/eventdev: add null checks for cop allocations

2022-06-20 Thread Jerin Jacob
On Fri, Jun 17, 2022 at 6:09 PM Volodymyr Fialko wrote: > > Crypto operation allocation may fail in case when total size of queue > pairs are bigger then the pool size. then -> than > > Signed-off-by: Volodymyr Fialko Series-Acked-by: Jerin Jacob Series applied to dpdk-next-net-eventdev/for-m

Re: [PATCH v2 3/3] net/ixgbe: move bypass init in a testpmd command

2022-06-20 Thread Ferruh Yigit
On 6/17/2022 6:07 AM, David Marchand wrote: Introduce a new command and remove the last part of specific port init from testpmd. Signed-off-by: David Marchand --- app/test-pmd/meson.build | 1 - app/test-pmd/testpmd.c| 4 -- doc/guides/nics/ixgbe.rst | 7 +++

Re: [PATCH] event/cnxk: initialize work slot read cache

2022-06-20 Thread Jerin Jacob
On Mon, Jun 20, 2022 at 4:56 PM Volodymyr Fialko wrote: > > Initialize gw_rdata with tag type EMPTY. Leaving tag type as > zero(ATOMIC) may cause some unnecessary head wait, if cache will be used > before the first update in dequeue/get_work functions. > > Signed-off-by: Volodymyr Fialko Applied

Re: [PATCH v2] eventdev/eth_tx: fix adapter create

2022-06-20 Thread Jerin Jacob
On Thu, Jun 16, 2022 at 11:28 AM Jayatheerthan, Jay wrote: > > Looks good. > > Acked-by: Jay Jayatheerthan Applied to dpdk-next-net-eventdev/for-main. Thanks > > -Jay > > > > > -Original Message- > > From: Naga Harish K, S V > > Sent: Thursday, June 16, 2022 10:45 AM > > To: Naga Hari

Re: [PATCH] event/cnxk: add eth port specific PTP enable

2022-06-20 Thread Jerin Jacob
On Sun, Jun 12, 2022 at 11:26 PM wrote: > > From: Pavan Nikhilesh > > Add support to enable PTP per ethernet device when that > specific ethernet device is connected to event device via > Rx adapter. > > Signed-off-by: Pavan Nikhilesh > Signed-off-by: Nithin Dabilpuram There is a conflict with

Re: [PATCH v2] net/bonding: move testpmd commands

2022-06-20 Thread Ferruh Yigit
On 6/17/2022 6:06 AM, David Marchand wrote: Move related specific testpmd commands into this driver directory. While at it, fix checkpatch warnings. Signed-off-by: David Marchand Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks. @@ -5720,3 +5584,5 @@ Some drivers prov

Re: [PATCH v2] net/i40e: move testpmd commands

2022-06-20 Thread Ferruh Yigit
On 6/17/2022 6:07 AM, David Marchand wrote: Move related specific testpmd commands into this driver directory. While at it, fix checkpatch warnings. Signed-off-by: David Marchand Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks. @@ -5720,3 +5544,5 @@ Driver specific commands

[PATCH] crypto/scheduler: fix qp_id in scheduler failover

2022-06-20 Thread Jakub Wysocki
This commit fixes wrong qp_id value in cryptodev scheduler in failover mode. Fixes: 37f075dad1e9 ("crypto/scheduler: add fail-over scheduling mode") Cc: roy.fan.zh...@intel.com Signed-off-by: Jakub Wysocki --- drivers/crypto/scheduler/scheduler_failover.c | 3 +++ 1 file changed, 3 insertions(+

Re: [EXT] [PATCH] net/qede: fix build with GCC 13

2022-06-20 Thread Jerin Jacob
On Mon, Jun 20, 2022 at 3:03 PM Devendra Singh Rawat wrote: > > > > > -Original Message- > > From: Ferruh Yigit > > Sent: Thursday, June 16, 2022 10:32 PM > > To: Rasesh Mody ; Devendra Singh Rawat > > ; Igor Russkikh > > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; > > sta...@dpdk.org

Re: [PATCH v3 2/2] net/cnxk: support ops to update precolor VLAN table

2022-06-20 Thread Jerin Jacob
On Thu, Jun 16, 2022 at 5:24 PM wrote: > > From: Sunil Kumar Kori > > Implement API to update VLAN table for pre-coloring for > incoming packet per nixlf for CN10K platform. > > Depends-on: patch-23516 ("app/testpmd: support different input color method") Actually, it does not depend on testpmd.

Re: [PATCH v8 1/4] ethdev: support device error recovery notification

2022-06-20 Thread Thomas Monjalon
16/06/2022 11:41, Chengwen Feng: > --- a/lib/ethdev/rte_ethdev.h > +++ b/lib/ethdev/rte_ethdev.h > @@ -3928,6 +3928,12 @@ enum rte_eth_event_type { >* @see rte_eth_rx_avail_thresh_set() >*/ > RTE_ETH_EVENT_RX_AVAIL_THRESH, > + /** Port recovering from a hardware or firmwar

Re: [PATCH v2 2/6] eal: add thread lifetime management

2022-06-20 Thread Tyler Retzlaff
On Sat, Jun 18, 2022 at 03:59:08PM +0300, Dmitry Kozlyuk wrote: > 2022-06-14 16:47 (UTC-0700), Tyler Retzlaff: > > On Windows, the function executed by a thread when the thread starts is > > represeneted by a function pointer of type DWORD (*func) (void*). > > On other platforms, the function point

Re: [PATCH v4 1/2] event/dlb2: add CQ weight support

2022-06-20 Thread Jerin Jacob
On Fri, Jun 17, 2022 at 3:51 AM Timothy McDaniel wrote: > > Enabling the weight limit on a CQ allows the enqueued QEs' 2-bit weight > value (representing weights of 1, 2, 4, and 8) to factor into whether a > CQ is full. If the sum of the weights of the QEs in the CQ meet or exceed > its weight lim

Re: [PATCH v2 01/12] common/cnxk: use computed value for WQE skip

2022-06-20 Thread Jerin Jacob
On Thu, Jun 16, 2022 at 2:54 PM Nithin Dabilpuram wrote: > > Use computed value for WQE skip instead of a hardcoded value. > WQE skip needs to be number of 128B lines to accommodate rte_mbuf. > > Signed-off-by: Nithin Dabilpuram > --- > Depends-on: series=23500 ("common/cnxk: add cnf10kb support"

Re: [PATCH] examples/distributor: fix syntax on single core rx and distributor

2022-06-20 Thread Ferruh Yigit
On 6/20/2022 5:31 PM, Abdullah Ömer Yamaç wrote: This patch fixes the syntax error when using the single-core for both rx and distributor functions. Fixes: 4a7f40c0ff9a ("examples/distributor: add dedicated core") Cc: sta...@dpdk.org Signed-off-by: Abdullah Ömer Yamaç Acked-by: Ferruh Yigit

Re: [dpdk-dev] [PATCH 1/8] net/bnxt: remove assert for zero data len in Tx path

2022-06-20 Thread Ajit Khaparde
On Mon, Jun 20, 2022 at 3:55 AM Ferruh Yigit wrote: > > On 6/20/2022 12:09 AM, Ajit Khaparde wrote: > > On Thu, Jun 16, 2022 at 10:03 AM Ferruh Yigit > > wrote: > >> > >> On 6/15/2022 3:56 PM, Kalesh A P wrote: > >>> > >>> From: Somnath Kotur > >>> > >>> Currently the PMD tries to detect a pote

[PATCH] examples/distributor: fix syntax on single core rx and distributor

2022-06-20 Thread Abdullah Ömer Yamaç
This patch fixes the syntax error when using the single-core for both rx and distributor functions. Fixes: 4a7f40c0ff9a ("examples/distributor: add dedicated core") Cc: sta...@dpdk.org Signed-off-by: Abdullah Ömer Yamaç --- Cc: david.h...@intel.com --- examples/distributor/main.c | 4 ++-- 1 fi

Re: [PATCH v4 15/15] vdpa/mlx5: prepare virtqueue resource creation

2022-06-20 Thread Maxime Coquelin
On 6/18/22 11:02, Li Zhang wrote: Split the virtqs virt-queue resource between the configuration threads. Also need pre-created virt-queue resource after virtq destruction. This accelerates the LM process and reduces its time by 30%. Signed-off-by: Li Zhang Acked-by: Matan Azrad --- doc/g

Re: [PATCH v4 14/15] vdpa/mlx5: add virtq sub-resources creation

2022-06-20 Thread Maxime Coquelin
On 6/18/22 11:02, Li Zhang wrote: pre-created virt-queue sub-resource in device probe stage and then modify virtqueue in device config stage. Steer table also need to support dummy virt-queue. This accelerates the LM process and reduces its time by 40%. Signed-off-by: Li Zhang Signed-off-by:

Re: [PATCH v4 13/15] vdpa/mlx5: add device close task

2022-06-20 Thread Maxime Coquelin
On 6/18/22 11:02, Li Zhang wrote: Split the virtqs device close tasks after stopping virt-queue between the configuration threads. This accelerates the LM process and reduces its time by 50%. Signed-off-by: Li Zhang Acked-by: Matan Azrad --- drivers/vdpa/mlx5/mlx5_vdpa.c | 56

Re: [PATCH v4 12/15] vdpa/mlx5: add virtq LM log task

2022-06-20 Thread Maxime Coquelin
On 6/18/22 11:02, Li Zhang wrote: Split the virtqs LM log between the configuration threads. This accelerates the LM process and reduces its time by 20%. Signed-off-by: Li Zhang Acked-by: Matan Azrad --- drivers/vdpa/mlx5/mlx5_vdpa.h | 3 + drivers/vdpa/mlx5/mlx5_vdpa_cthread.c

Re: [PATCH v3 0/4] introduce PMCI driver

2022-06-20 Thread Thomas Monjalon
17/06/2022 09:19, Wei Huang: > The first patch introduce PMCI base driver to provide interface to access > MAX10 register. > The second patch support new board information. > The third patch update flash access interfaces. > The fourth patch support new board sensors. > Changes from v2: > 1. split

Re: [PATCH v4 11/15] vdpa/mlx5: add virtq creation task for MT management

2022-06-20 Thread Maxime Coquelin
On 6/18/22 11:02, Li Zhang wrote: The virtq object and all its sub-resources use a lot of FW commands and can be accelerated by the MT management. Split the virtqs creation between the configuration threads. This accelerates the LM process and reduces its time by 20%. Signed-off-by: Li Zhang

Re: [PATCH v4 10/15] vdpa/mlx5: add MT task for VM memory registration

2022-06-20 Thread Maxime Coquelin
On 6/18/22 11:02, Li Zhang wrote: The driver creates a direct MR object of the HW for each VM memory region, which maps the VM physical address to the actual physical address. Later, after all the MRs are ready, the driver creates an indirect MR to group all the direct MRs into one virtual sp

Re: [PATCH v1] raw/ifpga: free file handle before function return

2022-06-20 Thread Thomas Monjalon
13/06/2022 08:40, Zhang, Tianfei: > > Coverity issue: 379064 > > Fixes: 673c897f4d73 ("raw/ifpga: support OFS card probing") > > > > Signed-off-by: Wei Huang > > Acked-by: Tianfei Zhang Reviewed-by: Rosen Xu Applied, thanks.

Re: [PATCH v2] test/ipsec: fix build with GCC 12

2022-06-20 Thread Medvedkin, Vladimir
On 17/06/2022 13:06, David Marchand wrote: On Thu, Jun 16, 2022 at 11:33 AM David Marchand wrote: GCC 12 raises the following warning: In function ‘_mm256_loadu_si256’, inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:319:9, inlined from ‘rte_mov128’ at

Re: [PATCH v4 09/15] vdpa/mlx5: add task ring for MT management

2022-06-20 Thread Maxime Coquelin
On 6/18/22 11:02, Li Zhang wrote: The configuration threads tasks need a container to support multiple tasks assigned to a thread in parallel. Use rte_ring container per thread to manage the thread tasks without locks. The caller thread from the user context opens a task to a thread and enqueu

RE: [PATCH v5] ched: enable CMAN at runtime

2022-06-20 Thread Dumitrescu, Cristian
> -Original Message- > From: Danilewicz, MarcinX > Sent: Monday, June 20, 2022 2:57 PM > To: dev@dpdk.org; Singh, Jasvinder ; > Dumitrescu, Cristian > Cc: Ajmera, Megha > Subject: [PATCH v5] ched: enable CMAN at runtime > Title: ched -> sched

Re: [PATCH] maintainers: update for testpmd

2022-06-20 Thread Thomas Monjalon
> > From: "Li, Xiaoyun" > > > > Resigning my maintainership for testpmd. > > > > Signed-off-by: Li, Xiaoyun > > Acked-by: Yuying Zhang Applied Thanks Xiaoyun for the work done.

Re: [PATCH] pipeline: rework optimization pattern for header generation

2022-06-20 Thread Thomas Monjalon
16/06/2022 16:16, Cristian Dumitrescu: > The P4 language requires marking a header as valid before any of the > header fields are written as opposed to after the writes are done. > Hence, the optimization of replacing the sequence of instructions to > generate a header by reading it from the table

Re: [PATCH V2] pipeline: fix check against max number of learner table timeouts

2022-06-20 Thread Thomas Monjalon
16/06/2022 11:14, Cristian Dumitrescu: > From: Harshad Narayane > > Fix comparison used to check against the maximum number of learner > table timeouts. > > Fixes: e2ecc53582fb ("pipeline: improve learner table timers") > > Signed-off-by: Harshad Narayane > Signed-off-by: Cristian Dumitrescu

Re: [PATCH V2] pipeline: fix packet mirroring configuration

2022-06-20 Thread Thomas Monjalon
13/06/2022 19:28, Cristian Dumitrescu: > Fix segmentation fault due to null pointer dereferencing inside the > "mirror" instruction when number of mirroring slots is set to 0. This > was taking place when the "mirror" instruction was used without the > mirror feature being properly configured, i.e.

[PATCH v5] ched: enable CMAN at runtime

2022-06-20 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz --- Log: v2 change in rte_sched.h to avoid ABI breakage. v3 changes from comment

RE: [PATCH] crypto/ipsec_mb: enable compilation for non x86 arch

2022-06-20 Thread Zhang, Roy Fan
Hi, Thank you for the explanation. In that case I'd suggest instead of warping the branches completely with macro, wrapping on the last "else" instead. Something like if (vector_mode == IPSEC_MB_NOT_SUPPORTED) { /* Check CPU for supported vector instruction set */

[PATCH] vdpa/mlx5: fix leak on event thread creation

2022-06-20 Thread David Marchand
As stated in the manual, pthread_attr_init return value should be checked. Besides, a pthread_attr_t should be destroyed once unused. In practice, we may have no leak (from what I read in glibc current code), but this may change in the future. Stick to a correct use of the API. Fixes: 5cf3fd3af4d

Re: [PATCH V3 app/testpmd 4/4] app/testpmd: remove duplicated flow type to string table

2022-06-20 Thread Ferruh Yigit
On 6/9/2022 4:26 AM, lihuisong (C) wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. 在 2022/6/7 23:47, Ferruh Yigit 写道: On 6/7/2022 9:32 AM, Huisong Li wrote: F

Re: [PATCH V3 app/testpmd 3/4] app/testpmd: compact RSS types output in some commands

2022-06-20 Thread Ferruh Yigit
On 6/9/2022 4:41 AM, lihuisong (C) wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. 在 2022/6/7 23:46, Ferruh Yigit 写道: On 6/7/2022 9:32 AM, Huisong Li wrote: F

[PATCH 3/3] crypto/uadk: add uadk crypto PMD

2022-06-20 Thread Zhangfei Gao
Add uadk crypto pmd, which relies on uadk crypto api Test: sudo dpdk-test --vdev=crypto_uadk (--log-level=6) RTE>>cryptodev_uadk_autotest RTE>>quit Signed-off-by: Zhangfei Gao --- doc/guides/cryptodevs/index.rst |1 + doc/guides/cryptodevs/uadk.rst| 70 ++ drivers/crypto/mes

[PATCH 2/3] test/crypto: add cryptodev_uadk_autotest

2022-06-20 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 1/3] compress/uadk: add uadk compression PMD

2022-06-20 Thread Zhangfei Gao
Add uadk compression & decompression PMD, which relies on uadk api. Test: sudo dpdk-test --vdev=compress_uadk RTE>>compressdev_autotest RTE>>quit Signed-off-by: Zhangfei Gao --- doc/guides/compressdevs/index.rst | 1 + doc/guides/compressdevs/uadk.rst | 60 +++ drivers/compr

[PATCH 0/3] Add uadk compression and crypto PMD

2022-06-20 Thread Zhangfei Gao
UADK compression PMD provides poll mode compression & decompression driver UADK crypto PMD provides poll mode driver All cryptography operations are using UADK crypto API. All compression operations are using UADK compress API. Hardware accelerators using UADK are supposed to be supported. Current

Re: [PATCH V3 app/testpmd 1/4] app/testpmd: fix supported RSS offload display

2022-06-20 Thread Ferruh Yigit
On 6/9/2022 4:25 AM, lihuisong (C) wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. 在 2022/6/7 23:45, Ferruh Yigit 写道: On 6/7/2022 9:32 AM, Huisong Li wrote: A

RE: [PATCH] add support for async vhost packed ring dequeue

2022-06-20 Thread Jiang, Cheng1
Hi Maxime, Sorry for the late reply. I missed this email somehow. > -Original Message- > From: Maxime Coquelin > Sent: Friday, June 17, 2022 9:34 PM > To: Jiang, Cheng1 ; Xia, Chenbo > > Cc: dev@dpdk.org; Hu, Jiayu ; Ding, Xuan > ; Ma, WenwuX ; Wang, > YuanX ; Yang, YvonneX > Subject:

[PATCH v2] app/test: add additional stream cipher tests

2022-06-20 Thread Tejasree Kondoj
Adding zuc, snow3g and aes-ctr-cmac auth-cipher test vectors with same auth and cipher offsets and total digest data encrypted. Existing tests have different cipher and auth offsets and partial or no digest encrypted. Signed-off-by: Tejasree Kondoj --- v2: * Removed cn9k PMD checks app/test/tes

[PATCH v2 3/3] crypto/cnxk: support scatter gather mode

2022-06-20 Thread Tejasree Kondoj
Adding scatter gather support for zuc, snow3g and aes-ctr-cmac chained operations on cn9k. Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_se.h | 149 +- 1 file changed, 128 insertions(+), 21 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/d

[PATCH v2 2/3] crypto/cnxk: support stream cipher chained operations

2022-06-20 Thread Tejasree Kondoj
Adding support for zuc, snow3g and aes-ctr-cmac chained operations on cn9k using key and IV scheme in microcode. Signed-off-by: Tejasree Kondoj --- drivers/common/cnxk/roc_se.c | 271 +-- drivers/common/cnxk/roc_se.h | 74 +-- drivers/crypto/cnxk/

[PATCH v2 1/3] crypto/cnxk: fix CMAC IV

2022-06-20 Thread Tejasree Kondoj
Fixing CMAC IV length to 16 bytes. Fixes: 759b5e653580 ("crypto/cnxk: support AES-CMAC") Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_se.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h index 5c61e

[PATCH v2 0/3] support stream cipher chained operations

2022-06-20 Thread Tejasree Kondoj
This series adds support for zuc, snow3g and aes-ctr-cmac chained operations in cn9k PMD. v2: * Split autotest patch into separate series Tejasree Kondoj (3): crypto/cnxk: fix CMAC IV crypto/cnxk: support stream cipher chained operations crypto/cnxk: support scatter gather mode drivers/co

[PATCH] crypto/cnxk: add CPT hardware flow control checks

2022-06-20 Thread Anoob Joseph
Add hardware supported flow control checks before enqueueing to CPT. Since both poll mode and event mode can be used at the same time, add hardware flow control checks to make sure s/w doesn't over submit to hardware queues. For cn9k, queue depth usage is not high and so FC check is omitted for pol

[PATCH] event/cnxk: initialize work slot read cache

2022-06-20 Thread Volodymyr Fialko
Initialize gw_rdata with tag type EMPTY. Leaving tag type as zero(ATOMIC) may cause some unnecessary head wait, if cache will be used before the first update in dequeue/get_work functions. Signed-off-by: Volodymyr Fialko --- drivers/event/cnxk/cn10k_eventdev.c | 1 + 1 file changed, 1 insertion(

RE: [PATCH] net: fix checksum with unaligned buffer

2022-06-20 Thread Morten Brørup
> From: Emil Berg [mailto:emil.b...@ericsson.com] > Sent: Monday, 20 June 2022 12.38 > > > From: Morten Brørup > > Sent: den 17 juni 2022 11:07 > > > > > From: Morten Brørup [mailto:m...@smartsharesystems.com] > > > Sent: Friday, 17 June 2022 10.45 > > > > > > With this patch, the checksum can be

Re: [PATCH v4 08/15] vdpa/mlx5: add multi-thread management for configuration

2022-06-20 Thread Maxime Coquelin
On 6/18/22 11:02, Li Zhang wrote: The LM process includes a lot of objects creations and destructions in the source and the destination servers. As much as LM time increases, the packet drop of the VM increases. To improve LM time need to parallel the configurations for mlx5 FW. Add internal m

Re: [dpdk-dev] [PATCH 1/8] net/bnxt: remove assert for zero data len in Tx path

2022-06-20 Thread Ferruh Yigit
On 6/20/2022 12:09 AM, Ajit Khaparde wrote: On Thu, Jun 16, 2022 at 10:03 AM Ferruh Yigit wrote: On 6/15/2022 3:56 PM, Kalesh A P wrote: From: Somnath Kotur Currently the PMD tries to detect a potential 0 byte DMA by using RTE_VERIFY. But since RTE_VERIFY internally calls rte_panic() it is

Re: [EXT] [PATCH v2 1/2] examples/l3fwd: common packet group functionality

2022-06-20 Thread Thomas Monjalon
20/06/2022 09:49, Akhil Goyal: > @tho...@monjalon.net: Can this patch be taken in next-crypto as the patch is > primarily for ipsec-secgw? Yes that's fine.

[PATCH v4 14/14] vhost: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: Chenbo Xia --- lib/vhost/vhost.h | 2 -- lib/vhost/vhost_user.h | 1 - 2 files changed, 3 deletions(-) diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h index 14235aaf81..4ebcb74

[PATCH v4 13/14] timer: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/timer/rte_timer.c | 1 - lib/timer/rte_timer.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c index c51a393e5c..9994813d0d 100644 --- a

[PATCH v4 12/14] sched: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/sched/rte_pie.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/sched/rte_pie.c b/lib/sched/rte_pie.c index d37b79e6dd..c84f75a18c 100644 --- a/lib/sched/rte_pie.c +++ b/lib/sched/r

[PATCH v4 11/14] rawdev: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: Hemant Agrawal --- lib/rawdev/rte_rawdev.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/rawdev/rte_rawdev.h b/lib/rawdev/rte_rawdev.h index 14e8eb972f..66080eae9e 100644 --- a

[PATCH v4 10/14] power: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/power/rte_power_empty_poll.h | 3 --- lib/power/rte_power_pmd_mgmt.h | 4 2 files changed, 7 deletions(-) diff --git a/lib/power/rte_power_empty_poll.h b/lib/power/rte_power_empty_

[PATCH v4 09/14] net: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/net/rte_net.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/net/rte_net.h b/lib/net/rte_net.h index 53a7f4d360..56611fc8f9 100644 --- a/lib/net/rte_net.h +++ b/lib/net/rte_net.h @

[PATCH v4 08/14] meter: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/meter/rte_meter.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/meter/rte_meter.c b/lib/meter/rte_meter.c index da01429a8b..4549b97d36 100644 --- a/lib/meter/rte_meter.c +++ b/

[PATCH v4 07/14] jobstats: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/jobstats/rte_jobstats.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/jobstats/rte_jobstats.h b/lib/jobstats/rte_jobstats.h index 023d9dd15c..45b460e603 100644 --- a/lib/jobstats/

[PATCH v4 06/14] hash: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/hash/rte_cuckoo_hash.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c index 490f94af4b..62c762439a 100644 --- a/lib/hash/rte_c

[PATCH v4 05/14] gso: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/gso/gso_common.c | 1 - lib/gso/gso_common.h | 1 - lib/gso/gso_tcp4.h| 1 - lib/gso/gso_tunnel_tcp4.h | 1 - lib/gso/gso_tunnel_udp4.h | 1 - lib/gso/gso_udp4.h|

[PATCH v4 04/14] gpudev: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/gpudev/gpudev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/gpudev/gpudev.c b/lib/gpudev/gpudev.c index 56033f4a5f..ee3ae80f82 100644 --- a/lib/gpudev/gpudev.c +++ b/lib/gpudev/

[PATCH v4 03/14] ethdev: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/ethdev/rte_class_eth.c | 2 -- lib/ethdev/rte_ethdev.c| 9 - lib/ethdev/rte_ethdev.h| 1 - lib/ethdev/rte_flow.c | 2 -- lib/ethdev/rte_flow.h | 3 --- lib/ethdev

[PATCH v4 02/14] eal: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/eal/common/eal_common_config.c | 1 - lib/eal/common/eal_common_launch.c | 1 - lib/eal/common/eal_common_log.c| 1 - lib/eal/linux/eal_thread.c | 6 -- lib/eal/unix/eal_fi

[PATCH v4 01/14] cmdline: remove unneeded header includes

2022-06-20 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/cmdline/cmdline_cirbuf.h| 1 - lib/cmdline/cmdline_parse_num.c | 3 --- lib/cmdline/cmdline_socket.c| 4 lib/cmdline/cmdline_socket.h| 1 - 4 files changed, 9 deletions(-)

[PATCH v4 00/14] remove IWYU flagged headers

2022-06-20 Thread Sean Morrissey
This patchset removes unused header includes flagged by the IWYU tool for the 22.07 release. V4: * Fix arm build issues. V3: * Fix more linux build issues. V2: * Fix various build issues. Sean Morrissey (14): cmdline: remove unneeded header includes eal: remove unneeded header includes ethd

RE: [PATCH v2] net/virtio: unmap PCI device in secondary process

2022-06-20 Thread Wang, YuanX
Hi Chenbo, > -Original Message- > From: Xia, Chenbo > Sent: Monday, June 20, 2022 11:38 AM > To: Wang, YuanX ; maxime.coque...@redhat.com; > dev@dpdk.org > Cc: Hu, Jiayu ; He, Xingguang > ; Ling, WeiX ; > sta...@dpdk.org > Subject: RE: [PATCH v2] net/virtio: unmap PCI device in secondary

RE: [PATCH v2] examples/vhost: fix retry logic on eth rx path

2022-06-20 Thread Hu, Jiayu
> -Original Message- > From: Xia, Chenbo > Sent: Monday, June 20, 2022 5:10 PM > To: Hu, Jiayu ; David Marchand > ; maxime.coque...@redhat.com > Cc: Wang, YuanX ; dev@dpdk.org; He, Xingguang > ; sta...@dpdk.org; Ling, WeiX > ; jin@corigine.com; louis.pe...@corigine.com; > peng.zh...@

RE: [EXT] [PATCH] net/qede: fix build with GCC 13

2022-06-20 Thread Devendra Singh Rawat
> -Original Message- > From: Ferruh Yigit > Sent: Thursday, June 16, 2022 10:32 PM > To: Rasesh Mody ; Devendra Singh Rawat > ; Igor Russkikh > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; > sta...@dpdk.org > Subject: [EXT] [PATCH] net/qede: fix build with GCC 13 > > External Email >

RE: [PATCH v2] examples/vhost: fix retry logic on eth rx path

2022-06-20 Thread Xia, Chenbo
> -Original Message- > From: Wang, YuanX > Sent: Monday, June 20, 2022 5:19 PM > To: Xia, Chenbo ; Hu, Jiayu ; > David Marchand ; maxime.coque...@redhat.com > Cc: dev@dpdk.org; He, Xingguang ; sta...@dpdk.org; > Ling, WeiX ; jin@corigine.com; > louis.pe...@corigine.com; peng.zh...@cori

Re: [PATCH v4 07/15] vdpa/mlx5: optimize datapath-control synchronization

2022-06-20 Thread Maxime Coquelin
On 6/18/22 11:02, Li Zhang wrote: The driver used a single global lock for any synchronization needed for the datapath and control path. It is better to group the critical sections with the other ones that should be synchronized. Replace the global lock with the following locks: 1.virtq lock

RE: [PATCH] dma/idxd: fix missing default for workqueue options

2022-06-20 Thread Walsh, Conor
> When no --wq-option flag is passed to dpdk_idxd_cfg.py script, the > default value used by argparse is None. This leads to later errors which > are expecting an array value: > > TypeError: 'NoneType' object is not iterable > > This is fixed by specifying that the empty array should be the

RE: [PATCH] dma/idxd: fix AVX2 code in non-datapath functions

2022-06-20 Thread Walsh, Conor
> While all systems which will use the idxd driver for hardware will > support AVX2, if the driver is present the initialization functions e.g. > to register logs, will be called on all systems - irrespective of HW > support. This can cause issues if the system running DPDK does not have > AVX2, an

RE: [PATCH v2] examples/vhost: fix retry logic on eth rx path

2022-06-20 Thread Wang, YuanX
> -Original Message- > From: Xia, Chenbo > Sent: Monday, June 20, 2022 5:10 PM > To: Hu, Jiayu ; David Marchand > ; maxime.coque...@redhat.com > Cc: Wang, YuanX ; dev@dpdk.org; He, Xingguang > ; sta...@dpdk.org; Ling, WeiX > ; jin@corigine.com; louis.pe...@corigine.com; > peng.zh...@

RE: [PATCH] crypto/qat: fix missing copy guards in asym mod

2022-06-20 Thread Zhang, Roy Fan
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Friday, June 17, 2022 12:20 PM > To: dev@dpdk.org > Cc: gak...@marvell.com; Zhang, Roy Fan ; Kusztal, > ArkadiuszX > Subject: [PATCH] crypto/qat: fix missing copy guards in asym mod > > This commit fixes missing guards for size of

RE: [PATCH] crypto/scheduler: fix qp_id in scheduler failover

2022-06-20 Thread Zhang, Roy Fan
> -Original Message- > From: Wysocki, JakubX > Sent: Wednesday, June 15, 2022 2:14 PM > To: dev@dpdk.org > Cc: Ji, Kai ; Zhang, Roy Fan ; > Wysocki, JakubX > Subject: [PATCH] crypto/scheduler: fix qp_id in scheduler failover > > This commit fixes wrong qp_id value in cryptodev scheduler

RE: [PATCH v2] examples/vhost: fix retry logic on eth rx path

2022-06-20 Thread Xia, Chenbo
> -Original Message- > From: Hu, Jiayu > Sent: Monday, June 20, 2022 4:59 PM > To: Xia, Chenbo ; David Marchand > ; maxime.coque...@redhat.com > Cc: Wang, YuanX ; dev@dpdk.org; He, Xingguang > ; sta...@dpdk.org; Ling, WeiX > ; jin@corigine.com; louis.pe...@corigine.com; > peng.zh...@co

RE: [PATCH v2 0/2] fix compilation with GCC 12

2022-06-20 Thread Akhil Goyal
> v2: > - Add Bugzilla ID in patch 1. > - Remove empty line between Fixes: and Cc:. > Applied to dpdk-next-crypto Thanks.

RE: [EXT] Re: [PATCH v2] test/ipsec: fix build with GCC 12

2022-06-20 Thread Akhil Goyal
> On Thu, Jun 16, 2022 at 11:33 AM David Marchand > wrote: > > > > GCC 12 raises the following warning: > > > > In function ‘_mm256_loadu_si256’, > > inlined from ‘rte_mov32’ at > > ../lib/eal/x86/include/rte_memcpy.h:319:9, > > inlined from ‘rte_mov128’ at > > ../lib/eal/x

Re: [PATCH v4 05/15] common/mlx5: extend virtq modifiable fields

2022-06-20 Thread Maxime Coquelin
On 6/18/22 11:02, Li Zhang wrote: A virtq configuration can be modified after the virtq creation. Added the following modifiable fields: 1.address fields: desc_addr/used_addr/available_addr 2.hw_available_index 3.hw_used_index 4.virtio_q_type 5.version type 6.queue mkey 7.feature bit mask: tso

RE: [PATCH v2] examples/vhost: fix retry logic on eth rx path

2022-06-20 Thread Hu, Jiayu
> -Original Message- > From: Xia, Chenbo > Sent: Monday, June 20, 2022 3:49 PM > To: David Marchand ; > maxime.coque...@redhat.com > Cc: Wang, YuanX ; dev@dpdk.org; Hu, Jiayu > ; He, Xingguang ; > sta...@dpdk.org; Ling, WeiX ; jin@corigine.com; > louis.pe...@corigine.com; peng.zh...@

[PATCH v8 3/3] pcap: support MTU set for linux interfaces count ierrors

2022-06-20 Thread Ido Goshen
Count oversized packets that are dropped by the interface Signed-off-by: Ido Goshen --- drivers/net/pcap/pcap_ethdev.c | 74 +- 1 file changed, 45 insertions(+), 29 deletions(-) diff --git a/drivers/net/pcap/pcap_ethdev.c b/drivers/net/pcap/pcap_ethdev.c index ff

[PATCH v8 0/3] pcap: support MTU set for linux interfaces

2022-06-20 Thread Ido Goshen
Support rte_eth_dev_set_mtu for pcap ifaces vdevs by setting the underlying OS network interface's MTU. Support is for pcap ifaces only and not for pcap files. Support is for Linux only. patch series: [PATCH v8 1/3] pcap: support MTU set for linux interfaces [PATCH v8 2/3] pcap: support MTU set fo

[PATCH v8 2/3] pcap: support MTU set for linux interfaces TX enhancment

2022-06-20 Thread Ido Goshen
Drop only the oversized packets and not its entire burst mbuf will be freed and will be counted as oerror Signed-off-by: Ido Goshen --- drivers/net/pcap/pcap_ethdev.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/net/pcap/pcap_ethdev.c b/drivers/net/pcap/

[PATCH v8 1/3] pcap: support MTU set for linux interfaces

2022-06-20 Thread Ido Goshen
Support rte_eth_dev_set_mtu for pcap ifaces vdevs by setting the underlying OS network interface's MTU. Support is for pcap ifaces only and not for pcap files. Support is for Linux only. Bugzilla ID: 961 Signed-off-by: Ido Goshen --- doc/guides/rel_notes/release_22_07.rst | 3 ++ drivers/net/pc

Re: [PATCH v2 3/4] doc: give specific instructions for running as non-root

2022-06-20 Thread Bruce Richardson
On Mon, Jun 20, 2022 at 06:10:37AM +, Dmitry Kozlyuk wrote: > > From: Bruce Richardson > > Sent: Friday, June 17, 2022 7:38 PM > > > [...] > > > +If the driver requires using physical addresses (PA), > > > +the executable file must be granted additional capabilities: > > > + > > > +* ``SYS_ADM

Re: [PATCH v6] eal: allow worker lcore stacks to be allocated from hugepage memory

2022-06-20 Thread David Marchand
On Tue, May 24, 2022 at 9:52 PM Don Wallwork wrote: > > Add support for using hugepages for worker lcore stack memory. The > intent is to improve performance by reducing stack memory related TLB > misses and also by using memory local to the NUMA node of each lcore. > EAL option '--huge-worker-st

  1   2   >