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

2016-02-15 Thread Yuanhan Liu
On Wed, Feb 10, 2016 at 11:27:08AM -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. This is a good cleanup! A minor nit is that I saw few long lines exceeding 80 chars.

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

2016-02-10 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 --- examples/vhost_xen/virtio-net.h | 2 - lib/librte_vhost/vhost-net.h | 40 +---