sfc: move initialisation of efx->filter_sem to efx_init_struct()
authorEdward Cree <ecree@solarflare.com>
Tue, 20 Oct 2020 14:35:08 +0000 (15:35 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 Oct 2020 04:22:23 +0000 (21:22 -0700)
commit05f90bf3d5df40e1a705527520e5fd56b2b6f09e
treef2c04ca112b62d574c7abd054976f9e1a9fb94fa
parentb7c24497baeaf21172b447f7cca36b0e99bd11e3
sfc: move initialisation of efx->filter_sem to efx_init_struct()

efx_probe_filters() has not been called yet when EF100 calls into
 efx_mcdi_filter_table_probe(), for which it wants to take the
 filter_sem.

Fixes: a9dc3d5612ce ("sfc_ef100: RX filter table management and related gubbins")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Link: https://lore.kernel.org/r/24fad43e-887d-051e-25e3-506f23f63abf@solarflare.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/efx_common.c
drivers/net/ethernet/sfc/rx_common.c