[PATCH v16 2/2] net: __rte_raw_cksum pointers enable compiler optimizations
Scott Mitchell
scott.k.mitch1 at gmail.com
Wed Jan 28 18:39:54 CET 2026
> Unfortunately, clang 14 (Ubuntu 22.04) is complaining about unaligned
> access in the new test.
> Could you have a look?
Yes, thx for flagging this. I think the unaligned types need both
`__rte_may_alias __rte_aligned(1)` unconditionally and will submit a
v17. I verified the asm on clang/gcc on x86 (-mavx512cd) and armv8
(-msve-vector-bits=512) are identical when adding `__rte_aligned(1)`:
https://godbolt.org/z/fdYPdoTa5
More information about the dev
mailing list