Re: [dpdk-dev] [PATCH v2 2/3] vdpa/mlx5: optimize completion queue poll

2020-06-29 Thread Maxime Coquelin
On 6/25/20 3:30 PM, Matan Azrad wrote: > The vDPA driver uses a CQ in order to know when traffic works were > completed by the HW. > > Each traffic burst completion adds a CQE to the CQ. > > When the vDPA driver detects CQEs in the CQ, it triggers the guest > notification for the corresponding

[dpdk-dev] [PATCH v2 2/3] vdpa/mlx5: optimize completion queue poll

2020-06-25 Thread Matan Azrad
The vDPA driver uses a CQ in order to know when traffic works were completed by the HW. Each traffic burst completion adds a CQE to the CQ. When the vDPA driver detects CQEs in the CQ, it triggers the guest notification for the corresponding queue and consumes all of them. There is collapse feat