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

Windows virtio-net driver uses indirect descriptors with
mergeable buffers.

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