bnxt_en: cleanup DIM work on device shutdown
authorAndy Gospodarek <gospo@broadcom.com>
Fri, 26 Jan 2018 15:27:47 +0000 (10:27 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jan 2018 19:19:23 +0000 (14:19 -0500)
commit0bc0b97fca73fca19edd0bd1463972144b44abaa
tree31fc3a5a80e5bf8a4d091a09d2f8047528e4bb50
parentc76fe2d98c726224a975a0d0198c3fb50406d325
bnxt_en: cleanup DIM work on device shutdown

Make sure to cancel any pending work that might update driver coalesce
settings when taking down an interface.

Fixes: 6a8788f25625 ("bnxt_en: add support for software dynamic interrupt moderation")
Signed-off-by: Andy Gospodarek <gospo@broadcom.com>
Cc: Michael Chan <michael.chan@broadcom.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c