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:00:07 +0000 (07:00 +0200)
commitfebc276df9ace2450e5e3e8fcfed588490539b90
treefb922837adbd13a2c0e1b70c5cc36ded62ef86dc
parentfa8b93e1dcc5c8354bc146892e44d3240faa2f9e
net/mlx5e: Fix TX carrier errors report in get stats ndo

[ Upstream commit 8ff93de7668bd81bc8efa819d1184ebd48fae72d ]

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