Searched hist:"35 c51e093d956f6d058e193711c8d424817a44a9" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/virtio/ |
H A D | virtio_ring.c | diff 35c51e093d956f6d058e193711c8d424817a44a9 Mon Mar 28 05:58:16 CDT 2022 Xianting Tian <xianting.tian@linux.alibaba.com> 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>
|