OSDN Git Service

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:12:28 +0000 (13:12 +0200)
commitaad3fdc0468b20cca5ee5949af95035e63b3dfee
treedb6f66c913feaa08adbb53044ad9c6063f27a427
parentfc1241bcd1a916effa3b147a2a27a458f428eb52
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