linux/drivers/vdpa/ifcvf
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
..
ifcvf_base.c vdpa/ifcvf: fix the calculation of queuepair 2022-09-27 18:30:48 -04:00
ifcvf_base.h vDPA/ifcvf: get_config_size should return a value no greater than dev implementation 2022-08-11 04:26:08 -04:00
ifcvf_main.c vDPA/ifcvf: support userspace to query features and MQ of a management device 2022-08-11 04:26:08 -04:00
Makefile