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

Thomas Monjalon thomas at monjalon.net
Fri Jan 19 00:33:52 CET 2018


18/01/2018 17:54, santosh:
> 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>

Applied, thanks


More information about the dev mailing list