[dpdk-dev] [PATCH] net/i40e: fix vf rxq buf size alignment

2021-09-06 Thread Qiming Chen
The RTE_ALIGN macro is aligned upwards. If the buf_size variable is not aligned with 1 << I40E_RXQ_CTX_DBUFF_SHIFT, the rx_buf_len is larger than the actual mbuf memory after the operation. When receiving the packet, if the packet is larger than the configured buf_size, it will cause a memory stepp

[dpdk-dev] [PATCH] net/i40e: extend the polling times of vf reset

2021-09-06 Thread Qiming Chen
In the embedded RTOS environment, the x722 controller Ethernet card of the d2146nt chip, the vfio user mode driver takes over 8 vf ports in turn, but i40evf_check_vf_reset_done will probably fail. This issue has been discussed with intel&dpdk experts for 3 rounds before, and the version matching i

Re: [dpdk-dev] [PATCH] lib/cmdline: release cl when cmdline exit

2021-09-06 Thread Dmitry Kozlyuk
2021-09-06 05:51 (UTC+), Peng, ZhihongX: > > -Original Message- > > From: Dmitry Kozlyuk > > Sent: Wednesday, September 1, 2021 1:52 AM > > To: Peng, ZhihongX > > Cc: olivier.m...@6wind.com; dev@dpdk.org; sta...@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] lib/cmdline: release cl when

[dpdk-dev] DPDK/ipv4_mcast sample application doesn't work

2021-09-06 Thread KESHAVARAO, RASHMI
Hi, We are trying to use the ipv4_multicast app in DPDK examples. However, we are not able to get it to run as expected. The behavior that we are seeing is that packets are being sent from a packet generator but they are not being received by the APP. We have tried debugging the app by putting p

Re: [dpdk-dev] [PATCH v19 1/7] dmadev: introduce DMA device library public APIs

2021-09-06 Thread fengchengwen
I think we can add support for DIR_ANY. @Bruce @Jerin Would you please take a look at my proposal? On 2021/9/6 14:48, Gagandeep Singh wrote: > > >> -Original Message- >> From: fengchengwen >> Sent: Saturday, September 4, 2021 7:02 AM >> To: Gagandeep Singh ; tho...@monjalon.net; >> ferr

[dpdk-dev] [PATCH 01/27] common/cnxk: update policer MBOX APIs and HW definitions

2021-09-06 Thread skori
From: Sunil Kumar Kori To support ingress policer on CN10K, MBOX interfaces and HW definitions are synced. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/hw/nix.h | 13 ++--- drivers/common/cnxk/roc_mbox.h | 34 +- 2 files changed, 43 insertio

[dpdk-dev] [PATCH 02/27] common/cnxk: support RoC API to get level to index

2021-09-06 Thread skori
From: Sunil Kumar Kori CN10K platform supports policer up to 3 level of hierarchy. Implement RoC API to get corresponding index for given level. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/meson.build| 1 + drivers/common/cnxk/roc_nix.h | 11 +++ drivers/common/cn

[dpdk-dev] [PATCH 03/27] common/cnxk: support RoC API to get profile count

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement interface to get available profile count for given nixlf. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_nix.h | 5 drivers/common/cnxk/roc_nix_bpf.c | 46 +++ drivers/common/cnxk/version.map | 1 + 3 files

[dpdk-dev] [PATCH 04/27] common/cnxk: support RoC API to alloc bandwidth profiles

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement RoC API to allocate HW resources i.e. bandwidth profiles for policer processing on CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_nix.h | 11 drivers/common/cnxk/roc_nix_bpf.c | 104 ++ drivers/

[dpdk-dev] [PATCH 05/27] common/cnxk: support RoC API to free bandwidth profiles

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement RoC interface to free HW bandwidth profiles on CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_nix.h | 6 + drivers/common/cnxk/roc_nix_bpf.c | 40 +++ drivers/common/cnxk/version.map | 2 ++ 3

[dpdk-dev] [PATCH 06/27] common/cnxk: support RoC API to configure bandwidth profile

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement RoC API to configure HW bandwidth profile for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_nix.h | 108 +++ drivers/common/cnxk/roc_nix_bpf.c | 223 ++ drivers/common/cnxk/version.map

[dpdk-dev] [PATCH 07/27] common/cnxk: support RoC API to toggle profile state

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement RoC API to enable or disable HW bandwidth profiles on CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_nix.h | 4 drivers/common/cnxk/roc_nix_bpf.c | 36 +++ drivers/common/cnxk/version.map | 1

[dpdk-dev] [PATCH 08/27] common/cnxk: support RoC API to dump bandwidth profile

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement RoC API to dump bandwidth profile on CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_nix.h | 3 ++ drivers/common/cnxk/roc_nix_bpf.c | 86 ++ drivers/common/cnxk/roc_platform.h | 1 + drivers/commo

[dpdk-dev] [PATCH 09/27] common/cnxk: support RoC API to setup precolor table

