Re: [PATCH v16 2/2] net: __rte_raw_cksum pointers enable compiler optimizations

Scott Mitchell
2026-01-28T17:40:09Z

> 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)`: