]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
IB/rxe: Fix missing completion for mem_reg work requests
authorVijay Immanuel <vijayi@attalasystems.com>
Wed, 13 Jun 2018 01:16:05 +0000 (18:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:06:42 +0000 (13:06 +0200)
commitd3fc1dee6e4a758c6ce636174011e6c1fe6a01ca
treefe63d37b27828e8a4a4f032157ecae0543c3b14a
parentbf3a313b9dee0fa60a2327ef86cc775a309c76cf
IB/rxe: Fix missing completion for mem_reg work requests

[ Upstream commit 375dc53d032fc11e98036b5f228ad13f7c5933f5 ]

Run the completer task to post a work completion after processing
a memory registration or invalidate work request. This covers the
case where the memory registration or invalidate was the last work
request posted to the qp.

Signed-off-by: Vijay Immanuel <vijayi@attalasystems.com>
Reviewed-by: Yonatan Cohen <yonatanc@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/sw/rxe/rxe_req.c