ring: return remaining entry count when dequeuing
[dpdk.git] / drivers / crypto / aesni_gcm / aesni_gcm_pmd.c
index a2d10a5..638a95d 100644 (file)
@@ -420,7 +420,7 @@ aesni_gcm_pmd_dequeue_burst(void *queue_pair,
        unsigned nb_dequeued;
 
        nb_dequeued = rte_ring_dequeue_burst(qp->processed_pkts,
-                       (void **)ops, nb_ops);
+                       (void **)ops, nb_ops, NULL);
        qp->qp_stats.dequeued_count += nb_dequeued;
 
        return nb_dequeued;