sfc: move 'must restore' flags out of ef10-specific nic_data
authorEdward Cree <ecree@solarflare.com>
Mon, 11 May 2020 12:29:09 +0000 (13:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 May 2020 20:31:49 +0000 (13:31 -0700)
commite4fe938cff0464643b1fbca872e5e10b1ec4c478
tree2f6b8180cd911b1cd1069c251523167ecca71d53
parent484a75b1dbc492cca4893718e70daccc05c2ce0b
sfc: move 'must restore' flags out of ef10-specific nic_data

Common code in mcdi_filters.c uses these flags, so by moving them to
 either struct efx_nic (in the case of must_realloc_vis) or struct
 efx_mcdi_filter_table (for must_restore_rss_contexts and
 must_restore_filters), decouple this code from ef10's nic_data.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/mcdi_filters.c
drivers/net/ethernet/sfc/mcdi_filters.h
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/nic.h