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

2016-02-19 Thread Thomas Monjalon
2016-02-17 20:58, Yuanhan Liu: > On Tue, Feb 16, 2016 at 02:45:04PM -0800, Rich Lane wrote: > > 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

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

2016-02-17 Thread Yuanhan Liu
On Tue, Feb 16, 2016 at 02:45:04PM -0800, Rich Lane wrote: > 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 Thanks. --yliu

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

2016-02-16 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 --- v1->v2: - Fix long lines. examples/vhost_xen/virtio-net.h | 2 - lib/librte_vhost/vhost-net.h