[dpdk-dev] [PATCH] net/virtio: get all pending Rx packets in altivec vectorized paths

Maxime Coquelin maxime.coquelin at redhat.com
Wed Oct 16 13:11:12 CEST 2019



On 9/30/19 8:42 PM, David Christensen wrote:
> 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: thibaut.collet at 6wind.com
> 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: David Christensen <drc at linux.vnet.ibm.com>
> ---
>  drivers/net/virtio/virtio_rxtx_simple_altivec.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
Applied to dpdk-next-virtio/master.

Thanks,
Maxime


More information about the dev mailing list