vdpa/mlx5: add CPU core parameter to bind polling thread
authorXueming Li <xuemingl@nvidia.com>
Wed, 2 Dec 2020 23:36:42 +0000 (23:36 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 17:07:55 +0000 (18:07 +0100)
commit5cf3fd3af4df8463557b15db64a5c72eb565bfda
tree9a1381c977479e4617aa227a87ae25f1795c24e3
parentc9a189f4ea365c40fd3296581014684f770249f6
vdpa/mlx5: add CPU core parameter to bind polling thread

This patch adds new device argument to specify cpu core affinity to
event polling thread for better latency and throughput. The thread
could be also located by name "vDPA-mlx5-<id>".

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
doc/guides/vdpadevs/mlx5.rst
drivers/vdpa/mlx5/mlx5_vdpa.c
drivers/vdpa/mlx5/mlx5_vdpa.h
drivers/vdpa/mlx5/mlx5_vdpa_event.c