net/virtio: improve batching in mergeable path
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Thu, 20 Dec 2018 17:27:18 +0000 (18:27 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:41 +0000 (16:22 +0100)
commitbcac5aa207f896c46963b2ac0a06bc09b1e912a5
tree6b2644f1911f909640661922dd5bde6d7bab2990
parentefcda13648d25ed21bc9de2f19082fe8eb5ab8ff
net/virtio: improve batching in mergeable path

This patch improves both descriptors dequeue and refill,
by using the same batching strategy as done in in-order path.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Tested-by: Jens Freimann <jfreimann@redhat.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
drivers/net/virtio/virtio_rxtx.c