numam-dpdk/drivers
Matan Azrad b7fa0bf4d5 vdpa/mlx5: fix polling threads scheduling
When the event mode is with 0 fixed delay, the polling-thread will never
give-up CPU.

So, when multi-polling-threads are active, the context-switch between
them will be managed by the system which may affect latency according to
the time-out decided by the system.

In order to fix multi-devices polling thread scheduling, this patch
forces rescheduling for each CQ poll iteration.

Move the polling thread to SCHED_RR mode with maximum priority to
complete the fairness.

Fixes: 6956a48cab ("vdpa/mlx5: set polling mode default delay to zero")

Signed-off-by: Matan Azrad <matan@nvidia.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Xueming Li <xuemingl@nvidia.com>
2021-02-10 22:17:47 +01:00
..
baseband config: remove compatibility build defines 2021-01-20 01:43:25 +01:00
bus bus/vdev: add driver IOVA VA mode requirement 2021-01-29 18:16:09 +01:00
common common/mlx5: fix storing synced MAC to internal table 2021-02-04 18:19:37 +01:00
compress compress/mlx5: fix asserts 2021-02-04 18:56:15 +01:00
crypto crypto/octeontx2: fix null pointer dereferences 2021-02-04 18:55:52 +01:00
event event/dlb: fix accessing uninitialized variables 2021-02-04 13:25:43 +01:00
mempool ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
net net/ixgbe: fix UDP zero checksum on Arm 2021-02-10 21:51:38 +01:00
raw raw/octeontx2_ep: change PCI device ID 2021-01-29 18:16:12 +01:00
regex config: remove compatibility build defines 2021-01-20 01:43:25 +01:00
vdpa vdpa/mlx5: fix polling threads scheduling 2021-02-10 22:17:47 +01:00
meson.build build: enable pmdinfogen for Windows 2021-01-25 23:24:38 +01:00