Re: [dpdk-dev] [PATCH v6 10/13] vhost: optimize packed ring enqueue

2019-10-16 Thread Maxime Coquelin
On 10/15/19 6:07 PM, Marvin Liu wrote: > Optimize vhost device packed ring enqueue function by splitting batch > and single functions. Packets can be filled into one desc will be > handled by batch and others will be handled by single as before. > > Signed-off-by: Marvin Liu > Reviewed-by:

[dpdk-dev] [PATCH v6 10/13] vhost: optimize packed ring enqueue

2019-10-15 Thread Marvin Liu
Optimize vhost device packed ring enqueue function by splitting batch and single functions. Packets can be filled into one desc will be handled by batch and others will be handled by single as before. Signed-off-by: Marvin Liu diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_