2021-09-06 Thread skori
From: Sunil Kumar Kori For initial coloring of input packet, CN10K platform maintains precolor table for VLAN, DSCP and Generic. Implement RoC interface to setup pre color table. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_nix.h | 20 drivers/common/cnxk/roc_nix_bpf.c

[dpdk-dev] [PATCH 10/27] common/cnxk: support RoC API to connect bandwidth profiles

2021-09-06 Thread skori
From: Sunil Kumar Kori To maintain chain of bandwidth profiles, they needs to be connected. Implement RoC API to connect two bandwidth profiles at different levels. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_nix.h | 6 ++ drivers/common/cnxk/roc_nix_bpf.c | 36 +++

[dpdk-dev] [PATCH 11/27] common/cnxk: support RoC API to get stats to index

2021-09-06 Thread skori
From: Sunil Kumar Kori CN10K platform supports different stats for HW bandwidth profiles. Implement RoC API to get index for given stats type. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_nix.h | 18 drivers/common/cnxk/roc_nix_bpf.c | 34 +++

[dpdk-dev] [PATCH 12/27] common/cnxk: support RoC API to read profile statistics

2021-09-06 Thread skori
From: Sunil Kumar Kori CN10K platform provides statistics per bandwidth profile and per nixlf. Implement RoC API to read stats for given bandwidth profile. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_nix.h | 9 ++ drivers/common/cnxk/roc_nix_bpf.c | 197 ++

[dpdk-dev] [PATCH 13/27] common/cnxk: support RoC API to reset profile stats

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement RoC API to reset stats per bandwidth profile or per nixlf. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_nix.h | 7 ++ drivers/common/cnxk/roc_nix_bpf.c | 113 ++ drivers/common/cnxk/version.map | 2 + 3 files

[dpdk-dev] [PATCH 14/27] common/cnxk: support meter in action list

2021-09-06 Thread skori
From: Sunil Kumar Kori Meter action is added in supported action list. Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_npc.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_npc.h b/drivers/common/cnxk/roc_npc.h index bab25fd72e..085

[dpdk-dev] [PATCH 15/27] net/cnxk: support meter ops get API

2021-09-06 Thread skori
From: Sunil Kumar Kori To enable support for ingress meter, supported operations are exposed for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev.c | 1 + drivers/net/cnxk/cn10k_ethdev.h | 2 ++ drivers/net/cnxk/cn10k_ethdev_mtr.c | 18 +++

[dpdk-dev] [PATCH 16/27] net/cnxk: support ops to get meter capabilities

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement ethdev operation to get meter capabilities for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev_mtr.c | 48 + 1 file changed, 48 insertions(+) diff --git a/drivers/net/cnxk/cn10k_ethdev_mtr.c b/driv

[dpdk-dev] [PATCH 17/27] net/cnxk: support ops to create meter profile

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement API to add meter profile for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev_mtr.c | 104 drivers/net/cnxk/cnxk_ethdev.h | 13 2 files changed, 117 insertions(+) diff --git a/drivers/net

[dpdk-dev] [PATCH 18/27] net/cnxk: support ops to delete meter profile

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement API to delete meter profile for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev_mtr.c | 30 + 1 file changed, 30 insertions(+) diff --git a/drivers/net/cnxk/cn10k_ethdev_mtr.c b/drivers/net/cnxk/cn

[dpdk-dev] [PATCH 19/27] net/cnxk: support ops to validate meter policy

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement API to validate meter policy for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev_mtr.c | 63 + 1 file changed, 63 insertions(+) diff --git a/drivers/net/cnxk/cn10k_ethdev_mtr.c b/drivers/net/cnxk/c

[dpdk-dev] [PATCH 20/27] net/cnxk: support ops to create meter policy

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement API to add meter policy for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev_mtr.c | 47 + drivers/net/cnxk/cnxk_ethdev.h | 12 2 files changed, 59 insertions(+) diff --git a/drivers/ne

[dpdk-dev] [PATCH 21/27] net/cnxk: support ops to delete meter policy

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement API to delete meter policy for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev_mtr.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/net/cnxk/cn10k_ethdev_mtr.c b/drivers/net/cnxk/cn10k_

[dpdk-dev] [PATCH 22/27] net/cnxk: support ops to create meter

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement API to create meter instance for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev_mtr.c | 75 + drivers/net/cnxk/cnxk_ethdev.h | 20 2 files changed, 95 insertions(+) diff --git a/drive

[dpdk-dev] [PATCH 23/27] net/cnxk: support ops to delete meter

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement API to delete meter instance for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev_mtr.c | 82 + 1 file changed, 82 insertions(+) diff --git a/drivers/net/cnxk/cn10k_ethdev_mtr.c b/drivers/net/cnxk/c

[dpdk-dev] [PATCH 24/27] net/cnxk: support ops to enable/disable meter

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement API to enable or disable meter instance for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev_mtr.c | 60 + 1 file changed, 60 insertions(+) diff --git a/drivers/net/cnxk/cn10k_ethdev_mtr.c b/drivers

