From patchwork Wed Apr 25 22:34:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Thelen X-Patchwork-Id: 10364335 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ECA23601BE for ; Wed, 25 Apr 2018 22:34:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4BBC28877 for ; Wed, 25 Apr 2018 22:34:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9B8B28D95; Wed, 25 Apr 2018 22:34:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 904DA28877 for ; Wed, 25 Apr 2018 22:34:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753828AbeDYWeY (ORCPT ); Wed, 25 Apr 2018 18:34:24 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:46482 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753811AbeDYWeW (ORCPT ); Wed, 25 Apr 2018 18:34:22 -0400 Received: by mail-pf0-f193.google.com with SMTP id p12so452516pff.13 for ; Wed, 25 Apr 2018 15:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=J6ziuxQOLK8WDPixqs3OFV95kpqRUiBQW4V52KxsmYY=; b=K/UQ6c2ODt9Ur4yveEulPOlhphhpiOGUfIPMr75KSnaX1X3PHmXvo0eaXrPkqd+z6z FVYoYiydDVNFcwv8t/xeviPfc33ZOVyJcjTr65Ql9hIqDLwrQSaeWZLrkYdhU2WKI1I9 K6JjZCcEBGqwR+VkGUr2kkfiIn2K4qSPoD0bGMQEpYlufHdrmKWYxwUrIXrI/y7mPo48 N9LQ8sPMPDB/KaideXt0aTmF/yz6mhdRxVe4PLcz0LCw1BqgM2CvbqmqwL3qynnGpWYp pFz4e0Ha8fAWtGOIgGYVUYtOEBKsFq9Dnm4T11IYCo94qTTSzf1fSgqMO79F7wGANChM VwzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=J6ziuxQOLK8WDPixqs3OFV95kpqRUiBQW4V52KxsmYY=; b=EHBHnqJibKOOMEE4Xo5En7QMdJGqdCqIeRyH9+nSicVyb2dEV61KnbdMLyGESYcpYv 4CmWA15heA3yW/7kyv1R9FqwTo1EvZimy7oN8y4SNcIqcCwCb17xpgRd1oqXQhmrphJ9 oaX9Uwa5VwlX1Dj1vgWExItEm3xhr2ljVxXa+7z9qJDD5ZUT6SzKJR5iHm7HAmNP0SBq kY1+kVfUHlzzumMzGkfxuWCbdAT/woZ1qNyE5pIYeCGS6KoKsCXNHJuGd8jhyx5HtTzQ ADG6TP5kuf5028THZfln9YNLG2xWE6NKTzcO9ipZRt625QmMtuUyQygkwpUar1HmAOp2 HhuA== X-Gm-Message-State: ALQs6tDmSPON/m2/WbCyvzhBunumUXXvXByCdtvL+GOjuMWwLUfog3r3 8oJj4UE1FYKjSUUHYRAHFipuOA== X-Google-Smtp-Source: AIpwx49+jRxh8O1yhDWROKbqx0sFGXGOw9no97N/l4Lj/UHFenJRAhPmum5x7UGLU1smUsnmsKkLKQ== X-Received: by 10.101.87.201 with SMTP id q9mr25643472pgr.215.1524695661635; Wed, 25 Apr 2018 15:34:21 -0700 (PDT) Received: from gthelen.svl.corp.google.com ([2620:15c:2cb:201:7fd0:97b4:747b:9bf1]) by smtp.gmail.com with ESMTPSA id v8sm16985012pfn.136.2018.04.25.15.34.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 15:34:20 -0700 (PDT) From: Greg Thelen To: Steve French , Bart Van Assche , Jason Gunthorpe Cc: Christoph Hellwig , linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Greg Thelen , Tarick Bedeir Subject: [PATCH 4/5] cifs: smbd: depend on INFINIBAND_ADDR_TRANS Date: Wed, 25 Apr 2018 15:34:12 -0700 Message-Id: <20180425223412.207127-1-gthelen@google.com> X-Mailer: git-send-email 2.17.0.441.gb46fe60e1d-goog Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Cc: Tarick Bedeir Reviewed-by: Long Li --- fs/cifs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig index 741749a98614..5f132d59dfc2 100644 --- a/fs/cifs/Kconfig +++ b/fs/cifs/Kconfig @@ -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,