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: 10366655 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 006AC601BE for ; Thu, 26 Apr 2018 18:22:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E740B291BA for ; Thu, 26 Apr 2018 18:22:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB987291BF; Thu, 26 Apr 2018 18:22:27 +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 88A63291BA for ; Thu, 26 Apr 2018 18:22:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757133AbeDZSUf (ORCPT ); Thu, 26 Apr 2018 14:20:35 -0400 Received: from mail-yw0-f202.google.com ([209.85.161.202]:35533 "EHLO mail-yw0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757119AbeDZSUc (ORCPT ); Thu, 26 Apr 2018 14:20:32 -0400 Received: by mail-yw0-f202.google.com with SMTP id b85-v6so13281359ywa.2 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=ZvHhas6u4nA0+vpXDF2T8Q7OvB7c0dUW0WXRmLyI7b1aEGm6fX3+kEnoiIsOwgtj2N /zFnOLTKsfKlAyHugtsUi6lhaQZuhYUintLZj8OlvfYHo1HKucItw4WTR/L3YNfwHEXW 8QTAlWQG9LgRyN9nrlwnEzLn/R7G2fdmnVAIDtom8Bil5JiZwYd+Rdvza9cI2MQSykmL eG0zm0TkXwKRHnB5PPmwbjUOnn//y0KIfsrXCVG6zLxHgbhkT+yhNF41U7iVsecHaZFw BCjrZaheApMuwdp8lSD4tzH+X7Rlw0aB5Fti3wE/1DcUU6TewW8W0cyZrm3WWqM9so7Q 1o4w== X-Gm-Message-State: ALQs6tA5XybEfU2+VE8y3McMKMjY2yH/MCdK154Gg2cBBji1/gR6rqmS Yw2HhyI+321bfAAZho0Nm7Zxn7emvoEx 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-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,