]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Allocate Protection Domain in rpcrdma_ep_create()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 21 Feb 2020 22:00:33 +0000 (17:00 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 27 Mar 2020 14:47:24 +0000 (10:47 -0400)
commitc18c743e01280270e5a46dc61a0c8350b0dbd941
treea5873649405a847f6696de3ffc14c2824c968f76
parentb28c4cb0e373fa68d2212d8a6fa90e0ba3af032b
xprtrdma: Allocate Protection Domain in rpcrdma_ep_create()

Make a Protection Domain (PD) a per-connection resource rather than
a per-transport resource. In other words, when the connection
terminates, the PD is destroyed.

Thus there is one less HW resource that remains allocated to a
transport after a connection is closed.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c