]> git.droids-corp.org - dpdk.git/blobdiff - test/test/test_table_pipeline.c
ring: return remaining entry count when dequeuing
[dpdk.git] / test / test / test_table_pipeline.c
index 36bfeda3d8fca72a7d15333216cbe204eae0c831..b58aa5d12107ca27816b37c34d92375fcab117be 100644 (file)
@@ -494,7 +494,7 @@ test_pipeline_single_filter(int test_type, int expected_count)
                void *objs[RING_TX_SIZE];
                struct rte_mbuf *mbuf;
 
                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);
                if (ret <= 0)
                        printf("Got no objects from ring %d - error code %d\n",
                                i, ret);