Monday, March 4, 2019 1:19 PM, David Marchand: > Subject: [PATCH 07/12] net/mlx5: fix incorrect rxq errors stat > > Transmit errors must not be reported in q_errors[] which is for reception. > > Fixes: 87011737b715 ("mlx5: add software counters") > Fixes: 9f9a48eb2978 ("net/mlx5: fix Tx stats error counter definition") > Cc: sta...@dpdk.org > Cc: Shahaf Shuler <shah...@mellanox.com> > Cc: Yongseok Koh <ys...@mellanox.com> > Signed-off-by: David Marchand <david.march...@redhat.com> > --- > drivers/net/mlx5/mlx5_stats.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/net/mlx5/mlx5_stats.c b/drivers/net/mlx5/mlx5_stats.c > index 6906dc8..ef7bc14 100644 > --- a/drivers/net/mlx5/mlx5_stats.c > +++ b/drivers/net/mlx5/mlx5_stats.c > @@ -409,7 +409,6 @@ > tmp.q_opackets[idx] += txq->stats.opackets; > tmp.q_obytes[idx] += txq->stats.obytes; #endif > - tmp.q_errors[idx] += txq->stats.oerrors; > } > #ifdef MLX5_PMD_SOFT_COUNTERS > tmp.opackets += txq->stats.opackets; > -- > 1.8.3.1
Acked-by: Shahaf Shuler <shah...@mellanox.com>