vhost: remove device operations pointers
authorRich Lane <rich.lane@bigswitch.com>
Fri, 19 Feb 2016 18:10:16 +0000 (10:10 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 19 Feb 2016 18:33:31 +0000 (19:33 +0100)
commita90ca1a12eb560f0ca8e76a6b116cd1fc9ac0439
tree9566daebb31375517f306a3afcabf4cb151bbce2
parent86f36ff9578b5f3d697c8fcf6072dcb70e2b246f
vhost: remove device operations pointers

The vhost_net_device_ops indirection is unnecessary because there is only
one implementation of the vhost common code.
Removing it makes the code more readable.

Signed-off-by: Rich Lane <rich.lane@bigswitch.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
examples/vhost_xen/virtio-net.h
lib/librte_vhost/vhost-net.h
lib/librte_vhost/vhost_cuse/vhost-net-cdev.c
lib/librte_vhost/vhost_cuse/virtio-net-cdev.c
lib/librte_vhost/vhost_user/vhost-net-user.c
lib/librte_vhost/vhost_user/virtio-net-user.c
lib/librte_vhost/virtio-net.c