diff options
author | Edward Cree <ecree@solarflare.com> | 2020-07-02 18:31:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-02 23:47:40 +0200 |
commit | 31f4cbd4014360ec45ddb19fa1bf5ae97e42ec5b (patch) | |
tree | c5904459ba0a85cfa5993fddd10b7e0144ba5527 /drivers/net/ethernet/sfc/ef10.c | |
parent | sfc: commonise efx_fini_dmaq (diff) | |
download | linux-31f4cbd4014360ec45ddb19fa1bf5ae97e42ec5b.tar.xz linux-31f4cbd4014360ec45ddb19fa1bf5ae97e42ec5b.zip |
sfc: initialise RSS context ID to 'no RSS context' in efx_init_struct()
Previously this was only happening in ef10-specific code.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/ef10.c')
-rw-r--r-- | drivers/net/ethernet/sfc/ef10.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/ef10.c b/drivers/net/ethernet/sfc/ef10.c index d2101d2a55be..cb7b634a1150 100644 --- a/drivers/net/ethernet/sfc/ef10.c +++ b/drivers/net/ethernet/sfc/ef10.c @@ -552,8 +552,6 @@ static int efx_ef10_probe(struct efx_nic *efx) } nic_data->warm_boot_count = rc; - efx->rss_context.context_id = EFX_MCDI_RSS_CONTEXT_INVALID; - /* In case we're recovering from a crash (kexec), we want to * cancel any outstanding request by the previous user of this * function. We send a special message using the least |