From: David Marchand Date: Fri, 7 Feb 2020 14:06:00 +0000 (+0100) Subject: crypto/ccp: fix queue alignment X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b3bf2367d0edc11cae26572a7b13133840bf2184;p=dpdk.git crypto/ccp: fix queue alignment Caught by compiling with -fno-common. A ____cacheline_aligned symbol can be found in the crypto/ccp driver object files. Looking at this driver source, the ____cacheline_aligned (kernel?) alignment macro is undefined. The compiler treats this as a symbol definition and generates a global symbol. Fixes: ef4b04f87fa6 ("crypto/ccp: support device init") Cc: stable@dpdk.org Signed-off-by: David Marchand --- diff --git a/drivers/crypto/ccp/ccp_dev.h b/drivers/crypto/ccp/ccp_dev.h index f4ad9eafd5..37e04218ce 100644 --- a/drivers/crypto/ccp/ccp_dev.h +++ b/drivers/crypto/ccp/ccp_dev.h @@ -220,7 +220,7 @@ struct ccp_queue { /**< lsb assigned for sha ctx */ uint32_t sb_hmac; /**< lsb assigned for hmac ctx */ -} ____cacheline_aligned; +} __rte_cache_aligned; /** * A structure describing a CCP device.