[dpdk-dev] [PATCH 25/27] net/cnxk: support ops to update precolor DSCP table

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement API to update DSCP table for pre-coloring for incoming packet per nixlf for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev_mtr.c | 43 + drivers/net/cnxk/cnxk_ethdev.h | 1 + 2 files changed,

[dpdk-dev] [PATCH 26/27] net/cnxk: support ops to read/update meter stats

2021-09-06 Thread skori
From: Sunil Kumar Kori Implement API to read and update stats corresponding to given meter instance for CN10K platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev_mtr.c | 141 1 file changed, 141 insertions(+) diff --git a/drivers/net/cnxk/c

[dpdk-dev] [PATCH 27/27] net/cnxk: support meter action to flow create

2021-09-06 Thread skori
From: Sunil Kumar Kori Meters are configured per flow using rte_flow_create API. Implement support for meter action applied on the flow. Signed-off-by: Sunil Kumar Kori --- doc/guides/nics/features/cnxk.ini| 1 + doc/guides/nics/features/cnxk_vf.ini | 1 + drivers/net/cnxk/cn10k_ethdev

Re: [dpdk-dev] [PATCH v18 8/8] maintainers: add for dmadev

2021-09-06 Thread fengchengwen
On 2021/9/6 9:46, Li, Xiaoyun wrote: > Hi > >> -Original Message- >> From: fengchengwen >> Sent: Saturday, September 4, 2021 15:02 >> To: Maxime Coquelin ; Richardson, Bruce >> ; Li, Xiaoyun >> Cc: tho...@monjalon.net; Yigit, Ferruh ; >> jer...@marvell.com; jerinjac...@gmail.com; andrew.

Re: [dpdk-dev] [PATCH v18 8/8] maintainers: add for dmadev

2021-09-06 Thread fengchengwen
On 2021/9/6 10:03, Xia, Chenbo wrote: > Hi, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Friday, September 3, 2021 8:59 PM >> To: fengchengwen ; Richardson, Bruce >> ; Li, Xiaoyun >> Cc: tho...@monjalon.net; Yigit, Ferruh ; >> jer...@marvell.com; jerinjac...@gmail.com; andre

[dpdk-dev] [Bug 807] mbuf couldn't be allocated in socket1 in dynmen mode, but in legency mode, mbuf could be allocated correctly in remote socket1.

2021-09-06 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=807 Bug ID: 807 Summary: mbuf couldn't be allocated in socket1 in dynmen mode, but in legency mode, mbuf could be allocated correctly in remote socket1. Product: DPDK Version:

Re: [dpdk-dev] [PATCH v19 1/7] dmadev: introduce DMA device library public APIs

2021-09-06 Thread Jerin Jacob
On Mon, Sep 6, 2021 at 1:22 PM fengchengwen wrote: > > I think we can add support for DIR_ANY. > @Bruce @Jerin Would you please take a look at my proposal? Since the channel is virtual, it will be cheap to avoid any fast path flags and keep the current scheme as it max we will have 4 channels for

Re: [dpdk-dev] [PATCH v19 1/7] dmadev: introduce DMA device library public APIs

2021-09-06 Thread Bruce Richardson
On Mon, Sep 06, 2021 at 03:52:21PM +0800, fengchengwen wrote: > I think we can add support for DIR_ANY. > @Bruce @Jerin Would you please take a look at my proposal? > I don't have a strong opinion on this. However, is one of the reasons we have virtual-channels in the API rather than HW channels

Re: [dpdk-dev] [PATCH v2] eventdev: rx-adapter: improve enqueue buffer to circular buffer

2021-09-06 Thread Jerin Jacob
On Mon, Aug 30, 2021 at 6:41 PM Ganapati Kundapura wrote: > > v2: > * Fixed typo in commit message > * changed subject line > > v1: Changelog should be moved under "---".. See below. > RX adapter uses memove() to move unprocessed events to the beginning of > the packet enqueue buffer. The use me

[dpdk-dev] [Bug 731] [dpdk-19.11.9] telemetry: python3 /root/dpdk/usertools/dpdk-telemetry-client.py prompt connection refused

2021-09-06 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=731 jiang,yu (yux.ji...@intel.com) changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIR

Re: [dpdk-dev] [PATCH] eal: add macro to swap two numbers

2021-09-06 Thread Jerin Jacob
On Wed, Jul 28, 2021 at 8:52 PM Shijith Thotton wrote: > > Added a macro to swap two numbers and updated common autotest for the > same. > > Signed-off-by: Shijith Thotton Acked-by: Jerin Jacob > --- > Needed-for: drivers: add external clock support for cnxk timer @Thomas Monjalon Could y

Re: [dpdk-dev] [PATCH v4 1/2] config/arm: split march cfg into arch and features

2021-09-06 Thread Ruifeng Wang
> -Original Message- > From: Juraj Linkeš > Sent: Tuesday, August 17, 2021 6:57 PM > To: tho...@monjalon.net; david.march...@redhat.com; > bruce.richard...@intel.com; Honnappa Nagarahalli > ; Ruifeng Wang > ; fengcheng...@huawei.com; > ferruh.yi...@intel.com; jerinjac...@gmail.com; jer...@

