RE: [PATCH] net/memif: remove unnecessary rx_intr stub

2022-01-15 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Friday, 14 January 2022 21.47 > > The code in memif driver to stub out rx_irq_enable is unnecessary > and causes different error returns than other drivers. > The core ethdev code will return -ENOTSUP if the driver has > a null

[PATCH] eal: fix unaligned loads/stores in rte_memcpy_aligned

2022-01-15 Thread Luc Pelletier
Calls to rte_memcpy_aligned could result in unaligned loads/stores for 1 < n < 16. This is undefined behavior according to the C standard, and it gets flagged by the clang undefined behavior sanitizer. rte_memcpy_aligned is called with aligned src and dst addresses. When n is odd, the code would c

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

2022-01-15 Thread Luc Pelletier
Calls to rte_memcpy_generic could result in unaligned loads/stores for 1 < n < 16. This is undefined behavior according to the C standard, and it gets flagged by the clang undefined behavior sanitizer. rte_memcpy_generic is called with unaligned src and dst addresses. When 1 < n < 16, the code wou

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

2022-01-15 Thread Luc Pelletier
Calls to rte_memcpy_generic could result in unaligned loads/stores for 1 < n < 16. This is undefined behavior according to the C standard, and it gets flagged by the clang undefined behavior sanitizer. rte_memcpy_generic is called with unaligned src and dst addresses. When 1 < n < 16, the code wou

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

2022-01-15 Thread Stephen Hemminger
On Sat, 15 Jan 2022 16:39:50 -0500 Luc Pelletier wrote: > diff --git a/lib/eal/x86/include/rte_memcpy.h > b/lib/eal/x86/include/rte_memcpy.h > index 1b6c6e585f..e422397e49 100644 > --- a/lib/eal/x86/include/rte_memcpy.h > +++ b/lib/eal/x86/include/rte_memcpy.h > @@ -45,6 +45,23 @@ extern "C" { >

RE: [PATCH v4 15/53] regexdev: remove unneeded header includes

2022-01-15 Thread Ori Kam
Hi Sean, > -Original Message- > From: Sean Morrissey > Sent: Friday, January 14, 2022 6:24 PM > Subject: [PATCH v4 15/53] regexdev: remove unneeded header includes > > These header includes have been flagged by the iwyu_tool > and removed. > > Signed-off-by: Sean Morrissey > --- > lib