diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2016-04-26 17:55:38 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-04-26 12:40:50 -0400 |
commit | 42235f80ab205bf5020cf33cb3e94455410abe36 (patch) | |
tree | 6c268d22e51a547ce9d145125368e18d36556cb3 /Documentation | |
parent | f4e7de63ab273b6a5e35c82eb4fc6363c855ddd4 (diff) |
IB/core: Don't drain non-existent rq queue-pair
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions