vhost: improve prefetching in enqueue path
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 6 Jul 2018 07:04:49 +0000 (09:04 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 10 Jul 2018 21:13:36 +0000 (23:13 +0200)
commit611994fc1bacc86decb2d8cd8ff6f7b0b1a883bc
tree7a7d42980e36111e1f93b534c881b0427e7275cc
parentc1058a6b162d0e6d9210ae2c777825c2cf7b5c59
vhost: improve prefetching in enqueue path

This is an optimization to prefetch next buffer while the
current one is being processed.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Tiwei Bie <tiwei.bie@intel.com>
lib/librte_vhost/virtio_net.c