diff options
author | Angus Chen <angus.chen@jaguarmicro.com> | 2022-09-23 12:10:13 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-09-28 01:30:48 +0300 |
commit | db5db1a00d0816207be3a0166fcb4f523eaf3b52 (patch) | |
tree | 46cf3685026075732ecae76a573f70514cf75217 /tools/perf/scripts/python | |
parent | f76349cf41451c5c42a99f18a9163377e4b364ff (diff) | |
download | linux-db5db1a00d0816207be3a0166fcb4f523eaf3b52.tar.xz |
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: 2ddae773c93b ("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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions