On Thu, Jun 30, 2022 at 11:32 PM Stefano Garzarella wrote:
>
> Limit the number of requests (4 per queue as for vdpa_sim_net) handled
> in a batch to prevent the worker from using the CPU for too long.
>
> Suggested-by: Eugenio Pérez
> Signed-off-by: Stefano Garzarella
Acked-by: Jason Wang
>
Limit the number of requests (4 per queue as for vdpa_sim_net) handled
in a batch to prevent the worker from using the CPU for too long.
Suggested-by: Eugenio Pérez
Signed-off-by: Stefano Garzarella
---
v2:
- restored previous behaviour, exiting the loop immediately if the
request is