sfc: don't double-down() filters in ef100_reset()
authorEdward Cree <ecree@solarflare.com>
Mon, 7 Sep 2020 16:14:20 +0000 (17:14 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 7 Sep 2020 21:46:13 +0000 (14:46 -0700)
commit7dcc9d8a40f85cbd76acdebcc45ccdfe4a84337f
tree1c5751adec7fcda5149d95648ca0e5ee248bd58b
parent30ebaf8e638701bebbc2703159f4d86982ea0430
sfc: don't double-down() filters in ef100_reset()

dev_close(), by way of ef100_net_stop(), already brings down the filter
 table, so there's no need to do it again (which just causes lots of
 WARN_ONs).
Similarly, don't bring it up ourselves, as dev_open() -> ef100_net_open()
 will do it, and will fail if it's already been brought up.

Fixes: a9dc3d5612ce ("sfc_ef100: RX filter table management and related gubbins")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/ef100_nic.c