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: 10364333 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 4B5EC601BE 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 3260A28877 for ; Wed, 25 Apr 2018 22:34:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2649828D95; 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=ham 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 C0E6628877 for ; Wed, 25 Apr 2018 22:34:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753834AbeDYWeY (ORCPT ); Wed, 25 Apr 2018 18:34:24 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:43780 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753816AbeDYWeW (ORCPT ); Wed, 25 Apr 2018 18:34:22 -0400 Received: by mail-pf0-f195.google.com with SMTP id j11so16442174pff.10 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=Ot0fo3k2fGp4s6kjSR1BQ6EWpzsA0u6Zcg7rYZUW8wbGkke1TlWi3ykFvu4+vcuFff s5DOTNQhOqmJXyZqviAJKTNDSTzluTdsP68DfNE6njo4l213z6W1uX+Jb/WIqZKoI6+O FesfIp8cR5HCKha5unvk4zeIwnTBMzgn5zETDg4t1vKm9eL0eGO4fyHGGAt7z1DK5w4+ SQdBQlsOBE8Nj0RjBOcgmHHZAGSXkeOSHsjiz9OEu1L20268UjD5l7Jfic8JIB0aECdr hBxtzidswklGuodRB66/E7N1A3qXnOOUxYGqymPm8e/H4UjQT72e4YiTlHHTG+mwDJHY lSBw== X-Gm-Message-State: ALQs6tBSsy/ufU2SPCwwKJtlIB4B1qkGrMiOlDfyIMQ9/UlHSQtwtMPQ 0RxwnveDkeiMqKa8KtgraY6Cxg== 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-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@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,