diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2013-08-27 18:12:31 -0400 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-08-29 13:12:06 -0400 |
commit | cade715ff18440dda53e59c10c606586c92be33e (patch) | |
tree | 5c88d245245ccf9f67f6d19b076bd280686e5346 /drivers/net/ethernet/sfc/efx.c | |
parent | 251111d9a1bd9a26e25446d876156bf265858cb5 (diff) |
sfc: Implement asynchronous MCDI requests
This will allow use of MCDI from the data path, in particular for
accelerated RFS.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx.c')
-rw-r--r-- | drivers/net/ethernet/sfc/efx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c index db2f119d7fec..69150fa1459b 100644 --- a/drivers/net/ethernet/sfc/efx.c +++ b/drivers/net/ethernet/sfc/efx.c | |||
@@ -1368,6 +1368,9 @@ static void efx_soft_disable_interrupts(struct efx_nic *efx) | |||
1368 | if (!channel->type->keep_eventq) | 1368 | if (!channel->type->keep_eventq) |
1369 | efx_fini_eventq(channel); | 1369 | efx_fini_eventq(channel); |
1370 | } | 1370 | } |
1371 | |||
1372 | /* Flush the asynchronous MCDI request queue */ | ||
1373 | efx_mcdi_flush_async(efx); | ||
1371 | } | 1374 | } |
1372 | 1375 | ||
1373 | static void efx_enable_interrupts(struct efx_nic *efx) | 1376 | static void efx_enable_interrupts(struct efx_nic *efx) |