[PATCH 0/3] support new full context firmware

2022-06-20 Thread Tejasree Kondoj
This series adds support for new full context microcode in cn9k IPsec PMD. Anoob Joseph (1): crypto/cnxk: improvements to fastpath handling Tejasree Kondoj (1): crypto/cnxk: add anti-replay as per new firmware Vidya Sagar Velumuri (1): crypto/cnxk: move IPsec SA creation to common driver

[PATCH 1/3] crypto/cnxk: move IPsec SA creation to common

2022-06-20 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Move the IPsec SA creation to common. The code can be used by fastpath also to create the SAs Add changes to support new full context microcode Signed-off-by: Vidya Sagar Velumuri Signed-off-by: Archana Muniganti --- drivers/common/cnxk/cnxk_security.c | 398 ++

[PATCH 2/3] crypto/cnxk: improvements to fastpath handling

2022-06-20 Thread Tejasree Kondoj
From: Anoob Joseph Remove SA & packet accesses in dequeue path by adjusting the headers in the enqueue path for outbound packets. For inbound packets, add extra esn_en flag in the SA to minimize cache line accesses in the datapath. Also, use seq_lo for IPID. IPID just need to be unique. Instead

[PATCH 3/3] crypto/cnxk: add anti-replay as per new firmware

2022-06-20 Thread Tejasree Kondoj
Adding anti-replay changes as per new FP-FC microcode. Signed-off-by: Tejasree Kondoj --- drivers/common/cnxk/roc_ie_on.h | 5 +- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 63 + drivers/crypto/cnxk/cn9k_ipsec.c | 3 + drivers/crypto/cnxk/cn9k_ip

RE: [PATCH v1 0/2] Fix meter flow fail when matching E-Switch Manager

2022-06-20 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Shun Hao > Sent: Sunday, June 19, 2022 6:21 AM > To: Slava Ovsiienko ; Matan Azrad > ; Ori Kam > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH v1 0/2] Fix meter flow fail when matching E-Switch Manager > > When using a meter in flow that matches

RE: [PATCH] net/mlx5: fix RSS expansion for patterns with ICMP item

2022-06-20 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Gregory Etelson > Sent: Friday, June 17, 2022 8:23 AM > To: dev@dpdk.org; Gregory Etelson > Cc: Raslan Darawsheh ; sta...@dpdk.org; Matan > Azrad ; Slava Ovsiienko ; > Ferruh Yigit ; Dekel Peled > Subject: [PATCH] net/mlx5: fix RSS expansion for patterns

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

2022-06-20 Thread David Marchand
On Mon, Jun 20, 2022 at 5:20 AM Xia, Chenbo wrote: > > drain_eth_rx() uses rte_vhost_avail_entries() to calculate > > the available entries to determine if a retry is required. > > However, this function only works with split rings, and > > calculating packed rings will return the wrong value and

[PATCH 1/7] net/txgbe: support OEM subsystem vendor ID

2022-06-20 Thread Jiawen Wu
Add support for OEM subsystem vendor ID. Signed-off-by: Jiawen Wu --- doc/guides/rel_notes/release_22_07.rst | 4 +++ drivers/net/txgbe/base/txgbe_hw.c | 37 ++ drivers/net/txgbe/base/txgbe_hw.h | 2 ++ drivers/net/txgbe/txgbe_ethdev.c | 12 + 4

[PATCH 0/7] Fixes and supports for Wangxun NICs

2022-06-20 Thread Jiawen Wu
Fix the remaining bugs, support more OEM devices. Jiawen Wu (7): net/txgbe: support OEM subsystem vendor ID net/ngbe: support OEM subsystem vendor ID net/txgbe: fix register polling net/ngbe: add more packet statistics net/ngbe: fix YT PHY UTP mode to link up net/ngbe: support autoneg

[PATCH 2/7] net/ngbe: support OEM subsystem vendor ID

2022-06-20 Thread Jiawen Wu
Add support for OEM subsystem vendor ID. Signed-off-by: Jiawen Wu --- doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/ngbe/ngbe_ethdev.c | 13 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_22_07.rst b/doc/guides/rel_

[PATCH 4/7] net/ngbe: add more packet statistics

