net/mlx5: fix Tx stats error counter logic
authorShahaf Shuler <shahafs@mellanox.com>
Thu, 14 Sep 2017 10:50:38 +0000 (13:50 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commit24c14430cdc4556a30a1e608f67230e881718f7f
tree1cf4ab04378cef0dbec02d15bf9c864653f7bae7
parent9f9a48eb2978157954242e08acf81d7a26f38810
net/mlx5: fix Tx stats error counter logic

Tx error counter lacks the logic of incrementation, making it useless
for applications.

Fixes: 87011737b715 ("mlx5: add software counters")
Cc: stable@dpdk.org
Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c