net/mlx5e: Fix TX carrier errors report in get stats ndo
authorGal Pressman <galp@mellanox.com>
Sun, 25 Jun 2017 13:46:25 +0000 (16:46 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 27 Jun 2017 11:49:57 +0000 (14:49 +0300)
commit8ff93de7668bd81bc8efa819d1184ebd48fae72d
treee0491d70f9cfbe0ee76530ec724805007bbac39b
parent2a0165a034ac024b60cca49c61e46f4afa2e4d98
net/mlx5e: Fix TX carrier errors report in get stats ndo

Symbol error during carrier counter from PPCNT was mistakenly reported as
TX carrier errors in get_stats ndo, although it's an RX counter.

Fixes: 269e6b3af3bf ("net/mlx5e: Report additional error statistics in get stats ndo")
Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c