X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=test%2Ftest%2Ftest_table_acl.c;h=08c100ffa72b6a858a625c42b3bbe16e47e902a1;hb=efba12a78ddf;hp=b3bfda4cccab97b8dfef62b988087daa7c521fad;hpb=7d3b1ec47fae5b2d972e05d0ee37bb7a1731b085;p=dpdk.git diff --git a/test/test/test_table_acl.c b/test/test/test_table_acl.c index b3bfda4ccc..08c100ffa7 100644 --- a/test/test/test_table_acl.c +++ b/test/test/test_table_acl.c @@ -713,14 +713,14 @@ test_pipeline_single_filter(int expected_count) void *objs[RING_TX_SIZE]; struct rte_mbuf *mbuf; - ret = rte_ring_sc_dequeue_burst(rings_tx[i], objs, 10); + ret = rte_ring_sc_dequeue_burst(rings_tx[i], objs, 10, NULL); if (ret <= 0) { printf("Got no objects from ring %d - error code %d\n", i, ret); } else { printf("Got %d object(s) from ring %d!\n", ret, i); for (j = 0; j < ret; j++) { - mbuf = (struct rte_mbuf *)objs[j]; + mbuf = objs[j]; rte_hexdump(stdout, "mbuf", rte_pktmbuf_mtod(mbuf, char *), 64); rte_pktmbuf_free(mbuf);