]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_mbuf.c
mbuf: fix performance with 128-byte cache line
[dpdk.git] / app / test / test_mbuf.c
index cfa12e3326a0a2908bd301b9c730c4df123e447c..98ff93afd21dbc6799445846b4273e9a25e0ee27 100644 (file)
@@ -930,7 +930,7 @@ test_failing_mbuf_sanity_check(void)
 static int
 test_mbuf(void)
 {
 static int
 test_mbuf(void)
 {
-       RTE_BUILD_BUG_ON(sizeof(struct rte_mbuf) != RTE_CACHE_LINE_SIZE * 2);
+       RTE_BUILD_BUG_ON(sizeof(struct rte_mbuf) != RTE_CACHE_LINE_MIN_SIZE * 2);
 
        /* create pktmbuf pool if it does not exist */
        if (pktmbuf_pool == NULL) {
 
        /* create pktmbuf pool if it does not exist */
        if (pktmbuf_pool == NULL) {