[PATCH] ring: fix zero-copy burst API documentation
jinzhiguang
jinzhiguang at kylinos.cn
Tue May 19 15:13:15 CEST 2026
>> 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 <konstantin.ananyev at huawei.com>
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,
>>
More information about the stable
mailing list