linux_dsm_epyc7002/drivers/infiniband
Sagi Grimberg 42235f80ab 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: 765d67748b ("IB: new common API for draining queues")
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-04-26 12:40:50 -04:00
..
core IB/core: Don't drain non-existent rq queue-pair 2016-04-26 12:40:50 -04:00
hw i40iw: avoid potential uninitialized variable use 2016-04-06 10:37:16 -04:00
sw IB/rdmavt: Post receive for QP in ERR state 2016-03-17 15:55:22 -04:00
ulp iser-target: Use ib_drain_qp 2016-03-30 20:05:15 -07:00
Kconfig Merge branches 'i40iw', 'sriov' and 'hfi1' into k.o/for-4.6 2016-03-21 17:32:23 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00