aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/efx.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2013-08-27 23:12:31 +0100
committerBen Hutchings <bhutchings@solarflare.com>2013-08-29 18:12:06 +0100
commitcade715ff18440dda53e59c10c606586c92be33e (patch)
tree5c88d245245ccf9f67f6d19b076bd280686e5346 /drivers/net/ethernet/sfc/efx.c
parentsfc: Remove unnecessary use of atomic_t (diff)
downloadlinux-dev-cade715ff18440dda53e59c10c606586c92be33e.tar.xz
linux-dev-cade715ff18440dda53e59c10c606586c92be33e.zip
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.c3
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)
if (!channel->type->keep_eventq)
efx_fini_eventq(channel);
}
+
+ /* Flush the asynchronous MCDI request queue */
+ efx_mcdi_flush_async(efx);
}
static void efx_enable_interrupts(struct efx_nic *efx)