Revision 42235f80ab205bf5020cf33cb3e94455410abe36 authored by Sagi Grimberg on 26 April 2016, 14:55:38 UTC, committed by Doug Ledford on 26 April 2016, 16:40:50 UTC
The drain_rq function expects a normal receive qp to drain.  A qp can
only have either a normal rq or an srq.  If there is an srq, there
is no rq to drain.  Until the API supports draining SRQs, simply
skip draining the rq when the qp has an srq attached.

Fixes: 765d67748bcf ("IB: new common API for draining queues")
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
1 parent f4e7de6
History
File Mode Size
rcar
Kconfig -rw-r--r-- 1.5 KB
Makefile -rw-r--r-- 702 bytes
dma-sh7760.c -rw-r--r-- 9.3 KB
fsi.c -rw-r--r-- 46.3 KB
hac.c -rw-r--r-- 8.0 KB
migor.c -rw-r--r-- 4.9 KB
sh7760-ac97.c -rw-r--r-- 1.6 KB
siu.h -rw-r--r-- 5.6 KB
siu_dai.c -rw-r--r-- 20.0 KB
siu_pcm.c -rw-r--r-- 16.3 KB
ssi.c -rw-r--r-- 10.0 KB

back to top