[PATCH] common/mlx5: fix QP ack timeout configuration

2022-02-13 Thread Yajun Wu
VDPA driver creates two QPs(1 queue pair include 1 send queue and 1 receive queue) per virtio queue to get traffic events from NIC to SW. Two QPs(called FW QP and SW QP) are created as loopback QP and FW QP'SQ is connected to SW QP'RQ internally. When packet receive or send out, HW will send WQE b

RE: [EXT] Re: [dpdk-stable] [PATCH v2] test: avoid hang if queues are full and Tx fails

2022-02-13 Thread Rakesh Kudurumalla
> -Original Message- > From: Thomas Monjalon > Sent: Tuesday, February 1, 2022 1:15 PM > To: Jerin Jacob Kollanukkaran ; Rakesh Kudurumalla > > Cc: sta...@dpdk.org; dev@dpdk.org; david.march...@redhat.com; > ferruh.yi...@intel.com; andrew.rybche...@oktetlabs.ru; > ajit.khapa...@broadco

[dpdk-dev] [PATCH v2] drivers: enable keep flow rule device capability for cnxk

2022-02-13 Thread psatheesh
From: Kiran Kumar K Adding changes to enable keep flow rule device capability. With this change, flow rules will be kept across device restart. Signed-off-by: Kiran Kumar K Reviewed-by: Satheesh Paul --- v2: * Allow creating flow rule before device start. drivers/common/cnxk/roc_npc.c |

[dpdk-dev] [PATCH v2] drivers: enable keep flow rule device capability for cnxk

2022-02-13 Thread psatheesh
From: Kiran Kumar K Adding changes to enable keep flow rule device capability. With this change, flow rules will be kept across device restart. Signed-off-by: Kiran Kumar K Reviewed-by: Satheesh Paul --- v2: * Allow creating flow rule before device start. drivers/common/cnxk/roc_npc.c |

release candidate 22.03-rc1

2022-02-13 Thread Thomas Monjalon
A new DPDK release candidate is ready for testing: https://git.dpdk.org/dpdk/tag/?id=v22.03-rc1 There are 481 new patches in this snapshot. This release cycle is quiet and should be small. Release notes: https://doc.dpdk.org/guides/rel_notes/release_22_03.html Highlights of 22.03

Re: [PATCH v5] eal: fix unaligned loads/stores in rte_memcpy_generic

2022-02-13 Thread Luc Pelletier
Hi Konstantin, > Indeed it looks like a problem. > Thanks for pointing it out. > Was able to reproduce it with gcc 11 (clang 13 seems fine). > Actually, adding ' __attribute__ ((__may_alias__))' for both dst and src > didn't quire the problem. __may_alias__ works if it's applied to a typedef, see

Re: [PATCH v2] dma/idxd: add allow/block list support

2022-02-13 Thread Thomas Monjalon
02/12/2021 13:56, Kevin Laatz: > On 02/12/2021 12:50, Radu Nicolau wrote: > > Add support for allow or block list for devices bound > > to the kernel driver. > > When used the allow or block list applies as an additional > > condition to the name prefix. > > > > Signed-off-by: Radu Nicolau > > Rev

Re: [PATCH] common/cnxk: add CNF950_A0 support

2022-02-13 Thread Thomas Monjalon
11/02/2022 09:27, Tomasz Duszynski: > Add PCI IDs which match CNF95O_A0 SoC. > > Signed-off-by: Tomasz Duszynski > Reviewed-by: Jerin Jacob Kollanukkaran > --- > drivers/common/cnxk/roc_constants.h | 1 + > drivers/event/cnxk/cn9k_eventdev.c | 2 ++ > drivers/mempool/cnxk/cnxk_mempool.c | 2 ++

Re: [PATCH V2] examples/pipeline: print table entries to file

2022-02-13 Thread Thomas Monjalon
12/01/2022 19:59, Cristian Dumitrescu: > Add support for the show CLI command to print table entries to a file > instead of standard output. > > Signed-off-by: Cristian Dumitrescu > Signed-off-by: Harshad Narayane Applied, thanks.

Re: [PATCH V3] pipeline: support checksum for variable size headers

2022-02-13 Thread Thomas Monjalon
11/02/2022 16:11, Cristian Dumitrescu: > Added checksum support for variable size headers such as IPv4 headers > with options. > > Signed-off-by: Cristian Dumitrescu > Signed-off-by: Yogesh Jangra > Signed-off-by: Harshad Suresh Narayane Applied, thanks.

