]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_mbuf.c
mbuf: split mbuf across two cache lines.
[dpdk.git] / app / test / test_mbuf.c
index 1b254812da72d17419517938f3862eb3f17561df..66bcbc54b039c9be3f8db6a6773d53f7af8c4a08 100644 (file)
@@ -782,7 +782,7 @@ test_failing_mbuf_sanity_check(void)
 static int
 test_mbuf(void)
 {
-       RTE_BUILD_BUG_ON(sizeof(struct rte_mbuf) != 64);
+       RTE_BUILD_BUG_ON(sizeof(struct rte_mbuf) != CACHE_LINE_SIZE * 2);
 
        /* create pktmbuf pool if it does not exist */
        if (pktmbuf_pool == NULL) {