]> git.baikalelectronics.ru Git - kernel.git/commit
vhost: factor out setting vring addr and num
authorJason Wang <jasowang@redhat.com>
Fri, 24 May 2019 08:12:17 +0000 (04:12 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 5 Jun 2019 20:23:53 +0000 (16:23 -0400)
commit77c31ebaf0e1a291cf132fd987c6d5a83fda3bfc
tree653fe9ef4cb8914c9aef72f1074140462fd7c286
parent1f9c1aed71a156ef6ef1d176370b60dac52deb24
vhost: factor out setting vring addr and num

Factoring vring address and num setting which needs special care for
accelerating vq metadata accessing.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c