diff --git a/lib/ring/rte_ring_peek_zc.h b/lib/ring/rte_ring_peek_zc.h
index 3254fe0481..fa566e8e0d 100644
--- a/lib/ring/rte_ring_peek_zc.h
+++ b/lib/ring/rte_ring_peek_zc.h
@@ -235,7 +235,7 @@ rte_ring_enqueue_zc_bulk_start(struct rte_ring *r,
unsigned int n,
   *   If non-NULL, returns the amount of space in the ring after the
   *   reservation operation has finished.
   * @return
- *   The number of objects that can be enqueued, either 0 or n
+ *   Actual number of objects enqueued.
Here and in other places, probably better:
The actual number of objects that can be enqueued.
Acked-by: Konstantin Ananyev <[email protected]>
Thank you for the review. I will update it and send a v2.
   */
  static __rte_always_inline unsigned int
  rte_ring_enqueue_zc_burst_elem_start(struct rte_ring *r, unsigned int esize,

Reply via email to