diff options
author | Xianting Tian <xianting.tian@linux.alibaba.com> | 2022-03-28 13:58:16 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-05-31 19:44:24 +0300 |
commit | 35c51e093d956f6d058e193711c8d424817a44a9 (patch) | |
tree | dddb3ba8254c0f8ecf7b69a1ec55b8befdc44107 /net | |
parent | 0e9911fa768f32f30e5678512ea405d99a7a9fef (diff) | |
download | linux-35c51e093d956f6d058e193711c8d424817a44a9.tar.xz |
virtio_ring: remove unnecessary to_vvq call in vring hot path
It passes '_vq' to virtqueue_use_indirect(), which still calls
to_vvq to get 'vq', let's directly pass 'vq'. It can avoid
unnecessary call of to_vvq in hot path.
Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com>
Message-Id: <20220328105817.1028065-1-xianting.tian@linux.alibaba.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions