net/sfc/base: let caller know that queue is already flushed
authorAndy Moreton <amoreton@solarflare.com>
Sat, 27 May 2017 07:55:31 +0000 (08:55 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:27 +0000 (10:41 +0100)
commitaf39bcc61238d52435377be8699a318b19e22139
tree547c8624ee87b3f9a7b99e7e1b40a598121f0769
parent7236d2bfe0acc48330e3c2a3dfac4ada9a792cd8
net/sfc/base: let caller know that queue is already flushed

Tx/Rx queue may be already flushed due to Tx/Rx error on the queue or
MC reboot. Caller needs to know that the queue is already flushed to
avoid waiting for flush done event.

Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_ev.c
drivers/net/sfc/base/ef10_rx.c
drivers/net/sfc/base/ef10_tx.c