]> git.baikalelectronics.ru Git - kernel.git/commit
rxe: fix broken receive queue draining
authorVijay Immanuel <vijayi@attalasystems.com>
Tue, 27 Jun 2017 09:19:38 +0000 (12:19 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 20 Jul 2017 15:20:50 +0000 (11:20 -0400)
commit1217197142d1681a8b8aaa88cdf4b245b76974cd
tree54b814d43b57f593b3a6946e10495b6e382b5d05
parentc75d3ec8c0ee469de79ae83c1a827d753603e49f
rxe: fix broken receive queue draining

If we modified the qp to ERROR state, and
drained the recieve queue, post_recv must
trigger the responder task to complete
the drain work request.

Cc: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Vijay Immanuel <vijayi@attalasystems.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>--
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_resp.c
drivers/infiniband/sw/rxe/rxe_verbs.c