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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Jul 2017 05:42:18 +0000 (07:42 +0200)
commit743564306ee61a16fd9855528c6972653183a037
treeb4524d7a770184cc5b3336e852da498b7339594c
parenta80a70a4822ca842c16b29c8d9e4336a95375c61
net/mlx5e: Fix TX carrier errors report in get stats ndo

commit 8ff93de7668bd81bc8efa819d1184ebd48fae72d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c