linux/drivers/vdpa
Eli Cohen 5262912ef3 vdpa/mlx5: Add support for control VQ and MAC setting
Add support to handle control virtqueue configurations per virtio
specification. The control virtqueue is implemented in software and no
hardware offloading is involved.

Control VQ configuration need task context, therefore all configurations
are handled in a workqueue created for the purpose.

Modifications are made to the memory registration code to allow for
saving a copy of itolb to be used by the control VQ to access the vring.

The max number of data virtqueus supported by the driver has been
updated to 2 since multiqueue is not supported at this stage and we need
to ensure consistency of VQ indices mapping to either data or control
VQ.

Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20210823052123.14909-6-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-09-05 16:23:08 -04:00
..
ifcvf vDPA/ifcvf: enable multiqueue and control vq 2021-09-05 16:23:07 -04:00
mlx5 vdpa/mlx5: Add support for control VQ and MAC setting 2021-09-05 16:23:08 -04:00
vdpa_sim vdpa_sim: Fix return value check for vdpa_alloc_device() 2021-08-11 06:44:23 -04:00
virtio_pci vp_vdpa: Fix return value check for vdpa_alloc_device() 2021-08-11 06:44:23 -04:00
Kconfig vdpa/mlx5: Add support for control VQ and MAC setting 2021-09-05 16:23:08 -04:00
Makefile vdpa: introduce virtio pci driver 2021-05-03 04:55:51 -04:00
vdpa.c vdpa: Follow kdoc comment style 2021-05-03 04:55:51 -04:00