X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_hash%2Frte_thash.h;h=51b51294688167ad1bfbfe886e2d3a344e23cde4;hb=4963c6ba977a893403823f008b29e797cb825aef;hp=1b33f48137ce16c1cf9d57e0d7cd4fedc8db3d94;hpb=1b421d195c719821d30e323d66c2b31e986d2ff5;p=dpdk.git diff --git a/lib/librte_hash/rte_thash.h b/lib/librte_hash/rte_thash.h index 1b33f48137..51b5129468 100644 --- a/lib/librte_hash/rte_thash.h +++ b/lib/librte_hash/rte_thash.h @@ -107,7 +107,7 @@ union rte_thash_tuple { struct rte_ipv4_tuple v4; struct rte_ipv6_tuple v6; #ifdef RTE_ARCH_X86 -} __attribute__((aligned(XMM_SIZE))); +} __rte_aligned(XMM_SIZE); #else }; #endif @@ -139,7 +139,8 @@ rte_convert_rss_key(const uint32_t *orig, uint32_t *targ, int len) * Pointer to rte_ipv6_tuple structure */ static inline void -rte_thash_load_v6_addrs(const struct ipv6_hdr *orig, union rte_thash_tuple *targ) +rte_thash_load_v6_addrs(const struct rte_ipv6_hdr *orig, + union rte_thash_tuple *targ) { #ifdef RTE_ARCH_X86 __m128i ipv6 = _mm_loadu_si128((const __m128i *)orig->src_addr);