Message ID | 20180126211833.GA26670@ziepe.ca (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> 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 7A1CF60383 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 26 Jan 2018 21:18:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B5F52A7DC for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 26 Jan 2018 21:18:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D5912A82A; Fri, 26 Jan 2018 21:18:45 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, 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 A7D6B2A7DC for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 26 Jan 2018 21:18:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751363AbeAZVSn (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Fri, 26 Jan 2018 16:18:43 -0500 Received: from mail-he1eur01on0074.outbound.protection.outlook.com ([104.47.0.74]:18752 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751257AbeAZVSm (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Fri, 26 Jan 2018 16:18:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=OS3sxjSRFNHhpNBZzzCqJM5A//nyl1xqi1ny8HSg1tk=; b=a9Ca8t03HMOBHfgJlaFZM4bzsqmmqyCylOJ23OszUxeT4sSmwpNd4uchcJlDPd4lq/N0ofBrHC/8sEJjJopcd+vDF/IahZcmv8ClugbtUzTqWlcROeubwe/pXYq2zNGqyRMLsGyxWyT+zvlqYz6FbjzrDA8+ulyqB+xwlQTa0rU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jgg@mellanox.com; Received: from mlx.ziepe.ca (70.74.179.152) by VI1PR0501MB2864.eurprd05.prod.outlook.com (2603:10a6:800:9b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Fri, 26 Jan 2018 21:18:39 +0000 Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from <jgg@mellanox.com>) id 1efBOL-00071q-7S; Fri, 26 Jan 2018 14:18:33 -0700 Date: Fri, 26 Jan 2018 14:18:33 -0700 From: Jason Gunthorpe <jgg@mellanox.com> To: linux-rdma@vger.kernel.org Cc: Moni Shoua <monis@mellanox.com> Subject: [PATCH] IB/rxe: Change RDMA_RXE kconfig to use select Message-ID: <20180126211833.GA26670@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [70.74.179.152] X-ClientProxiedBy: VI1PR0501CA0015.eurprd05.prod.outlook.com (2603:10a6:800:92::25) To VI1PR0501MB2864.eurprd05.prod.outlook.com (2603:10a6:800:9b::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 9879d3dc-2b71-490a-f59c-08d565025eb1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:VI1PR0501MB2864; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2864; 3:ChiSr/VaaR+hVs2tXIF1c7IRC/ist1XusqCypOlntjCHPmgYCqs9GZ8xuF/6e/H8wCbOWXarn+t48NoiMpLsr/eMGNvx8f/YXZoduN0uZW82+S8ym4w1NxUIwVaj9wkUTbwEgz52OwUn05niG4j4/zbGX1RtHnFfryviUM+yuZZEXDhbvU/+lmsUhROxmoQZnnmKVGkahgCa41PPi3uHjxRZCYPsKgyCwfiKyquRGkkFzZnghqmFXEYnI/wucJJs; 25:DA7rd1XOYPh32wzHHKW8302NAr7f2U5+mAa4JT9iUifTUxbisdEYRZayd7lD8o2onYNYP5d843BQmOOoN01itl5MT8CgQF37NQV9fpsxTildLAJgKhTs0Zvm0MmRZftH06SpBnGQ7C+jIb3smSBFyXzBAIBq2F0hOAPrh0cIRAIiu4QAYB3HIVwgaG/xLxXXxcHZtgOg88XdDwNUEmB8hp1U3oX5k0QhJBCSoOH82aPX5Oo+gvLZnOUKZYZ5rpLEJRgCioh7p4cRhWC36PryGsYInm8QyPs/hrvF2HS4kl4FPoqyr52Sx1kDfR7rmckr7dWhdp9Ij35y5oECUIGXvQ==; 31:qbVEGNo2A5tjnP8U2gRrn8gA/x2986bwRGF/64ZV1i7sdxPoh5+0D/hUvHkqdwTndlMIhjsRcLTb5UAUUd88COH+JILZeKu/33CA9ZXM1y2MWPmdoeQZSLxbMBPdv59cr7viTveXYnzTBNYcOleSAs+iBnajtGjwtCsJg1YrKKHqFkQx2zfTnYHAb2wU9TNI9xIw+ytvfy0SDG3c7lBgjvw/7mVN39O2pBjt3sLmwtg= X-MS-TrafficTypeDiagnostic: VI1PR0501MB2864: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2864; 20:k0mNEoc18doGJmTYfDJo79PFxtbaYv5/Mj/SQaSYmyCK00kCo8Asm8UjsmgHVOo0C48+PLcUjxVLukH/Tvbmm9NZHYHT8vjvvClqRRX9i33yCHPxxu0/aFg2sG7qnHXDJM7xMcRGONJ7zd6h/AdCjtPZMKTzvlv1E1QI0j0IIa9tE2SDc9+DyqzF38Cp/ptwBKCYT9RBX8XJsbCi7v8rIepwi58h8++2KlljyXaO5wFYlhZ+KCYs0aWrB+dlVG7JjTgsBxsLm5DwvzGcahv71RqUo+H6b8hAvvl5arDq/C0QzN/yaKuXD32fU0LWrVldPnraT+a/Uvt3re9YVRMc0aNlzmahc/aYnoyP6cuRmBExIZHbmsG3blILhAckLttdujY7zsHtKIf0DBvFOXXSZ53oYOvdr6pfzfS7Y4Wr+z4Em7rwnv0QVHLPVDexed+FnprbKmXt7b4oxL8puhDgwgs0OwW7XrURQBXEkAQsW3FywB6wCv9gFEujkxGC/uef; 4:B0VuSm3LL6stM4BLOine1eE4p/NKfKAUdIWeMmpcoR1YDCJrFTKUBC6qwj8Dx8K5Szzyw2h1bw3Fe9H8nF9E9M1V+xVkwna4R/CajLDb3oNWqB05c5xOIwd1/zOGu9FL7qAUjgYVJzdg/d3m9+VNbyYGZke/iIW0a5db7LFYRaXJf3xwsYn6HyMAtxtwrgAZ1ofh5wU6o2R1dx8c8xXF3XXKxDobAmtV8u0FCoc7smYBuU1o0h5pi4apifaXTV4AdmQhMqzbScP2JChi+eq5kg== X-Microsoft-Antispam-PRVS: <VI1PR0501MB2864E1D13E1104EEABA7F923CFE00@VI1PR0501MB2864.eurprd05.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231077)(2400081)(944501161)(6055026)(6041288)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR0501MB2864; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2864; X-Forefront-PRVS: 05641FD966 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(39380400002)(396003)(346002)(376002)(366004)(199004)(189003)(86362001)(105586002)(5660300001)(2351001)(47776003)(33656002)(52116002)(305945005)(50466002)(7736002)(66066001)(46656002)(107886003)(2906002)(106356001)(2361001)(81156014)(81166006)(4326008)(8676002)(26005)(33896004)(3846002)(6116002)(23726003)(97736004)(68736007)(386003)(6916009)(1076002)(69596002)(9746002)(9786002)(58126008)(316002)(16586007)(478600001)(186003)(122856001)(83506002)(83796002)(8936002)(57986006)(9686003)(36756003)(53936002)(18370500001)(24400500001)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2864; H:mlx.ziepe.ca; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0501MB2864; 23:Qi/0m303YD3XAkHzWxKVqImmq2OuPuo8PHv5fld?= =?us-ascii?Q?xC2pyeHkXkSvuyr66dskf5qQ+sLwhkVat9MCiELbNFsSD6wtVe6HAWRxmIvn?= =?us-ascii?Q?yFyWGIcBnX8T1XsQRjsC8An9/u9hUeG5APku9CWfGUcktIdk0zlGWNxILu+G?= =?us-ascii?Q?Z4GH/YGqWqtO6QGSEaIIPqqYRobWgC8CQBO7Vm06LqzeuWY5y35KjjMVRcbR?= =?us-ascii?Q?ZEs75bUcjTjkL5MSv3HVbvKTOV0gcCJVD+YVhOoEcRjXveT1V9k+eR+4cWxP?= =?us-ascii?Q?s1+EeMmsdqsPzXhBvo6Y5SyiNYFSRcAxeJOFQzDYd4JiOOzvb5FfqRHTqQmf?= =?us-ascii?Q?JUkiALAipF/zdOxKjJjv980UchLQzybA9X0gtNttlNJ+NidCP7Fx5cu96she?= =?us-ascii?Q?hTcWItv18CXhnaYcP8aaBZibRAISVpRdPlJPh4MrNJDiMYluqgC6runt1gcF?= =?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agnostics: 1; VI1PR0501MB2864; 6:sSxeEq5Ctv8qsDWkTzKuxtggAgf7i7CgTolueFP6ldQAGfkdsWj6UgjkUX3AFH72QFN/xkhVj+ueACVdbwRxV6B2Joq6LFByC0iDsnPgPTV7mRl2Gjhk7LgQl50j8XOXqDTOJ9nRnlTbCE9hBFrexUGfvtt85JXnchYoy6SUlIvdtU5hnT47BmbP6qRn79axJKYyB9WCFMlD8vqnjuw5oWXfaWS7v+di8yf9hpcwmc2ndxDdJ8pppTsANn5+3odlrMbGjZmhYDe1loKD7bv5ICtidGHMwKLRqW5g71+jrMelcnq30Bww6yRGBPVyZs+KhXBj9MNAzvYRBkbhhUOmA4CaZccC2hdbFKmjHBZcI6k=; 5:/jQePgp3o1JyG5lq2BOnyV5j7hq7QpNlm/OcEM3zzvZafosAhbo+y+qcY2sumEj3dgpLimQV/GP8vgbKRm51L2hW9b+gxKth8yEvsclndMDt1Y4Wldam6yK7sGun+bEIzOawGT1KI2JvdWOkYsKdXns6bddr7X+M1j4ISLWZzSk=; 24:3uCCFl2gDQ57z7zDiBPMNVV9XtOSbuGFWv/OlCBkIzXj3NLoPIFmDrYdK3pAWPuE+t9kE0Lua8NfvixSA51qeSdAOydz6qeyigufMYV01AY=; 7:F6bvL37W+eGUJWlnjHe+rdBtUmuKdNIJJ+tfFw160BljYGIhMUiJ8EGzg/EeS1fYkEuQqE3qxP4owsLCrH+D3ZqFcSLSeijrQ6ODDAwGx9+HfKmKwzX9N4IRleY0ep5EpFST3QNuDcItoAPTMWHFkCi2x1lcVGs0vtW4pBC72OtEv8wPh99epDKnwnxSGotKfY3h/xu7te04TcsICsO014riPaB5GnIqKliGyqRmrZQSpJop1DixwoQAB9kXnwyz SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2018 21:18:39.4135 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9879d3dc-2b71-490a-f59c-08d565025eb1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2864 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
On Fri, Jan 26, 2018 at 02:18:33PM -0700, Jason Gunthorpe wrote: > NET_UDP_TUNNEL is not user selectable, so it should be used as a select > in kconfig. > > CRYPTO_CRC32 is a required library for RDMA_RXE so it should active > automatically, as most other CRYPTO_ users do. > > Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> > drivers/infiniband/sw/rxe/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/infiniband/sw/rxe/Kconfig b/drivers/infiniband/sw/rxe/Kconfig index 320bffc980d87d..bad4a576d7cf13 100644 --- a/drivers/infiniband/sw/rxe/Kconfig +++ b/drivers/infiniband/sw/rxe/Kconfig @@ -1,8 +1,8 @@ config RDMA_RXE tristate "Software RDMA over Ethernet (RoCE) driver" depends on INET && PCI && INFINIBAND - depends on NET_UDP_TUNNEL - depends on CRYPTO_CRC32 + select NET_UDP_TUNNEL + select CRYPTO_CRC32 select DMA_VIRT_OPS ---help--- This driver implements the InfiniBand RDMA transport over
NET_UDP_TUNNEL is not user selectable, so it should be used as a select in kconfig. CRYPTO_CRC32 is a required library for RDMA_RXE so it should active automatically, as most other CRYPTO_ users do. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> --- drivers/infiniband/sw/rxe/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Make configuring work better