vhost: support indirect descriptor in non-mergeable Rx
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 18 Oct 2016 15:35:39 +0000 (17:35 +0200)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 26 Oct 2016 11:39:09 +0000 (13:39 +0200)
commit2a51b1091cb5e2e760f2971533b2e620ef44ae3b
tree6a51e030350b4202c28104be4d602e9e9ef4eaf7
parent1be4ebb1c464199f6cb36e721d4a442a1f6f2873
vhost: support indirect descriptor in non-mergeable Rx

Linux virtio-net kernel driver uses indirect descriptors when
mergeable buffers are not used.

This patch adds its support, fixing the use of indirect
descriptors with these guests.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
lib/librte_vhost/virtio_net.c