net/virtio: improve batching in standard Rx path
authorTiwei Bie <tiwei.bie@intel.com>
Tue, 19 Mar 2019 06:43:12 +0000 (14:43 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commitabefc0abc8e770a983c48887ddfcb1a21bb345aa
tree03c2eab1e82687ea539f7504dc8adc3b8ed33bc2
parentd5e1ce796eecb4093db2a852104fd33da1b3c82d
net/virtio: improve batching in standard Rx path

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

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_rxtx.c