diff options
author | James Lentini <jlentini@netapp.com> | 2008-01-28 12:09:28 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-02-07 19:58:08 -0500 |
commit | 3211e4eb5834924dd5beac8956c0bc0bfb755c37 (patch) | |
tree | 65cbcab3ef682d00d77fe77cf8914c2795fb94c1 | |
parent | 5d47a35600270e7115061cb1320ee60ae9bcb6b8 (diff) |
SUNRPC xptrdma: simplify build configuration
Trond and Bruce,
This is a patch for 2.6.25. This is the same version that was sent out
on December 12 for review (no comments to date).
To simplify the RPC/RDMA client and server build configuration, make
SUNRPC_XPRT_RDMA a hidden config option that continues to depend on
SUNRPC and INFINIBAND. The value of SUNRPC_XPRT_RDMA will be:
- N if either SUNRPC or INFINIBAND are N
- M if both SUNRPC and INFINIBAND are on (M or Y) and at least one is M
- Y if both SUNRPC and INFINIBAND are Y
In 2.6.25, all of the RPC/RDMA related files are grouped in
net/sunrpc/xprtrdma and the net/sunrpc/xprtrdma/Makefile builds both
the client and server RPC/RDMA support using this config option.
Signed-off-by: James Lentini <jlentini@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r-- | fs/Kconfig | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index 3bf6ace1720c..d7312825592b 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -1778,12 +1778,9 @@ config SUNRPC_GSS | |||
1778 | tristate | 1778 | tristate |
1779 | 1779 | ||
1780 | config SUNRPC_XPRT_RDMA | 1780 | config SUNRPC_XPRT_RDMA |
1781 | tristate "RDMA transport for sunrpc (EXPERIMENTAL)" | 1781 | tristate |
1782 | depends on SUNRPC && INFINIBAND && EXPERIMENTAL | 1782 | depends on SUNRPC && INFINIBAND && EXPERIMENTAL |
1783 | default m | 1783 | default SUNRPC && INFINIBAND |
1784 | help | ||
1785 | Adds a client RPC transport for supporting kernel NFS over RDMA | ||
1786 | mounts, including Infiniband and iWARP. Experimental. | ||
1787 | 1784 | ||
1788 | config SUNRPC_BIND34 | 1785 | config SUNRPC_BIND34 |
1789 | bool "Support for rpcbind versions 3 & 4 (EXPERIMENTAL)" | 1786 | bool "Support for rpcbind versions 3 & 4 (EXPERIMENTAL)" |