vhost: unify Rx mergeable and non-mergeable paths
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 29 May 2018 09:45:13 +0000 (11:45 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commit24e4844048e129a1c8b95f86643c9a5ff780204e
treeffb9f0f1141b0b45c41aabb87d253bc438a10d6e
parentcfab13aa93897524a4c8d4f6e30d91e7dd9e247b
vhost: unify Rx mergeable and non-mergeable paths

This patch reworks the vhost enqueue path so that a single
code path is used for both Rx mergeable or non-mergeable cases.

Acked-by: Zhihong Wang <zhihong.wang@intel.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/virtio_net.c