Re: [dpdk-dev] [PATCH v4 2/2] config/arm: make n2 'crypto' an optional feature

2021-09-06 Thread Ruifeng Wang
> -Original Message- > From: Juraj Linkeš > Sent: Tuesday, August 17, 2021 6:57 PM > To: tho...@monjalon.net; david.march...@redhat.com; > bruce.richard...@intel.com; Honnappa Nagarahalli > ; Ruifeng Wang > ; fengcheng...@huawei.com; > ferruh.yi...@intel.com; jerinjac...@gmail.com; jer...@

Re: [dpdk-dev] [PATCH v2] event/cnxk: fix SSO and TIM argument parsing

2021-09-06 Thread Jerin Jacob
On Mon, Aug 30, 2021 at 9:37 PM Shijith Thotton wrote: > > Type of kvargs value and handler function argument should match to avoid > spilling memory. > > Fixes: 7ffa7379965e ("event/cnxk: add option to configure getwork mode") Cc: sta...@dpdk.org > > Signed-off-by: Shijith Thotton Applied to

Re: [dpdk-dev] [PATCH] doc: announce change in vfio dma mapping

2021-09-06 Thread Ding, Xuan
Hi, > -Original Message- > From: Kinsella, Ray > Sent: Friday, September 3, 2021 12:13 AM > To: Yigit, Ferruh ; Burakov, Anatoly > ; Ding, Xuan ; > dev@dpdk.org > Cc: maxime.coque...@redhat.com; Xia, Chenbo ; Hu, > Jiayu ; Richardson, Bruce ; > Thomas Monjalon > Subject: Re: [PATCH] doc:

[dpdk-dev] [PATCH 0/4] support async dequeue for split ring

2021-09-06 Thread Wenwu Ma
This patch implements asynchronous dequeue data path for split ring. A new asynchronous dequeue function is introduced. With this function, the application can try to receive packets from the guest with offloading copies to the DMA engine, thus saving precious CPU cycles. note: PATCH 2/4 depends o

[dpdk-dev] [PATCH 1/4] vhost: support async dequeue for split ring

2021-09-06 Thread Wenwu Ma
From: Yuan Wang This patch implements asynchronous dequeue data path for split ring. A new asynchronous dequeue function is introduced. With this function, the application can try to receive packets from the guest with offloading copies to the async channel, thus saving precious CPU cycles. Sign

[dpdk-dev] [PATCH 2/4] examples/vhost: refactor vhost enqueue and dequeue datapaths

2021-09-06 Thread Wenwu Ma
Previously, by judging the flag, we call different enqueue/dequeue functions in data path. Now, we use an ops that was initialized when Vhost was created, so that we can call ops directly in Vhost data path without any more flag judgment. Signed-off-by: Wenwu Ma Reviewed-by: Maxime Coquelin ---

[dpdk-dev] [PATCH 3/4] examples/vhost: use a new API to query remaining ring space

2021-09-06 Thread Wenwu Ma
A new API for querying the remaining descriptor ring capacity is available, so we use the new one instead of the old one. Signed-off-by: Wenwu Ma Reviewed-by: Maxime Coquelin --- examples/vhost/ioat.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/vhost/ioat.c

[dpdk-dev] [PATCH 4/4] examples/vhost: support vhost async dequeue data path

2021-09-06 Thread Wenwu Ma
This patch is to add vhost async dequeue data-path in vhost sample. vswitch can leverage IOAT to accelerate vhost async dequeue data-path. Signed-off-by: Wenwu Ma Reviewed-by: Maxime Coquelin --- doc/guides/sample_app_ug/vhost.rst | 9 +- examples/vhost/ioat.c | 61 +++-- ex

Re: [dpdk-dev] [PATCH] app/testpmd: fix random number of Tx segments

2021-09-06 Thread Li, Xiaoyun
Hi > -Original Message- > From: Zhang, AlvinX > Sent: Thursday, September 2, 2021 16:20 > To: Li, Xiaoyun ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Zhang, AlvinX ; sta...@dpdk.org > Subject: [PATCH] app/testpmd: fix random number of Tx segments > > When random number of segments in Tx

Re: [dpdk-dev] 19.11.10 patches review and test

2021-09-06 Thread Jiang, YuX
> -Original Message- > From: dev On Behalf Of > christian.ehrha...@canonical.com > Sent: Wednesday, September 1, 2021 5:19 PM > To: sta...@dpdk.org > Cc: dev@dpdk.org; Abhishek Marathe ; > Akhil Goyal ; Ali Alnubani ; > Walker, Benjamin ; David Christensen > ; Govindharajan, Hariprasad > ;

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/i40e: extend the polling times of vf reset

