sunrpc: add dst_attr attributes to the sysfs xprt directory
authorOlga Kornievskaia <kolga@netapp.com>
Tue, 8 Jun 2021 19:59:19 +0000 (15:59 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 8 Jul 2021 18:03:24 +0000 (14:03 -0400)
commit587bc7255d26ca80b58026881db5fb3bf770cc43
tree1441712c0904d993e0bdfec96e58abc294f44deb
parentd408ebe04ac58eb370e2d264e88edbab746adda6
sunrpc: add dst_attr attributes to the sysfs xprt directory

Allow to query and set the destination's address of a transport.
Setting of the destination address is allowed only for TCP or RDMA
based connections.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/xprt.h
net/sunrpc/sysfs.c
net/sunrpc/xprt.c
net/sunrpc/xprtmultipath.c