[dpdk-stable] [PATCH 2/2] virtio: get all pending rx packets with vectorized functions

Maxime Coquelin maxime.coquelin at redhat.com
Fri Sep 27 11:09:15 CEST 2019



On 9/11/19 6:04 PM, Thierry Herbelot wrote:
> From: Thibaut Collet <thibaut.collet at 6wind.com>
> 
> The loop to read packets does not take all packets as the number of
> available packets (nb_used) is decremented in the loop.
> Take all available packets provides a performance improvement of 3%.
> 
> Fixes: fc3d66212fed ("virtio: add vector Rx")
> Cc: stable at dpdk.org
> Cc: maxime.coquelin at redhat.com
> Cc: tiwei.bie at intel.com
> Cc: zhihong.wang at intel.com
> Cc: jerinj at marvell.com
> Cc: gavin.hu at arm.com
> 
> Signed-off-by: Thibaut Collet <thibaut.collet at 6wind.com>
> ---
>  drivers/net/virtio/virtio_rxtx_simple_neon.c | 5 +++--
>  drivers/net/virtio/virtio_rxtx_simple_sse.c  | 5 +++--
>  2 files changed, 6 insertions(+), 4 deletions(-)
> 


Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the stable mailing list