]> 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)
commit69f13c95453f55e69f87786350c813f66196d24e
treea5873649405a847f6696de3ffc14c2824c968f76
parentb2f4db0c8b9c3723a568d2f6ba5b8a78f96d3cc1
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