dpdk-fm10k/drivers
Matan Azrad ca4cc612d7 vdpa/mlx5: fix notification timing
The issue is relevant only for the timer event modes: 0 and 1.

When the HW finishes to consume a burst of the guest Rx descriptors,
it creates a CQE in the CQ.
When traffic stops, the mlx5 driver arms the CQ to get a notification
when a specific CQE index is created - the index to be armed is the
next CQE index which should be polled by the driver.

The mlx5 driver configured the kernel driver to send notification to
the guest callfd in the same time of the armed CQE event.
It means that the guest was notified only for each first CQE in a
poll cycle, so if the driver polled CQEs of all the virtio queue
available descriptors, the guest was not notified again for the rest
because there was no any new CQE to trigger the guest notification.

Hence, the Rx queues might be stuck when the guest didn't work with
poll mode.

Remove prior kernel notification, and do manual notification after CQ
polling.

Fixes: a9dd7275a1 ("vdpa/mlx5: optimize notification events")

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Xueming Li <xuemingl@mellanox.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-07-30 00:41:23 +02:00
..
baseband log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
bus bus/vmbus: use SMP memory barrier for signaling read 2020-07-29 16:17:54 +02:00
common net/mlx5: fix counter query 2020-07-30 00:41:23 +02:00
compress common/qat: remove unused fields 2020-07-28 22:09:22 +02:00
crypto crypto/armv8: remove redundant assert definition 2020-07-28 22:09:22 +02:00
event event/dpaa2: add all-types queue capability flag 2020-07-24 07:22:41 +02:00
mempool mempool/ring: support RTS and HTS ring modes 2020-07-21 19:20:00 +02:00
net net/bnxt: fix build with extra cflags 2020-07-30 00:41:23 +02:00
raw raw/ifpga/base: fix NIOS SPI init 2020-07-22 00:42:11 +02:00
regex regex/mlx5: fix overrun on enqueueing 2020-07-29 16:49:58 +02:00
vdpa vdpa/mlx5: fix notification timing 2020-07-30 00:41:23 +02:00
Makefile common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00
meson.build common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00