mbox series

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

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

Message

Matan Azrad June 25, 2020, 1:30 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.


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        |  32 +++++
 drivers/vdpa/mlx5/Makefile          |   1 +
 drivers/vdpa/mlx5/mlx5_vdpa.c       |  58 ++++++++
 drivers/vdpa/mlx5/mlx5_vdpa.h       |  20 +++
 drivers/vdpa/mlx5/mlx5_vdpa_event.c | 256 +++++++++++++++++++++++++++++-------
 5 files changed, 317 insertions(+), 50 deletions(-)