[dpdk-dev] [PATCH] net/mlx5: fix invalid count in xstats

Shahaf Shuler shahafs at mellanox.com
Mon May 21 12:25:17 CEST 2018


Monday, May 21, 2018 9:52 AM, Nélio Laranjeiro:
> Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix invalid count in xstats
> 
> On Sun, May 20, 2018 at 10:13:58AM +0200, David Marchand wrote:
> > With the commit af4f09f28294 ("net/mlx5: prefix all functions with
> > mlx5"),
> > mlx5_xstats_get() is not compliant any longer with the api.
> > It always returns the caller max entries count while it should return
> > how many entries it wrote/wanted to write.
> >
> > Fixes: af4f09f28294 ("net/mlx5: prefix all functions with mlx5")
> >
> > Signed-off-by: David Marchand <david.marchand at 6wind.com>
> 
> Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>

Applied to next-net-mlx, thanks. 


More information about the dev mailing list