回复: [PATCH 3/3] net/ixgbe: reduce redundant store operation

2021-12-20 Thread Feifei Wang
> -邮件原件- > 发件人: Wang, Haiyue > 发送时间: Monday, December 20, 2021 3:25 PM > 收件人: Feifei Wang > 抄送: dev@dpdk.org; nd ; Ruifeng Wang > > 主题: RE: [PATCH 3/3] net/ixgbe: reduce redundant store operation > > > -Original Message- > > From: Feifei Wang > > Sent: Monday, December 20, 20

[PATCH] net/sfc: fix the argument to sizeof for unit cache

2021-12-20 Thread Weiguo Li
The size of unit cache should be sizeof(**cache) instead of sizeof(*cache). Memory reallocation is inadequate by sizeof(*cache) for the platform whose size of pointer is 32-bits. Found by coccinelle (see https://coccinelle.gitlabpages.inria.fr/website) script. Fixes: 63abf8d29225 ("net/sfc: suppor

RE: [PATCH v2 3/7] net/ixgbe: Check that SFF-8472 soft rate select is supported before write

2021-12-20 Thread Wang, Haiyue
> -Original Message- > From: Stephen Douthit > Sent: Tuesday, December 21, 2021 05:33 > To: Wang, Haiyue ; Lu, Wenzhuo ; > Changchun Ouyang > ; Zhang, Helin > Cc: dev@dpdk.org; Wang, Wen ; sta...@dpdk.org > Subject: Re: [PATCH v2 3/7] net/ixgbe: Check that SFF-8472 soft rate select > is

Re: [PATCH v2 3/7] net/ixgbe: Check that SFF-8472 soft rate select is supported before write

2021-12-20 Thread Stephen Douthit
On 12/20/21 02:53, Wang, Haiyue wrote: -Original Message- From: Stephen Douthit Sent: Tuesday, December 7, 2021 06:19 To: Wang, Haiyue ; Lu, Wenzhuo ; Changchun Ouyang ; Zhang, Helin Cc: dev@dpdk.org; Wen Wang ; Stephen Douthit ; sta...@dpdk.org Subject: [PATCH v2 3/7] net/ixgbe: Chec

Re: [PATCH v2 1/7] net/ixgbe: Fix ixgbe_is_sfp() to return valid result for X550EM_a devs

2021-12-20 Thread Stephen Douthit
On 12/20/21 02:45, Wang, Haiyue wrote: -Original Message- From: Stephen Douthit Sent: Tuesday, December 7, 2021 06:19 To: Wang, Haiyue ; Lu, Wenzhuo Cc: dev@dpdk.org; Wen Wang ; Stephen Douthit ; sta...@dpdk.org Subject: [PATCH v2 1/7] net/ixgbe: Fix ixgbe_is_sfp() to return valid resu

[PATCH] app/eventdev: add crypto producer mode

2021-12-20 Thread Shijith Thotton
In crypto producer mode, producer core enqueues cryptodev with software generated crypto ops and worker core dequeues crypto completion events from the eventdev. Event crypto metadata used for above processing is pre-populated in each crypto session. Parameter --prod_type_cryptodev can be used to

[PATCH] dma/idxd: fix burst capacity calculation

2021-12-20 Thread Bruce Richardson
When the maximum burst size supported by HW is less than the available ring space, incorrect capacity was returned when there was already some jobs queued up for submission. This was because the capacity calculation failed to subtract the number of already-enqueued jobs from the max burst size. Aft

Re: [PATCH 3/7] net/bonding: change mbuf pool and ring allocation

2021-12-20 Thread Sanford, Robert
Hello Connor, Please see responses inline. On 12/17/21, 10:44 PM, "Min Hu (Connor)" wrote: > > When the number of used tx-descs (0..255) + number of mbufs in the > > cache (0..47) reaches 257, then allocation fails. > > > > If I understand the LACP tx-burst code correctly, it would be > > wor

RE: [PATCH v2 2/2] examples/l3fwd: add config file support for EM

2021-12-20 Thread Ananyev, Konstantin
Hi Sean, Few comments below. > Add support to define ipv4 and ipv6 forwarding tables > from reading from a config file for EM with a format > similar to l3fwd-acl one. > > With the removal of the hardcoded route tables for IPv4 > and IPv6 from 'l3fwd_em', these routes have been moved > to a se

RE: [PATCH v2 1/2] examples/l3fwd: add config file support for LPM/FIB

2021-12-20 Thread Ananyev, Konstantin
> Add support to define ipv4 and ipv6 forwarding tables > from reading from a config file for LPM and FIB, > with format similar to l3fwd-acl one. > > With the removal of the hardcoded route tables for IPv4 > and IPv6, these routes have been moved to a separate > default config file for use with L

Fwd: [PATCH v2] net/virtio: unregister virtio user memory event to fix memory leak problem

2021-12-20 Thread Harold Huang
The problem which this patch wants to solve can be reproduced via ovs 2.16: 1. add a port with an invalid speed parameter: ovs-vsctl add-port ovs-br0 virtiouser0 -- set Interface virtiouser0 type=dpdk options:dpdk-devargs=virtio_user0,path=/dev/vhost-net,queue_size=1024,queues=1,speed=1000 2. de

[PATCH] common/cnxk: update NIX and NPA dump function

2021-12-20 Thread Rahul Bhansali
Updates nix_dump and npa_dump to use plt_dump function. Signed-off-by: Rahul Bhansali --- drivers/common/cnxk/roc_nix_debug.c | 4 ++-- drivers/common/cnxk/roc_npa_debug.c | 2 +- drivers/common/cnxk/roc_platform.h | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/co

Re: [PATCH 05/12] gen: add raw packet data API and tests

2021-12-20 Thread Jerin Jacob
On Fri, Dec 17, 2021 at 5:10 PM Van Haaren, Harry wrote: > > +CC Thomas; > > > -Original Message- > > From: Jerin Jacob > > Sent: Wednesday, December 15, 2021 12:41 PM > > To: Randles, Ronan > > Cc: dpdk-dev ; Van Haaren, Harry > > > > Subject: Re: [PATCH 05/12] gen: add raw packet data

[PATCH v2] net/virtio: unregister virtio user memory event to fix memory leak problem

2021-12-20 Thread Harold Huang
When eth_virtio_dev_init is failed, the registered virtio user memory is not released and creating a new virtio user dev could be failed because the new dev could use the same address pointer and the register virtio user memory to the same address is not allowed. Signed-off-by: Harold Huang ---

[PATCH] net/virtio: unregister virtio user memery event to fix memory leak problem

2021-12-20 Thread Harold Huang
When eth_virtio_dev_init is failed, the registered virtio user memery is not released and creating a new virtio user dev could be failed becase the new dev could use the same address pointer and the register virtio user memory to the same address is not allowed. Signed-off-by: Harold Huang --- d

[PATCH v2 2/2] examples/l3fwd: add config file support for EM

2021-12-20 Thread Sean Morrissey
Add support to define ipv4 and ipv6 forwarding tables from reading from a config file for EM with a format similar to l3fwd-acl one. With the removal of the hardcoded route tables for IPv4 and IPv6 from 'l3fwd_em', these routes have been moved to a separate default config file for use with EM. Re

[PATCH v2 1/2] examples/l3fwd: add config file support for LPM/FIB

2021-12-20 Thread Sean Morrissey
Add support to define ipv4 and ipv6 forwarding tables from reading from a config file for LPM and FIB, with format similar to l3fwd-acl one. With the removal of the hardcoded route tables for IPv4 and IPv6, these routes have been moved to a separate default config file for use with LPM and FIB. S

[PATCH v2 0/2] Add config file support for l3fwd

2021-12-20 Thread Sean Morrissey
This patchset introduces config file support for l3fwd and its lookup methods LPM, FIB, and EM, similar to that of l3fwd-acl. This allows for route rules to be defined in configuration files and edited there instead of in each of the lookup methods hardcoded route tables. Sean Morrissey (2): exa

[PATCH 8/8] crypto/dpaa_sec: add debug framework

2021-12-20 Thread Gagandeep Singh
Adding useful debug prints in DPAA driver for easy debugging. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.c | 160 - 1 file changed, 159 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dp

[PATCH 7/8] crypto/dpaa2: fix to check next type for auth or cipher

2021-12-20 Thread Gagandeep Singh
From: Hemant Agrawal This patch add more checks on next type for PDCP cases. Fixes: 45e019608f31 ("crypto/dpaa2_sec: support integrity only PDCP") Fixes: a1173d55598c ("crypto/dpaa_sec: support PDCP offload") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2

[PATCH 6/8] crypto/dpaa2_sec: add useful debug prints in sec dequeue

2021-12-20 Thread Gagandeep Singh
Few useful debug prints added in dequeue function. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 105 +++- 1 file changed, 103 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dp

[PATCH 5/8] crypto/dpaa2_sec: change digest size for AES_CMAC

2021-12-20 Thread Gagandeep Singh
From: Hemant Agrawal Change the digest size to supported value by the HW engine. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h b/drivers/crypto/dpaa2

[PATCH 4/8] crypto/dpaa2_sec: support AES-GMAC

2021-12-20 Thread Gagandeep Singh
From: Akhil Goyal This patch supports AES_GMAC algorithm for DPAA2 driver. Signed-off-by: Akhil Goyal Signed-off-by: Gagandeep Singh --- doc/guides/cryptodevs/features/dpaa2_sec.ini | 1 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 14 - drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h

[PATCH 3/8] crypto/dpaa2_sec: ordered queue support

2021-12-20 Thread Gagandeep Singh
From: Nipun Gupta This patch supports ordered queue for DPAA2 platform. Signed-off-by: Nipun Gupta --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 255 +++- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 8 +- drivers/crypto/dpaa2_sec/mc/fsl_dpseci.h| 14 +- 3 files cha

[PATCH 1/8] common/dpaax: caamflib: Remove code related to SEC ERA 1 to 7

2021-12-20 Thread Gagandeep Singh
From: Franck LENORMAND DPAA1 and DPAA2 platforms use SEC ERA 8 and 10 only. This patch removes code in SDAP and PDCP header related to these ERA to simplify the codebase: - Simplify logic using RTA_SEC_ERA_<> macro - Remove era_2_sw_hfn_ovrd dedicated to RTA_SEC_ERA_2 Signed-off-by: Franck LE

[PATCH 2/8] common/dpaax: change job processing mode for PDCP SDAP

2021-12-20 Thread Gagandeep Singh
For PDCP SDAP test cases, HW sec engine process the jobs in WAIT mode. Signed-off-by: Gagandeep Singh --- drivers/common/dpaax/caamflib/desc/sdap.h | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/common/dpaax/caamflib/desc/sdap.h b/drivers/comm

RE: [PATCH 05/12] gen: add raw packet data API and tests

2021-12-20 Thread Van Haaren, Harry
> -Original Message- > From: Thomas Monjalon > Sent: Friday, December 17, 2021 4:19 PM > To: Randles, Ronan ; Van Haaren, Harry > > Cc: Jerin Jacob ; dev@dpdk.org; Richardson, Bruce > > Subject: Re: [PATCH 05/12] gen: add raw packet data API and tests > > 17/12/2021 12:40, Van Haaren, H

19.11.11 (RC2) patches review and test

2021-12-20 Thread christian . ehrhardt
Hi all, Here is a list of patches targeted for stable release 19.11.11. The planned date for the final release is 7th January 2021. Please help with testing and validation of your use cases and report any issues/results with reply-all to this mail. For the final release the fixes and reported va