]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Aggregate the inline settings in struct rpcrdma_ep
authorChuck Lever <chuck.lever@oracle.com>
Wed, 24 Apr 2019 13:40:20 +0000 (09:40 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 19:39:16 +0000 (15:39 -0400)
commit568a6367e237b28ad82ba0c3ff446a31bc6f1258
tree23b97b600a23ca4661b5450578fffba60303ee4b
parentabb061f017b06978583c31d823e4dcd4421c00cf
xprtrdma: Aggregate the inline settings in struct rpcrdma_ep

Clean up.

The inline settings are actually a characteristic of the endpoint,
and not related to the device. They are also modified after the
transport instance is created, so they do not belong in the cdata
structure either.

Lastly, let's use names that are more natural to RDMA than to NFS:
inline_write -> inline_send and inline_read -> inline_recv. The
/proc files retain their names to avoid breaking user space.

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