[dpdk-dev] [PATCH v3 3/8] vhost: refactor virtio_dev_merge_rx

2016-03-14 Thread Yuanhan Liu
On Fri, Mar 11, 2016 at 05:18:54PM +0100, Thomas Monjalon wrote: > This patch does not compile: > lib/librte_vhost/vhost_rxtx.c:386:5: error: ?dev? undeclared Oops, I acutally did the basic compile test on every commit and every time I did a rebase. I had a quick look, it turned out that it's a bu

[dpdk-dev] [PATCH v3 3/8] vhost: refactor virtio_dev_merge_rx

2016-03-11 Thread Thomas Monjalon
This patch does not compile: lib/librte_vhost/vhost_rxtx.c:386:5: error: ?dev? undeclared

[dpdk-dev] [PATCH v3 3/8] vhost: refactor virtio_dev_merge_rx

2016-03-10 Thread Yuanhan Liu
Current virtio_dev_merge_rx() implementation just looks like the old rte_vhost_dequeue_burst(), full of twisted logic, that you can see same code block in quite many different places. However, the logic of virtio_dev_merge_rx() is quite similar to virtio_dev_rx(). The big difference is that the m