Re: [PATCH] pipeline: fix table state memory allocation

2022-02-13 Thread Thomas Monjalon
10/02/2022 20:45, Cristian Dumitrescu: > The regular tables, selector tables and learner tables are all sharing > the table state array. The locations in this array were computed > incorrectly, leading to memory corruption issues. > > Signed-off-by: Cristian Dumitrescu > Signed-off-by: Harshad Na

Re: [PATCH] pipeline: fix annotation checks

2022-02-13 Thread Thomas Monjalon
03/12/2021 15:31, Cristian Dumitrescu: > The checks for the table-only and default-only annotations were > incorrect, as they were using the pipeline action ID instead of the > table action ID for retrieving the table action info. These checks are > now corrected and pushed into the internal table_

Re: [PATCH] pipeline: add check against loops

2022-02-13 Thread Thomas Monjalon
01/12/2021 13:21, Cristian Dumitrescu: > Detect when a jump instruction, either conditional or unconditional, > is jumping to itself, thus creating a loop, which is not allowed in > data plane code. > > Signed-off-by: Cristian Dumitrescu > Signed-off-by: Harshad Narayane Applied, thanks.

Re: [PATCH V2 4/4] pipeline: add drop port for each pipeline

2022-02-13 Thread Thomas Monjalon
27/11/2021 01:02, Cristian Dumitrescu: > An additional output port is now implicitly created for every pipeline > to serve as the packet drop port. Up to now, the drop port had to be > explicitly created for each pipeline. > > Signed-off-by: Cristian Dumitrescu > Signed-off-by: Yogesh Jangra Se

Re: [PATCH v6 00/26] Net/SPNIC: support SPNIC into DPDK 22.03

2022-02-13 Thread Thomas Monjalon
12/02/2022 15:01, Yanling Song: > On Fri, 21 Jan 2022 10:22:10 + > Ferruh Yigit wrote: > > > On 1/21/2022 9:27 AM, Yanling Song wrote: > > > On Wed, 19 Jan 2022 16:56:52 + > > > Ferruh Yigit wrote: > > > > > >> On 12/30/2021 6:08 AM, Yanling Song wrote: > > >>> The patchsets introdu

Re: [PATCH v2 1/2] eal_debug: do not use malloc in rte_dump_stack

2022-02-13 Thread Thomas Monjalon
12/02/2022 19:44, Stephen Hemminger: > The glibc backtrace_symbols() calls malloc which makes it > dangerous to use rte_dump_stack() in a signal handler that > is handling errors that maybe due to memory corruption. > > Instead, use dladdr() to lookup up symbols incrementally. > > The format of t

Re: [PATCH] eal: fix data race in multi-process support

2022-02-13 Thread Thomas Monjalon
17/12/2021 19:29, Stephen Hemminger: > If DPDK is built with thread sanitizer it reports a race > in setting of multiprocess file descriptor. The fix is to > use atomic operations when updating mp_fd. Please could explain more the condition of the race? Is it between init and cleanup of the same f

Re: [DPDK] /lib/eal: fix failed to stop device monitor error

2022-02-13 Thread Thomas Monjalon
+Cc Harman, maintainer of interrupt subsystem. 11/02/2022 09:41, wenxuanx...@intel.com: > From: Wenxuan Wu > > The ret value in rte_dev_event_monitor_stop stands for whether the > monitor has been successfully closed ,and should not bind with > rte_intr_callback_unregister,so once it goes to the

Re: [PATCH v4] raw/ntb: clear all valid DB bits when DB init

2022-02-13 Thread Thomas Monjalon
> > Before registering the doorbell interrupt handler callback function, > > all the valid doorbell bits within the NTB private data struct should > > be cleared to avoid the confusion of the handshake timing sequence > > diagram when setting up the NTB connection in back-to-back mode. > > > > Fix

Re: [PATCH v5] maintainers: update for crypto api/crypto perf/sw crypto pmds using ipsec-mb

2022-02-13 Thread Thomas Monjalon
24/01/2022 11:41, Fan Zhang: > Add myself as Crypto API, QAT, SW PMDs based on ipsec-mb, > NULL PMD, and crypto perf test maintainer. Also remove > Declan, Deepak, and John from the maintainers of these > areas. > > Signed-off-by: Fan Zhang > Acked-by: Declan Doherty > Acked-by: Fiona Trahe > A