vhost: simplify descriptor buffer prefetching
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Wed, 29 May 2019 13:04:19 +0000 (15:04 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Jun 2019 14:54:29 +0000 (23:54 +0900)
commitd1134c09e37608c949b75ebfc7ea01000b134c5c
treeff6205a69cb64722b4f74478ba094e9d2ff70211
parent084fac96ca0331f2646002c302f389415fef69e2
vhost: simplify descriptor buffer prefetching

Now that we have a single function to map the descriptors
buffers, let's prefetch them there as it is the earliest
place we can do it.

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