[dpdk-dev] [PATCH v3] vhost: remove vhost_net_device_ops

2016-02-19 Thread Thomas Monjalon
2016-02-19 10:10, Rich Lane: > The 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 > Acked-by: Yuanhan Liu Applied, thanks

[dpdk-dev] [PATCH v3] vhost: remove vhost_net_device_ops

2016-02-19 Thread Rich Lane
The 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 Acked-by: Yuanhan Liu --- v2->v3: - Rebased. v1->v2: - Fix long lines. examples/vhost_xen/virtio-net.h | 2 - lib/