]> 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)
commitddcacbb805952cf6d6876305e9440bb7b8ceb8e0
tree471dd14ef683e2ae616d7ce011e098a0b185b9b7
parente2b258b1f88e9aa86e830798333b1bbe9cb30f49
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: 0b0f5e4eea35 ("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