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(-)

-- 
1.8.3.1

Reply via email to