mbox series

[v3,0/3] vdpa/mlx5: optimize cpu utilization

Message ID 1593439316-135717-1-git-send-email-matan@mellanox.com (mailing list archive)
Headers
Series vdpa/mlx5: optimize cpu utilization |

Message

Matan Azrad June 29, 2020, 2:01 p.m. UTC
  Defines new event modes in order to schedule CQ polling.

Timer thread is created in mode 0 and 1 in order to save CPU utilization.

v2:
Add devargs to control the events mode.

v3:
rebase.
Improve mode 0 latency.

Matan Azrad (3):
  vdpa/mlx5: optimize notification events
  vdpa/mlx5: optimize completion queue poll
  vdpa/mlx5: control completion queue event mode

 doc/guides/vdpadevs/mlx5.rst        |  31 +++++
 drivers/vdpa/mlx5/Makefile          |   1 +
 drivers/vdpa/mlx5/mlx5_vdpa.c       |  57 ++++++++
 drivers/vdpa/mlx5/mlx5_vdpa.h       |  19 +++
 drivers/vdpa/mlx5/mlx5_vdpa_event.c | 257 +++++++++++++++++++++++++++++-------
 5 files changed, 318 insertions(+), 47 deletions(-)
  

Comments

Maxime Coquelin June 29, 2020, 5:24 p.m. UTC | #1
On 6/29/20 4:01 PM, Matan Azrad wrote:
> Defines new event modes in order to schedule CQ polling.
> 
> Timer thread is created in mode 0 and 1 in order to save CPU utilization.
> 
> v2:
> Add devargs to control the events mode.
> 
> v3:
> rebase.
> Improve mode 0 latency.
> 
> Matan Azrad (3):
>   vdpa/mlx5: optimize notification events
>   vdpa/mlx5: optimize completion queue poll
>   vdpa/mlx5: control completion queue event mode
> 
>  doc/guides/vdpadevs/mlx5.rst        |  31 +++++
>  drivers/vdpa/mlx5/Makefile          |   1 +
>  drivers/vdpa/mlx5/mlx5_vdpa.c       |  57 ++++++++
>  drivers/vdpa/mlx5/mlx5_vdpa.h       |  19 +++
>  drivers/vdpa/mlx5/mlx5_vdpa_event.c | 257 +++++++++++++++++++++++++++++-------
>  5 files changed, 318 insertions(+), 47 deletions(-)
> 

Applied to dpdk-next-virtio/master

Thanks,
Maxime