]> git.baikalelectronics.ru Git - kernel.git/commit
mlxbf_gige: remove driver-managed interrupt counts
authorDavid Thompson <davthompson@nvidia.com>
Wed, 11 May 2022 13:52:51 +0000 (09:52 -0400)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 May 2022 23:19:52 +0000 (16:19 -0700)
commit7552a24e026fbca30da2bd153f281297b7c33c65
tree621e1756b4d4563f4e02021d68dfa2f13f81bd81
parentccbfa882acf7dc491a0cb39928269076d7c3ba29
mlxbf_gige: remove driver-managed interrupt counts

The driver currently has three interrupt counters,
which are incremented every time each interrupt handler
executes.  These driver-managed counters are not
necessary as the kernel already has logic that manages
interrupt counts and exposes them via /proc/interrupts.
This patch removes the driver-managed counters.

Signed-off-by: David Thompson <davthompson@nvidia.com>
Signed-off-by: Asmaa Mnebhi <asmaa@nvidia.com>
Link: https://lore.kernel.org/r/20220511135251.2989-1-davthompson@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige.h
drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_ethtool.c
drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_intr.c