From patchwork Thu Apr 26 18:19:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Thelen X-Patchwork-Id: 10366639 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 921AB60542 for ; Thu, 26 Apr 2018 18:20:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8237F28A6C for ; Thu, 26 Apr 2018 18:20:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76AC8291BB; Thu, 26 Apr 2018 18:20:39 +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 25B6828A6C for ; Thu, 26 Apr 2018 18:20:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757128AbeDZSUe (ORCPT ); Thu, 26 Apr 2018 14:20:34 -0400 Received: from mail-yw0-f201.google.com ([209.85.161.201]:46705 "EHLO mail-yw0-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757117AbeDZSUc (ORCPT ); Thu, 26 Apr 2018 14:20:32 -0400 Received: by mail-yw0-f201.google.com with SMTP id v124-v6so13312572ywb.13 for ; Thu, 26 Apr 2018 11:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:date:in-reply-to:message-id:references:subject:from:to :cc; bh=etyWZp+d1DcByJQEicuRRXIt0t1L6xbfo+6NP2/W1iA=; b=LNokm0XdNbs8GXaeHs6EpcvuvnO+WGolcziVRrSTTxKIEHZ1soqh9Ja7Y75PNu6nbk kqaNxAcDdYjVn00V5HEOKxEciAGPmR3ePCHwqdZXG2nPasSO64xsHVC4OsWlmB6biule Oh+5pg8tI/p0lug6Jep63V2W5E89LSQCc9iKluyWUIyUwL16F5CBo35nWjYjsyk5QsYp kX5ChIsaKtGpeR21m/UlrHn702s2qYR807oqzFF4fA8JKTEzMDz1+Wvucew4Rf+UYA1B BY4tLMS1lD/1z65tdo54lfdYUxre25ZLh7LCj7IOXXBk+W0vr6anB8i5rw7jCV+H3h4q 0afg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:in-reply-to:message-id :references:subject:from:to:cc; bh=etyWZp+d1DcByJQEicuRRXIt0t1L6xbfo+6NP2/W1iA=; b=gvz3zUI8fe5qmVwxsugJAfopHEyWQZ8IlX8KKOLn9jpqi7D8zq6yLsuBp+0Vn2W5YS jtk2kxISHfHSfJCl4P6nMLfFZFXMLQb+sXqKC73rPdbf/fT/HMnjK+gMXImXD7YjjsVl Lj0Hx0yjujLWHLvTAHrZnWZeaLg6byoel8bntcAj5VIG0fhSj8cn3CFnsIHWB8ljlzIN XsRNBxneeLqvOw42q6IvZFlE7J83ynDZIotY/AbCNfVxUTysUXEYeRmGEt9GPu8w7//E 0B6UNMg6e+lRpJpvjXDym3Ngx2WD7GJYfPwSubxzi6jx4cEQLZglJqSXqM/PcqL6vQw4 taPA== X-Gm-Message-State: ALQs6tAqPppztW6YdhilIv8Kyr+Ps6daSRIHM/6LhSkNIblvCkyrQdKw dd9wYjezavQfLT0DwKz5p4F0c8JLJgB8 X-Google-Smtp-Source: AIpwx48a8DsEyWdPFNKJ6LZx1LP5dPhND/8WVAOK8Uc3VSfUemfFIGBqiypumwEEZ01y6EkYm8yT4fn8omNj MIME-Version: 1.0 X-Received: by 2002:a25:384b:: with SMTP id f72-v6mr11203763yba.13.1524766832173; Thu, 26 Apr 2018 11:20:32 -0700 (PDT) Date: Thu, 26 Apr 2018 11:19:33 -0700 In-Reply-To: <20180426181935.32977-1-gthelen@google.com> Message-Id: <20180426181935.32977-5-gthelen@google.com> References: <20180426181935.32977-1-gthelen@google.com> X-Mailer: git-send-email 2.17.0.484.g0c8726318c-goog Subject: [PATCH 4/6] cifs: smbd: depend on INFINIBAND_ADDR_TRANS From: Greg Thelen To: Bart.VanAssche@wdc.com, hch@lst.de, dledford@redhat.com, jgg@ziepe.ca, axboe@fb.com, keith.busch@intel.com, sagi@grimberg.me, sfrench@samba.org, linux-rdma@vger.kernel.org, linux-nvme@lists.infradead.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, gthelen@google.com, tarick@google.com Cc: linux-rdma@vger.kernel.org, linux-nvme@lists.infradead.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Thelen , Tarick Bedeir 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,