2021-09-06 Thread David Marchand
On Mon, Sep 6, 2021 at 9:08 AM Qiming Chen wrote: > > In the embedded RTOS environment, the x722 controller Ethernet card of > the d2146nt chip, the vfio user mode driver takes over 8 vf ports in > turn, but i40evf_check_vf_reset_done will probably fail. > > This issue has been discussed with inte

Re: [dpdk-dev] 19.11.10 patches review and test

2021-09-06 Thread Christian Ehrhardt
On Mon, Sep 6, 2021 at 11:33 AM Jiang, YuX wrote: > > > -Original Message- > > From: dev On Behalf Of > > christian.ehrha...@canonical.com > > Sent: Wednesday, September 1, 2021 5:19 PM > > To: sta...@dpdk.org > > Cc: dev@dpdk.org; Abhishek Marathe ; > > Akhil Goyal ; Ali Alnubani ; > > W

Re: [dpdk-dev] [PATCH] app/testpmd: fix random number of Tx segments

2021-09-06 Thread Zhang, AlvinX
> -Original Message- > From: Li, Xiaoyun > Sent: Monday, September 6, 2021 4:59 PM > To: Zhang, AlvinX ; Ananyev, Konstantin > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH] app/testpmd: fix random number of Tx segments > > Hi > > > -Original Message- > > From: Zhang

Re: [dpdk-dev] Intel FW 8.15 with DPDK 20.11 & 21.02

2021-09-06 Thread Xing, Beilei
Hi Igor, As I know, 8.15 is not validated by DPDK team, the recommended matching list is validated. Why did you use FW 8.15 with DPDK 20.11? How about updating FW to FW 8.30? the matching DPDK version is 21.05 & 21.08. And if there's any problem during using Intel NIC, you can find Intel PAE for

Re: [dpdk-dev] [PATCH] net/af_packet: fix ignoring full ring on tx

2021-09-06 Thread Tudor Cornea
Hi Ferruh, Would you mind separate timestamp status fix to its own patch? I think > better to > fix 'ignoring full Tx ring' first, to not make it dependent to timestamp > patch. Agreed. There are two issues solved by this patch. We will break it in two different patches. I can see 'TP_STATUS_TS

Re: [dpdk-dev] [PATCH] app/testpmd: fix random number of Tx segments

2021-09-06 Thread Li, Xiaoyun
> -Original Message- > From: Zhang, AlvinX > Sent: Monday, September 6, 2021 18:04 > To: Li, Xiaoyun ; Ananyev, Konstantin > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH] app/testpmd: fix random number of Tx segments > > > -Original Message- > > From: Li, Xiaoyun

[dpdk-dev] [dpdk-announce] DPDK 19.11.10 released

2021-09-06 Thread christian . ehrhardt
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-19.11.10.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=19.11 Thanks to all the involved testers, developers and backporters. I could not provide it without you! Two late patches that seem ri

Re: [dpdk-dev] [EXT] [PATCH v4 02/10] security: add UDP params for IPsec NAT-T

2021-09-06 Thread Nicolau, Radu
On 9/5/2021 3:19 PM, Akhil Goyal wrote: Hi Radu, Add support for specifying UDP port params for UDP encapsulation option. Signed-off-by: Declan Doherty Signed-off-by: Radu Nicolau Signed-off-by: Abhijit Sinha Signed-off-by: Daniel Martin Buckley Do we really need to specify the port num

Re: [dpdk-dev] [EXT] [PATCH v4 03/10] security: add ESN field to ipsec_xform

2021-09-06 Thread Nicolau, Radu
On 9/5/2021 3:47 PM, Akhil Goyal wrote: Hi Radu, -- Update ipsec_xform definition to include ESN field. Signed-off-by: Declan Doherty Signed-off-by: Radu Nicolau Signed-off-by: Abhijit Sinha Signed-off-by: Daniel Martin B

Re: [dpdk-dev] [EXT] [PATCH v4 07/10] ipsec: add support for NAT-T

2021-09-06 Thread Nicolau, Radu
On 9/5/2021 4:00 PM, Akhil Goyal wrote: Add support for the IPsec NAT-Traversal use case for Tunnel mode packets. Signed-off-by: Declan Doherty Signed-off-by: Radu Nicolau Signed-off-by: Abhijit Sinha Signed-off-by: Daniel Martin Buckley --- These ports are not getting used in this patch,

Re: [dpdk-dev] [EXT] [PATCH v4 03/10] security: add ESN field to ipsec_xform

2021-09-06 Thread Anoob Joseph
Hi Radu, > Hi Akhil, I suppose they can be complementary, with this one being a hard > ESN limit that the user can enforce by setting the initial ESN value - but > there > is no requirement to do so. Also, this change doesn't need explicit support > added in the PMDs. What is the actual use case

Re: [dpdk-dev] [EXT] [PATCH v4 10/10] ipsec: add ol_flags support

2021-09-06 Thread Nicolau, Radu
On 9/5/2021 4:14 PM, Akhil Goyal wrote: Set mbuff->ol_flags for IPsec packets. Could you please add more information in the description About the need of the patch and what issue this patch is resolving. I will add something like below, is that ok? "Update the IPsec library to set mbuff->o

