diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-01-03 11:56:48 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-01-15 10:54:32 -0500 |
commit | 25868e610aed20e06f6ff10a562a04e8aaea5a5e (patch) | |
tree | 2818953a95d24d778450443dac3d30bb8f3b75e0 /crypto | |
parent | 18d065a5d4f16eeefb690c298671c3f9131121fe (diff) | |
download | lwn-25868e610aed20e06f6ff10a562a04e8aaea5a5e.tar.gz lwn-25868e610aed20e06f6ff10a562a04e8aaea5a5e.zip |
xprtrdma: Refactor frwr_is_supported
Refactor: Perform the "is supported" check in rpcrdma_ep_create()
instead of in rpcrdma_ia_open(). frwr_open() is where most of the
logic to query device attributes is already located.
The current code displays a redundant error message when the device
does not support FRWR. As an additional clean-up, this patch removes
the extra message.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions