]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Remove several module events out of ethtool stats
authorHuy Nguyen <huyn@mellanox.com>
Mon, 8 May 2017 16:46:50 +0000 (11:46 -0500)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 11 Jun 2017 10:10:36 +0000 (13:10 +0300)
commite87f481ca5815722caeaf8662f973a96da55ddb3
tree471dd14ef683e2ae616d7ce011e098a0b185b9b7
parenta3fe6f1aa5198ba661aeb7ddf5fc56840f6b7e30
net/mlx5: Remove several module events out of ethtool stats

Remove the following module event counters out of ethtool stats. The
reason for removing these event counters is that these events do not
occur without techinician's intervention.
  module_pwr_budget_exd
  module_long_range
  module_no_eeprom
  module_enforce_part
  module_unknown_id
  module_unknown_status
  module_plug

Fixes: e6767bb0bb8a ("net/mlx5e: Add port module event counters to ethtool stats")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Reviewed by: Gal Pressman <galp@mellanox.com>

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h