]> git.droids-corp.org - dpdk.git/blobdiff - examples/multi_process/client_server_mp/mp_client/client.c
net/sfc/base: fix error code usage in common code
[dpdk.git] / examples / multi_process / client_server_mp / mp_client / client.c
index dca9eb9f3766fad1c94675da8aa67e09fdcb0cbb..01b535c2bf7e647ffaeec272de471856bf9ca7ac 100644 (file)
@@ -279,7 +279,8 @@ main(int argc, char *argv[])
                uint16_t i, rx_pkts;
                uint8_t port;
 
-               rx_pkts = rte_ring_dequeue_burst(rx_ring, pkts, PKT_READ_SIZE);
+               rx_pkts = rte_ring_dequeue_burst(rx_ring, pkts,
+                               PKT_READ_SIZE, NULL);
 
                if (unlikely(rx_pkts == 0)){
                        if (need_flush)