Skip to content

Commit

Permalink
cifs: smbd: depend on INFINIBAND_ADDR_TRANS
Browse files Browse the repository at this point in the history
CIFS_SMB_DIRECT code depends on INFINIBAND_ADDR_TRANS provided symbols.
So declare the kconfig dependency.  This is necessary to allow for
enabling INFINIBAND without INFINIBAND_ADDR_TRANS.

Signed-off-by: Greg Thelen <[email protected]>
Cc: Tarick Bedeir <[email protected]>
Reviewed-by: Long Li <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
  • Loading branch information
gthelen authored and dledford committed Apr 27, 2018
1 parent 346a47b commit 3c6b03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/cifs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ config CIFS_SMB311

config CIFS_SMB_DIRECT
bool "SMB Direct support (Experimental)"
depends on CIFS=m && INFINIBAND || CIFS=y && INFINIBAND=y
depends on CIFS=m && INFINIBAND && INFINIBAND_ADDR_TRANS || CIFS=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y
help
Enables SMB Direct experimental support for SMB 3.0, 3.02 and 3.1.1.
SMB Direct allows transferring SMB packets over RDMA. If unsure,
Expand Down

0 comments on commit 3c6b03d

Please sign in to comment.