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

2022-02-25 Thread Luc Pelletier
Hi, This patch can be abandoned. As indicated in another thread (http://mails.dpdk.org/archives/dev/2022-February/234889.html), there is no requirement/desire to make this change. Thanks. Le sam. 15 janv. 2022 à 14:39, Luc Pelletier a écrit : > > Calls to rte_memcpy_aligned could result in unal

[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