[dpdk-dev] [dpdk-announce] DPDK 20.11.3 released

2021-09-06 Thread luca . boccassi
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-20.11.3.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=20.11 Luca Boccassi --- MAINTAINERS | 1 + VERSION |

Re: [dpdk-dev] DPDK/ipv4_mcast sample application doesn't work

2021-09-06 Thread Ferruh Yigit
On 9/6/2021 8:34 AM, KESHAVARAO, RASHMI wrote: > Hi, > We are trying to use the ipv4_multicast app in DPDK examples. > However, we are not able to get it to run as expected. > > The behavior that we are seeing is that packets are being sent from a packet > generator but they are not being receive

[dpdk-dev] [PATCH] ethdev: promote sibling iterators to stable

2021-09-06 Thread David Marchand
This API saw no update since its introduction and will help applications like OVS ([1] and [2]) that currently look at rte_eth_devices[] to achieve the same. 1: https://github.com/openvswitch/ovs/blob/master/lib/netdev-dpdk.c#L1285 2: https://github.com/openvswitch/ovs/blob/master/lib/netdev-dpdk.

Re: [dpdk-dev] [PATCH v2] event/cnxk: reduce max timer chunk pool cache size

2021-09-06 Thread Jerin Jacob
On Mon, Aug 30, 2021 at 9:45 PM Shijith Thotton wrote: > > Reduced max chunk pool cache size from RTE_MEMPOOL_CACHE_MAX_SIZE(512) > to 128. > > If chunk pool cache is empty, it gets filled during arm. Filling 512 > entries at a time will fail arm if timeout is shorter. > > Fixes: 0e792433d051 ("ev

Re: [dpdk-dev] [PATCH] eal: add log to print dpdk version at start

2021-09-06 Thread Singh, Aman Deep
On 9/2/2021 3:57 PM, Bruce Richardson wrote: On Thu, Sep 02, 2021 at 11:11:39AM +0100, Ferruh Yigit wrote: On 9/1/2021 6:12 PM, Stephen Hemminger wrote: On Wed, 1 Sep 2021 11:48:21 +0530 Aman Singh wrote: From the logs it is difficult to get the DPDK version that was used. So added a deb

Re: [dpdk-dev] [PATCH v20 2/7] dmadev: introduce DMA device library internal header

2021-09-06 Thread Bruce Richardson
On Sat, Sep 04, 2021 at 06:10:22PM +0800, Chengwen Feng wrote: > This patch introduce DMA device library internal header, which contains > internal data types that are used by the DMA devices in order to expose > their ops to the class. > > Signed-off-by: Chengwen Feng > Acked-by: Bruce Richardso

Re: [dpdk-dev] [PATCH v20 0/7] support dmadev

2021-09-06 Thread Bruce Richardson
On Sat, Sep 04, 2021 at 06:10:20PM +0800, Chengwen Feng wrote: > This patch set contains seven patch for new add dmadev. > > Chengwen Feng (7): > dmadev: introduce DMA device library public APIs > dmadev: introduce DMA device library internal header > dmadev: introduce DMA device library PMD

Re: [dpdk-dev] [EXT] [PATCH v4 03/10] security: add ESN field to ipsec_xform

2021-09-06 Thread Nicolau, Radu
On 9/6/2021 12:36 PM, Anoob Joseph wrote: Hi Radu, Hi Akhil, I suppose they can be complementary, with this one being a hard ESN limit that the user can enforce by setting the initial ESN value - but there is no requirement to do so. Also, this change doesn't need explicit support added in th

Re: [dpdk-dev] [PATCH] doc: announce change in vfio dma mapping

2021-09-06 Thread Ferruh Yigit
On 9/6/2021 9:51 AM, Ding, Xuan wrote: > Hi, > >> -Original Message- >> From: Kinsella, Ray >> Sent: Friday, September 3, 2021 12:13 AM >> To: Yigit, Ferruh ; Burakov, Anatoly >> ; Ding, Xuan ; >> dev@dpdk.org >> Cc: maxime.coque...@redhat.com; Xia, Chenbo ; Hu, >> Jiayu ; Richardson, Bru

Re: [dpdk-dev] [EXT] [PATCH v4 03/10] security: add ESN field to ipsec_xform

2021-09-06 Thread Anoob Joseph
Hi Radu, Akhil, Please see inline Thanks, Anoob > > On 9/6/2021 12:36 PM, Anoob Joseph wrote: > > Hi Radu, > > > >> Hi Akhil, I suppose they can be complementary, with this one being a > >> hard ESN limit that the user can enforce by setting the initial ESN > >> value - but there is no requirem

Re: [dpdk-dev] Running DPDK application with non-previlege mode

2021-09-06 Thread Kamaraj P
Hi Thomas/Antoly, We have tried with the below capability to start a DPDK application as a container. --cap-add=NET_ADMIN --cap-add=SYS_RESOURCE --cap-add=SYS_NICE Still We could see the failures when rte_eali_init() .. 09-06-2021 10:48:37.423583 EAL: NUMA is not supported. *09-06-2021 10:48:

Re: [dpdk-dev] [PATCH] ethdev: promote sibling iterators to stable

2021-09-06 Thread Andrew Rybchenko
On 9/6/21 4:02 PM, David Marchand wrote: > This API saw no update since its introduction and will help applications > like OVS ([1] and [2]) that currently look at rte_eth_devices[] to > achieve the same. > > 1: https://github.com/openvswitch/ovs/blob/master/lib/netdev-dpdk.c#L1285 > 2: https://gi

Re: [dpdk-dev] [PATCH] eventdev: cryptodev start in crypto adapter spec

2021-09-06 Thread Jerin Jacob
On Fri, Sep 3, 2021 at 12:12 PM Akhil Goyal wrote: > > > Event crypto adapter spec does not mention about cryptodev start and > > stop. Cryptodev attached to the adapter should be started before calling > > crypto adapter start. Added the same in spec and test application. > > > > Signed-off-by: S

[dpdk-dev] [PATCH v2 0/3] Add user specified IV with lookaside IPsec

2021-09-06 Thread Anoob Joseph
Add support for using user provided IV with lookaside protocol (IPsec). Using this option, application can provide IV to be used per operation. This option can be used for knownn vector tests (which is otherwise impossible due to random nature of IV) as well as if application wishes to use its own

[dpdk-dev] [PATCH v2 1/3] security: support user specified IV

2021-09-06 Thread Anoob Joseph
Enable user to provide IV to be used per security operation. This would be used with lookaside protocol offload for comparing against known vectors. By default, PMD would generate IV internally and would be random. Signed-off-by: Anoob Joseph --- doc/guides/rel_notes/release_21_11.rst | 5

[dpdk-dev] [PATCH v2 2/3] crypto/cnxk: add IV in SA in lookaside IPsec debug mode

2021-09-06 Thread Anoob Joseph
From: Tejasree Kondoj Adding IV in SA in lookaside IPsec debug mode. It helps to verify lookaside PMD using known outbound vectors in lookaside autotest. Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_ipsec.c | 16 + drivers/cr

[dpdk-dev] [PATCH v2 3/3] test/crypto: add outbound known vector tests

2021-09-06 Thread Anoob Joseph
Add outbound known vector tests. The tests would be skipped on PMDs which do not support IV provided by application. Signed-off-by: Anoob Joseph --- app/test/test_cryptodev.c| 44 app/test/test_cryptodev_security_ipsec.c | 16 +++- 2 files

[dpdk-dev] [PATCH] eventdev: add rx queue info get api

2021-09-06 Thread Ganapati Kundapura
Added rte_event_eth_rx_adapter_queue_info_get() API to get rx queue information - event queue identifier, flags for handling received packets, schedular type, event priority, polling frequency of the receive queue and flow identifier in rte_event_eth_rx_adapter_queue_info structure Signed-off-by:

Re: [dpdk-dev] Intel FW 8.15 with DPDK 20.11 & 21.02

2021-09-06 Thread Korolevskiy, Igor
Beilei, hello. Yes, we saw this table, thank you. My question was if we are using 8.15 FW with DPDK 20.11 - how are you going to work with Dell / MTS / Nokia - you will say that version is not supported, or you will help us to troubleshoot problem ( if any ) I don’t think 8.00 is strictly t

[dpdk-dev] [PATCH] rib: fix the IPv6 depth mask

2021-09-06 Thread Vladimir Medvedkin
Fixes: 03b8372a9a73 ("rib: fix max depth IPv6 lookup") Cc: ohily...@iol.unh.edu Cc: sta...@dpdk.org Signed-off-by: Vladimir Medvedkin --- lib/rib/rte_rib6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c index 96424e9..b00c7fb 100644 -

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

2021-09-06 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 --- app/test-fib/main.c| 2 ++ app/test/test_fib.c| 5 + app/test/test_fib6.c | 5 + app/test/test_fib6_perf.c

[dpdk-dev] [PATCH] fib: promote experimental API's to stable

2021-09-06 Thread Vladimir Medvedkin
The fib and fib6 API's have been in since 19.11 and should be marked as stable. Signed-off-by: Vladimir Medvedkin --- Notes: This patch should be applied after https://patches.dpdk.org/project/dpdk/patch/1630943759-362969-1-git-send-email-vladimir.medved...@intel.com/ lib/fib/rte_fib.

[dpdk-dev] [PATCH] hash: fix doxygen comments

2021-09-06 Thread Vladimir Medvedkin
Fixes: 7574c3ef7428 ("hash: add toeplitz algorithm used by RSS") Cc: sta...@dpdk.org Signed-off-by: Vladimir Medvedkin --- lib/hash/rte_thash.h | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lib/hash/rte_thash.h b/lib/hash/rte_thash.h index 6e6861c..b3cedea 100

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

2021-09-06 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 1/5] hash: add new toeplitz hash implementation

