X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=app%2Ftest%2Ftest_mbuf.c;fp=app%2Ftest%2Ftest_mbuf.c;h=c0823ea5a167ace653a9f74a40dedbecfc764096;hb=7b53c036e6bf56623b8273018ff1c8cc62847857;hp=684ad80f932866559f05261679a84936d65c29ff;hpb=5d4e5dcd8a186778b3d78e27c81550d07a288fd2;p=deb_dpdk.git diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c index 684ad80f..c0823ea5 100644 --- a/app/test/test_mbuf.c +++ b/app/test/test_mbuf.c @@ -809,7 +809,7 @@ test_refcnt_mbuf(void) if (refcnt_mbuf_ring == NULL && (refcnt_mbuf_ring = rte_ring_create("refcnt_mbuf_ring", - REFCNT_RING_SIZE, SOCKET_ID_ANY, + rte_align32pow2(REFCNT_RING_SIZE), SOCKET_ID_ANY, RING_F_SP_ENQ)) == NULL) { printf("%s: cannot allocate " MAKE_STRING(refcnt_mbuf_ring) "\n", __func__);