[dpdk-dev] [PATCH v3] vhost: batch used descs chains write-back with packed ring

Tiwei Bie tiwei.bie at intel.com
Thu Dec 20 11:07:56 CET 2018


On Thu, Dec 20, 2018 at 11:00:22AM +0100, Maxime Coquelin wrote:
> Instead of writing back descriptors chains in order, let's
> write the first chain flags last in order to improve batching.
> 
> With Kernel's pktgen benchmark, ~3% performance gain is measured.
> 
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> ---
>  lib/librte_vhost/virtio_net.c | 19 +++++++++++++++++--
>  1 file changed, 17 insertions(+), 2 deletions(-)

Reviewed-by: Tiwei Bie <tiwei.bie at intel.com>


More information about the dev mailing list