]> git.ipfire.org Git - people/ms/linux.git/commit
sfc: Do not attempt to flush queues if DMA is disabled
authorStuart Hodgson <smhodgson@solarflare.com>
Fri, 30 Mar 2012 12:04:51 +0000 (13:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 19:06:00 +0000 (12:06 -0700)
commitc7c9da144089da9241afd57398144ba4860e91bd
tree3b045825fd0483fd09e5e8a14075718605062439
parentdc3780422853539f985271c59e686e4e53ac0eb2
sfc: Do not attempt to flush queues if DMA is disabled

[ Upstream commit 3dca9d2dc285faf1910d405b65df845cab061356 ]

efx_nic_fatal_interrupt() disables DMA before scheduling a reset.
After this, we need not and *cannot* flush queues.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/sfc/efx.c