Received: by 10.192.165.148 with SMTP id m20csp2461229imm; Thu, 26 Apr 2018 11:22:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx49LSGOHSdEHLvGYNW05XPVPOTx6XgIKw3uag+Lm7Uk2oPp8tjiiiO+S9wMKd/oSPrfCDieV X-Received: by 2002:a17:902:bd03:: with SMTP id p3-v6mr34996742pls.236.1524766940355; Thu, 26 Apr 2018 11:22:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524766940; cv=none; d=google.com; s=arc-20160816; b=M0CZoUitawtJvIadv8X1plJbh2nItKprq9dXlqxDUxEcFRXRPW7Sab5xqZ6WrxHEVu cW8M7hsReCLwdDLHTMXT5t22J+KoXfqZ58la121vslNe5TfTVghvtSr2YPIdHIVRVYca EmcJ7MCuQ227bPweOuVexTeSePwX+cVRsrJ9tndKzkPs8MD+K3Zp3FTgTSahJ9TW9oU7 fMLtsHghQdhUnONomVOGGMG6zdfFfvD/RGkHvVVEEs0rrsLVlJO0tSIk78K7lcKFiVJl kzeucQqck7MX5OfnAiJPX+DGYseVYnNamKdjeVg4rTJFviPvl14HNhaNx2WpVQ9MqzE6 kT4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references:message-id :in-reply-to:date:mime-version:dkim-signature :arc-authentication-results; bh=etyWZp+d1DcByJQEicuRRXIt0t1L6xbfo+6NP2/W1iA=; b=vDijXgFlMfSpfWstRSexbkHqt4EQPi65UDHOpCaE/iwiGBhiVe7/OAdjP95XuGIL/z hcL/K9D6PMO2FZvGCvHHbAvTbzeDIWJHlYaZE80WIUknN8jIaFtLOeqIiRRehZv75Vx9 B4V3Go+0+ieEGp06UttA47gDUQjELlk4goXSoiEdXYnXRJzP6dft3V1TUyw/vAF4Gw02 WeLon83lyoSwcwg6inbg1KMi/JC08eLLzM86MKs5VSgDg9O9MlVQOM/SUethcynOTHUg wqVsLfM7HN38Ry+mnCJzlY9vJECEUJpQ4hccN8xBpv+tjjef55gKgLaq3Yx1il0StOOD nE4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=LNokm0Xd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f68si19420549pfb.30.2018.04.26.11.22.06; Thu, 26 Apr 2018 11:22:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=LNokm0Xd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757161AbeDZSUj (ORCPT + 99 others); Thu, 26 Apr 2018 14:20:39 -0400 Received: from mail-yb0-f202.google.com ([209.85.213.202]:49826 "EHLO mail-yb0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757120AbeDZSUc (ORCPT ); Thu, 26 Apr 2018 14:20:32 -0400 Received: by mail-yb0-f202.google.com with SMTP id b8-v6so6890045ybq.16 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=KrFERqGsIQKat/SwIJ72ZNXHlheUl/EN21ce+TPCFy6Wpi/QDwxSKoOZAs3hzIqO9K 7kQVDf69K6CPhDSYREKXHaukvBH1deCXsUkc0xdkOnSrvHLDOeVG54gOgOA094SeyEEj 9UiEI5cHH7QQcWZs/COWEhBrFghs9FbRkNE+sPPmhrr/vJFy+wa8ibSjVPABiOO0Gzjo 6ERNYQ6qLIGSYqzRrF5y7eQCCrgE0GLm+KN0gTHoj96ESheRVEhWKSy6BpvVrVN3HA/6 XcbtqPacJWx+v8tOvXu387yGTF6DOYiSCloLaZqS0n+DaQLvNZYP4y5kFZ9ayOO1rs4I Knaw== X-Gm-Message-State: ALQs6tDL60aDa5qjBgqwoYZJ5K7+kpr2rDsoDu3/C4EFlf6CKFfy+LUz QfaRqSEGUhL8RKYOq0AHbhJ7TDe5iLak 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, -- 2.17.0.484.g0c8726318c-goog