vhost-user: handle message to enable vring
authorChangchun Ouyang <changchun.ouyang@intel.com>
Thu, 22 Oct 2015 12:35:54 +0000 (20:35 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 26 Oct 2015 20:23:53 +0000 (21:23 +0100)
commit77d20126b4c21c57eb52caa8261a607704ed50f3
treea107b2fe4d2fc6a080eef1b2439a121238383d00
parent6d7740e2c1c9e92001afb8c5a205385e653e632c
vhost-user: handle message to enable vring

This message is used to enable/disable a specific vring queue pair.
The first queue pair is enabled by default.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Acked-by: Huawei Xie <huawei.xie@intel.com>
lib/librte_vhost/rte_virtio_net.h
lib/librte_vhost/vhost_rxtx.c
lib/librte_vhost/vhost_user/vhost-net-user.c
lib/librte_vhost/vhost_user/vhost-net-user.h
lib/librte_vhost/vhost_user/virtio-net-user.c
lib/librte_vhost/vhost_user/virtio-net-user.h
lib/librte_vhost/virtio-net.c