summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorXianting Tian <xianting.tian@linux.alibaba.com>2022-03-28 13:58:16 +0300
committerMichael S. Tsirkin <mst@redhat.com>2022-05-31 19:44:24 +0300
commit35c51e093d956f6d058e193711c8d424817a44a9 (patch)
treedddb3ba8254c0f8ecf7b69a1ec55b8befdc44107 /net
parent0e9911fa768f32f30e5678512ea405d99a7a9fef (diff)
downloadlinux-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