RE: [PATCH v4] gro: bug fix in identifying fragmented packets

2022-06-11 Thread Hu, Jiayu
Hi Kumara, > -Original Message- > From: Kumara Parameshwaran > Sent: Wednesday, June 8, 2022 5:57 PM > To: Hu, Jiayu > Cc: dev@dpdk.org; Kumara Parameshwaran > ; sta...@dpdk.org > Subject: [PATCH v4] gro: bug fix in identifying fragmented packets > > From: Kumara Parameshwaran > > A p

Re: [PATCH] doc/eal: add signal safety warning

2022-06-11 Thread Mattias Rönnblom
On 2022-06-10 17:23, Stephen Hemminger wrote: The DPDK is not designed to be used from a signal handler. Add a notice in the documentation describing this limitation, similar to Linux signal-safety manual page. Bugzilla ID: 1030 Signed-off-by: Stephen Hemminger --- doc/guides/prog_guide/env_a

Re: [PATCH] doc/eal: add caveat about spinlocks from non-pinned threads

2022-06-11 Thread Mattias Rönnblom
On 2022-06-10 17:28, Stephen Hemminger wrote: Need to warn users of DPDK spinlocks from non-pinned threads. This is similar wording to Linux documentation in pthread_spin_init. Signed-off-by: Stephen Hemminger --- doc/guides/prog_guide/env_abstraction_layer.rst | 10 ++ 1 file change

Re: [Bug 1030] rte_malloc() and rte_free() get stuck when used with signal handler

2022-06-11 Thread Mattias Rönnblom
On 2022-06-10 08:04, Sarosh Arif wrote: On Thu, Jun 9, 2022 at 8:26 PM Stephen Hemminger wrote: On Thu, 09 Jun 2022 12:47:43 + bugzi...@dpdk.org wrote: https://bugs.dpdk.org/show_bug.cgi?id=1030 Bug ID: 1030 Summary: rte_malloc() and rte_free() get stuck when us

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

2022-06-11 Thread Stephen Hemminger
On Wed, 18 May 2022 12:16:57 +0200 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/x86/include/rte_mem

Re: [PATCH 11/12] app/flow-perf: fix build with GCC 12

2022-06-11 Thread Stephen Hemminger
On Wed, 18 May 2022 12:16:56 +0200 David Marchand wrote: > GCC 12 raises the following warning: > > ../app/test-flow-perf/main.c: In function ‘start_forwarding’: > ../app/test-flow-perf/main.c:1737:28: error: ‘sprintf’ may write a > terminating nul past the end of the destination > [-Wer

Re: [PATCH 10/12] vhost/crypto: fix build with GCC 12

2022-06-11 Thread Stephen Hemminger
On Wed, 18 May 2022 12:16:55 +0200 David Marchand wrote: > GCC 12 raises the following warning: > > In file included from ../lib/mempool/rte_mempool.h:46, > from ../lib/mbuf/rte_mbuf.h:38, > from ../lib/vhost/vhost_crypto.c:7: > ../lib/vhost/vhost_crypto.c: In f

Re: [PATCH 09/12] vdpa/ifc: fix build with GCC 12

2022-06-11 Thread Stephen Hemminger
On Wed, 18 May 2022 12:16:54 +0200 David Marchand wrote: > GCC 12 raises the following warning: > > ../drivers/vdpa/ifc/ifcvf_vdpa.c: In function ‘vdpa_enable_vfio_intr’: > ../drivers/vdpa/ifc/ifcvf_vdpa.c:383:62: error: writing 4 bytes into a > region of size 0 [-Werror=stringop-overflow=]

Re: [PATCH 06/12] net/ice: fix build with GCC 12

2022-06-11 Thread Stephen Hemminger
On Wed, 18 May 2022 12:16:51 +0200 David Marchand wrote: > GCC 12 raises the following warning: > > In file included from ../lib/mempool/rte_mempool.h:46, > from ../lib/mbuf/rte_mbuf.h:38, > from ../lib/net/rte_ether.h:22, > from ../lib/ethdev/r

Re: [PATCH 05/12] net/enetfec: fix build with GCC 12

2022-06-11 Thread Stephen Hemminger
On Wed, 18 May 2022 12:16:50 +0200 David Marchand wrote: > GCC 12 raises the following warning: > > ../drivers/net/enetfec/enet_ethdev.c: In function > ‘enetfec_rx_queue_setup’: > ../drivers/net/enetfec/enet_ethdev.c:473:9: error: array > subscript 1 is > above array bounds o

Re: [PATCH 04/12] net/ena: fix build with GCC 12

2022-06-11 Thread Stephen Hemminger
On Wed, 18 May 2022 12:16:49 +0200 David Marchand wrote: > GCC 12 raises the following warning: > > In file included from ../lib/mempool/rte_mempool.h:46, > from ../lib/mbuf/rte_mbuf.h:38, > from ../lib/net/rte_ether.h:22, > from ../drivers/net/

Re: [PATCH 03/12] crypto/ipsec_mb: fix build with GCC 12

2022-06-11 Thread Stephen Hemminger
On Wed, 18 May 2022 12:16:48 +0200 David Marchand wrote: > GCC 12 raises the following warning: > > In function ‘__rte_ring_enqueue_elems_64’, > inlined from ‘__rte_ring_enqueue_elems’ at > ../lib/ring/rte_ring_elem_pvt.h:130:3, > inlined from ‘__rte_ring_do_hts_enqueue_elem’ at

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

2022-06-11 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 --- lib/eal/common/rte_thread.c | 6 ++ lib/eal/include/rte_thread.h | 19 +++ lib/eal/version.map | 1 + 3 files changed, 26 ins