]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/srpt: Rework the approach for closing an RDMA channel
authorBart Van Assche <bvanassche@acm.org>
Mon, 30 Sep 2019 23:17:04 +0000 (16:17 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 4 Oct 2019 18:35:07 +0000 (15:35 -0300)
commite56dfb1a8a7606c6b16fbe53d32f84b1857229cc
tree03f286eb04539cb46f8a8a0627870574972b0e7c
parent6622c52b7bf40e9c2d4b309347dc487081c52558
RDMA/srpt: Rework the approach for closing an RDMA channel

Instead of relying on a waitqueue, report when the identity of an RDMA
channel can be reused through a completion.

Link: https://lore.kernel.org/r/20190930231707.48259-13-bvanassche@acm.org
Cc: Honggang LI <honli@redhat.com>
Cc: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/infiniband/ulp/srpt/ib_srpt.h