On Thu, 1 Sep 2022 13:53:43 +0530
Amit Prakash Shukla <amitpraka...@marvell.com> wrote:

> diff --git a/examples/common/neon/port_group.h 
> b/examples/common/neon/port_group.h
> index 82c6ed6d73..97da604583 100644
> --- a/examples/common/neon/port_group.h
> +++ b/examples/common/neon/port_group.h
> @@ -24,7 +24,7 @@ port_groupx4(uint16_t pn[FWDSTEP + 1], uint16_t *lp, 
> uint16x8_t dp1,
>       union {
>               uint16_t u16[FWDSTEP + 1];
>               uint64_t u64;
> -     } *pnum = (void *)pn;
> +     } __attribute__((__packed__)) *pnum = (void *)pn;

Use __rte_packed instead of direct attribute

Reply via email to