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

2018-05-21 Thread Shahaf Shuler
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&q

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

2018-05-20 Thread Nélio Laranjeiro
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 wr

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

2018-05-20 Thread David Marchand
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 functio