2021-09-06 Thread Vladimir Medvedkin
This patch add a new Toeplitz hash implementation using Galios Fields New Instructions (GFNI). Signed-off-by: Vladimir Medvedkin --- doc/api/doxy-api-index.md | 1 + lib/hash/meson.build | 1 + lib/hash/rte_thash.c | 26 ++ lib/hash/rte_thash.h | 22 + lib/hash/rte_t

[dpdk-dev] [PATCH 2/5] hash: enable gfni thash implementation

2021-09-06 Thread Vladimir Medvedkin
This patch enables new GFNI Toeplitz hash in predictable RSS library. Signed-off-by: Vladimir Medvedkin --- lib/hash/rte_thash.c | 43 +++ lib/hash/rte_thash.h | 19 +++ lib/hash/version.map | 1 + 3 files changed, 59 insertions(+), 4 dele

[dpdk-dev] [PATCH 3/5] doc/hash: update documentation for the thash library

2021-09-06 Thread Vladimir Medvedkin
This patch adds documentation for the new optimized Toeplitz hash implementation using GFNI. Signed-off-by: Vladimir Medvedkin --- doc/guides/prog_guide/toeplitz_hash_lib.rst | 37 + doc/guides/rel_notes/release_21_11.rst | 4 2 files changed, 37 insertions

