]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/arch/ppc_64/rte_memcpy.h
gso: support TCP/IPv4 GSO
[dpdk.git] / lib / librte_eal / common / include / arch / ppc_64 / rte_memcpy.h
index acf7aac237d066c6d2776bccec0c6c3fb37e58cc..ca9d1dc56592884be1657cb05187ddcd3ca43588 100644 (file)
@@ -95,7 +95,8 @@ rte_mov256(uint8_t *dst, const uint8_t *src)
 }
 
 #define rte_memcpy(dst, src, n)              \
-       ({ (__builtin_constant_p(n)) ?       \
+       __extension__ ({                     \
+       (__builtin_constant_p(n)) ?          \
        memcpy((dst), (src), (n)) :          \
        rte_memcpy_func((dst), (src), (n)); })