[dpdk-dev] [PATCH] mempool/octeontx: fix natural alignment being optimized out

santosh santosh.shukla at caviumnetworks.com
Thu Jan 18 17:54:05 CET 2018


On Thursday 18 January 2018 07:14 PM, Pavan Nikhilesh wrote:
> The mbox messages are naturally aligned and in some cases compiler
> optimization might disregard natural alignment.
> Use volatile key word to force compiler to disable optimizing and
> maintain alignment.
>
> Fixes: aecb8e093b52 ("event/octeontx: introduce specialized mbox message copy")
> Cc: stable at dpdk.org
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> ---

Acked-by: Santosh Shukla <santosh.shukla at caviumnetworks.com>



More information about the dev mailing list