[dpdk-dev] [PATCH 4/5] test/thash: add tests for a new Toeplitz hash function

2021-09-06 Thread Vladimir Medvedkin
This patch provides a set of tests for verifying the new implementation of Toeplitz hash function using GFNI. Signed-off-by: Vladimir Medvedkin --- app/test/test_thash.c | 231 ++ 1 file changed, 231 insertions(+) diff --git a/app/test/test_thash.

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

2021-09-06 Thread Vladimir Medvedkin
This patch adds performance tests for different implementations of the Toeplitz hash function. Signed-off-by: Vladimir Medvedkin --- app/test/meson.build | 2 + app/test/test_thash_perf.c | 125 + 2 files changed, 127 insertions(+) create mode

Re: [dpdk-dev] [PATCH v4] ethdev: fix representor port ID search by name

2021-09-06 Thread Viacheslav Galaktionov
On 2021-09-01 17:55, Ferruh Yigit wrote: On 8/31/2021 5:06 PM, Andrew Rybchenko wrote: From: Viacheslav Galaktionov Getting a list of representors from a representor does not make sense. Instead, a parent device should be used. Which code is getting list of the representors? As far as I ca

Re: [dpdk-dev] [PATCH] telemetry: add support for dicts of dicts

2021-09-06 Thread Power, Ciara
Hi Radu, >-Original Message- >From: Nicolau, Radu >Sent: Friday 3 September 2021 11:57 >To: Power, Ciara >Cc: dev@dpdk.org; Nicolau, Radu ; Doherty, Declan > >Subject: [PATCH] telemetry: add support for dicts of dicts > >Add support for dicts of dicts to telemetry library. > >Signed-of

Re: [dpdk-dev] [RFC PATCH v2 0/7] heterogeneous computing library

2021-09-06 Thread Wang, Haiyue
> -Original Message- > From: Elena Agostini > Sent: Tuesday, September 7, 2021 00:11 > To: Jerin Jacob > Cc: Wang, Haiyue ; NBU-Contact-Thomas Monjalon > ; Jerin > Jacob ; dpdk-dev ; Stephen Hemminger > ; > David Marchand ; Andrew Rybchenko > ; Honnappa > Nagarahalli ; Yigit, Ferruh >

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

2021-09-06 Thread 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.org/project/dpdk/list/?series=18677&state=%2A&archive=both - In any case, q

Re: [dpdk-dev] [RFC 0/7] hide eth dev related structures

2021-09-06 Thread Ferruh Yigit
On 8/26/2021 1:37 PM, Jerin Jacob wrote: > On Fri, Aug 20, 2021 at 9:59 PM Konstantin Ananyev > wrote: >> >> NOTE: This is just an RFC to start further discussion and collect the >> feedback. >> Due to significant amount of work, changes required are applied only to two >> PMDs so far: net/i40e a

Re: [dpdk-dev] [EXT] [PATCH v2] crypto/mlx5: fix timestamp format configuration

2021-09-06 Thread Akhil Goyal
> This patch adds support for the timestamp format settings for > the receive and send queues. If the firmware version x.30.1000 > or above is installed and the NIC timestamps are configured > with the real-time format, the default zero values for newly > added fields cause the queue creation to fa

Re: [dpdk-dev] [EXT] [PATCH 0/4] drivers/qat: isolate implementations of qat generations

2021-09-06 Thread Akhil Goyal
> 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 impa

Re: [dpdk-dev] [PATCH 0/8] cryptodev: hide internal strutures

2021-09-06 Thread Akhil Goyal
Hi All, Please review this series as soon as possible. Would like to merge this series as early as possible so that we have Lesser conflicts for other series. Thanks and Regards, Akhil > -Original Message- > From: Akhil Goyal > Sent: Sunday, August 29, 2021 6:22 PM > To: dev@dpdk.org >

  1   2   >