2022-06-20 Thread Jiawen Wu
Add more hardware extended statistics. Fixes: 8b433d04adc9 ("net/ngbe: support device xstats") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/ngbe/ngbe_ethdev.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/ngbe/ngbe_ethdev.c b/drivers/net/ngbe/ngbe_ethde

[PATCH 3/7] net/txgbe: fix register polling

2022-06-20 Thread Jiawen Wu
Fix to poll some specific registers, which expect bit 0. Fixes: 24a4c76aff4d ("net/txgbe: add error types and registers") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_regs.h | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/

[PATCH 7/7] net/ngbe: support YT PHY SGMII to RGMII mode

2022-06-20 Thread Jiawen Wu
Add SGMII to RGMII mode for yt8521s and yt8531s PHY. Signed-off-by: Jiawen Wu --- doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/ngbe/base/ngbe_phy_yt.c| 49 ++ 2 files changed, 50 insertions(+) diff --git a/doc/guides/rel_notes/release_22_07.rst b/doc/g

[PATCH 5/7] net/ngbe: fix YT PHY UTP mode to link up

2022-06-20 Thread Jiawen Wu
Fix to read and write the correct register fields for yt8521s and yt8531s PHY, since mode check was added. Fixes: 1c44384fce76 ("net/ngbe: support custom PHY interfaces") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/ngbe/base/ngbe_phy_yt.c | 42 ++--- 1 f

[PATCH 6/7] net/ngbe: support autoneg on/off for external PHY SFI mode

2022-06-20 Thread Jiawen Wu
Add support for external PHY to switch autoneg on/off on their SFI mode. Signed-off-by: Jiawen Wu --- doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/ngbe/base/ngbe_phy_mvl.c | 16 +--- drivers/net/ngbe/base/ngbe_phy_yt.c| 20 +++- drivers/net/ngbe/ba

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

2022-06-20 Thread Xia, Chenbo
> -Original Message- > From: David Marchand > Sent: Monday, June 20, 2022 3:36 PM > To: Xia, Chenbo ; 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...@cori

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

2022-06-20 Thread Akhil Goyal
> This will make the packet grouping function common, so > that other examples can utilize as per need. > > Signed-off-by: Rahul Bhansali > --- Adding more people for review. @tho...@monjalon.net: Can this patch be taken in next-crypto as the patch is primarily for ipsec-secgw? > Changes in

RE: [dpdk-dev] [PATCH 1/1] net/mlx5: fix stack buffer overflow of hrxq's rss_key

2022-06-20 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Yunjian Wang > Sent: Friday, December 24, 2021 5:06 AM > To: dev@dpdk.org > Cc: Matan Azrad ; Slava Ovsiienko > ; Michael Baum ; > dingxiaoxi...@huawei.com; xudin...@huawei.com; Yunjian Wang > ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH 1/1] net/mlx5: f

RE: [PATCH v2] doc: fix mlx5 flow integrity hardware support

2022-06-20 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Gregory Etelson > Sent: Thursday, June 16, 2022 11:43 AM > To: dev@dpdk.org > Cc: Gregory Etelson ; Matan Azrad > ; Raslan Darawsheh ; > sta...@dpdk.org; Slava Ovsiienko > Subject: [PATCH v2] doc: fix mlx5 flow integrity hardware support > > Current MLX5

Re: [PATCH v4 04/15] vdpa/mlx5: support event qp reuse

2022-06-20 Thread Maxime Coquelin
On 6/18/22 11:02, Li Zhang wrote: From: Yajun Wu To speed up queue create time, event qp and cq will create only once. Each virtq creation will reuse same event qp and cq. Because FW will set event qp to error state during virtq destroy, need modify event qp to RESET state, then modify qp t

Re: [PATCH v2 3/6] eal: add basic rte thread ID equal API

2022-06-20 Thread Konstantin Ananyev
Add rte_thread_equal() that tests if two rte_thread_id are equal. Signed-off-by: Narcisa Vasile Signed-off-by: Tyler Retzlaff Acked-by: Chengwen Feng --- lib/eal/include/rte_thread.h | 19 +++ lib/eal/unix/rte_thread.c| 6 ++ lib/eal/version.map | 1 +

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

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

[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

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

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...@

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

[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

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

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.

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

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

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

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:

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

[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

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

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

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

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

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

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

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

  1   2   >