linux/drivers/vdpa
Angus Chen db5db1a00d vdpa/ifcvf: fix the calculation of queuepair
The q_pair_id to address a queue pair in the lm bar should be
calculated by queue_id / 2 rather than queue_id / nr_vring.

Fixes: 2ddae773c9 ("vDPA/ifcvf: detect and use the onboard number of queues directly")
Signed-off-by: Angus Chen <angus.chen@jaguarmicro.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Zhu Lingshan <lingshan.zhu@intel.com>
Message-Id: <20220923091013.191-1-angus.chen@jaguarmicro.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-09-27 18:30:48 -04:00
..
alibaba vdpa: multiple address spaces support 2022-05-31 12:44:27 -04:00
ifcvf vdpa/ifcvf: fix the calculation of queuepair 2022-09-27 18:30:48 -04:00
mlx5 vdpa/mlx5: Fix possible uninitialized return value 2022-08-11 10:00:36 -04:00
vdpa_sim vdpa_sim_blk: add support for discard and write-zeroes 2022-08-11 04:44:58 -04:00
vdpa_user vduse: Support querying information of IOVA regions 2022-08-11 04:26:08 -04:00
virtio_pci vdpa/vp_vdpa : add vdpa tool support in vp_vdpa 2022-05-31 12:45:09 -04:00
Kconfig eni_vdpa: add vDPA driver for Alibaba ENI 2021-11-01 05:23:41 -04:00
Makefile eni_vdpa: add vDPA driver for Alibaba ENI 2021-11-01 05:23:41 -04:00
vdpa.c vDPA: fix 'cast to restricted le16' warnings in vdpa.c 2022-08-11 04:26:08 -04:00