linux/drivers/vdpa/mlx5/core
Eli Cohen 52893733f2 vdpa/mlx5: Add multiqueue support
Multiqueue support requires additional virtio_net_q objects to be added
or removed per the configured number of queue pairs. In addition the RQ
tables needs to be modified to match the number of configured receive
queues so the packets are dispatched to the right virtqueue according to
the hash result.

Note: qemu v6.0.0 is broken when the device requests more than two data
queues; no net device will be created for the vdpa device. To avoid
this, one should specify mq=off to qemu. In this case it will end up
with a single queue.

Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20210823052123.14909-7-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-09-05 16:23:08 -04:00
..
mlx5_vdpa.h vdpa/mlx5: Add multiqueue support 2021-09-05 16:23:08 -04:00
mr.c vdpa/mlx5: Add support for control VQ and MAC setting 2021-09-05 16:23:08 -04:00
resources.c vdpa/mlx5: Add multiqueue support 2021-09-05 16:23:08 -04:00