[PATCH 0/9] use C11 alignof

Morten Brørup mb at smartsharesystems.com
Thu Jan 25 08:19:12 CET 2024


> From: Tyler Retzlaff [mailto:roretzla at linux.microsoft.com]
> Sent: Thursday, 25 January 2024 00.18
> 
> Replace use of __alignof__(T) and __alignof__(e) with C11 alignof(T)
> and alignof(typeof(e)) respectively to improve portability of the code
> between toolchains.
> 
> Tyler Retzlaff (9):
>   ring: use C11 alignof
>   mbuf: use C11 alignof
>   ethdev: use C11 alignof
>   eventdev: use C11 alignof
>   stack: use C11 alignof
>   node: use C11 alignof
>   pdcp: use C11 alignof
>   reorder: use C11 alignof
>   security: use C11 alignof
> 
>  lib/ethdev/ethdev_driver.c  | 3 ++-
>  lib/ethdev/rte_flow.c       | 3 ++-
>  lib/eventdev/rte_eventdev.c | 3 ++-
>  lib/mbuf/rte_mbuf_dyn.c     | 3 ++-
>  lib/node/node_private.h     | 4 +++-
>  lib/pdcp/rte_pdcp.c         | 4 +++-
>  lib/reorder/rte_reorder.c   | 3 ++-
>  lib/ring/rte_ring.c         | 3 ++-
>  lib/security/rte_security.c | 5 +++--
>  lib/stack/rte_stack.c       | 3 ++-
>  10 files changed, 23 insertions(+), 11 deletions(-)
> 
> --

Series-Acked-by: Morten Brørup <mb at smartsharesystems.com>



More information about the dev mailing list