vhost: add vring call helper
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 2 Jan 2018 09:31:35 +0000 (09:31 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit413a8fee30ad56e2ac64014b99338165c8b85a0d
tree14ff136fda27c178274e1898fee1ffabcb837b77
parent5b56d18d3bbb8badc494dc495f0a725b8775e991
vhost: add vring call helper

Extract the callfd eventfd signal operation so virtio_net.c does not
have to repeat it multiple times.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
lib/librte_vhost/vhost.h
lib/librte_vhost/virtio_net.c