[PATCH 21.11 v1] event/dlb2: handle enqueuing more than maximum depth

Kevin Traynor ktraynor at redhat.com
Tue Nov 1 15:53:26 CET 2022


On 27/10/2022 00:09, Abdullah Sevincer wrote:
> [ upstream commit 9c9e72326bd28cd456509d60bcbe38a15a0bb7d0 ]
> 
> This patch addresses an issue of enqueuing more than
> max_enq_depth and not able to dequeuing events equal
> to max_cq_depth in a single call of rte_event_enqueue_burst
> and rte_event_dequeue_burst.
> 
> Apply fix for restricting enqueue of events to max_enq_depth
> so that in a single rte_event_enqueue_burst() call at most
> max_enq_depth events are enqueued.
> 
> Also set per port and domain history list sizes based on
> cq_depth. This results in dequeuing correct number of
> events as set by max_cq_depth.
> 
> Fixes: f3cad285bb88 ("event/dlb2: add infos get and configure")
> 
> Signed-off-by: Abdullah Sevincer <abdullah.sevincer at intel.com>
> ---
>   drivers/event/dlb2/dlb2.c | 8 +++++---
>   1 file changed, 5 insertions(+), 3 deletions(-)
> 

Thanks for rebasing, applied.



More information about the stable mailing list