[dpdk-stable] [PATCH] net/virtio: fix reporting of mbufs allocated on RxQ setup
    Maxime Coquelin 
    maxime.coquelin at redhat.com
       
    Tue Sep 14 13:25:35 CEST 2021
    
    
  
On 8/20/21 2:47 PM, Andrew Rybchenko wrote:
> From: Ivan Ilchenko <ivan.ilchenko at oktetlabs.ru>
> 
> Rx queue setup finish function may report wrong number of
> allocated mbufs in case of in-order feature. Fix the
> function to not ignore allocation error and count only
> successfully allocated number of buffers.
> 
> Fixes: e5f456a98d3 ("net/virtio: support in-order Rx and Tx")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Ivan Ilchenko <ivan.ilchenko at oktetlabs.ru>
> Signed-off-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> ---
>  drivers/net/virtio/virtio_rxtx.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
Applied to dpdk-next-virtio/main.
Thanks,
Maxime
    
    
More information about the stable
mailing list