From patchwork Mon Jun 13 12:54:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9172887 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 797C56086B for ; Mon, 13 Jun 2016 12:54:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D4E121C9A for ; Mon, 13 Jun 2016 12:54:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 620AD26861; Mon, 13 Jun 2016 12:54:35 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 A002322473 for ; Mon, 13 Jun 2016 12:54:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423329AbcFMMyU (ORCPT ); Mon, 13 Jun 2016 08:54:20 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:51672 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422747AbcFMMyS (ORCPT ); Mon, 13 Jun 2016 08:54:18 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0Lr2TD-1bgqW52THH-00eeaq; Mon, 13 Jun 2016 14:53:58 +0200 From: Arnd Bergmann To: Leon Romanovsky Cc: netdev@vger.kernel.org, Arnd Bergmann , Moni Shoua , Doug Ledford , Sean Hefty , Hal Rosenstock , Amir Vadai , Haggai Eran , Kamal Heib , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] infiniband: rxe: add UDP_TUNNEL dependency Date: Mon, 13 Jun 2016 14:54:54 +0200 Message-Id: <1465822509-4167617-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1465822509-4167617-1-git-send-email-arnd@arndb.de> References: <1465822509-4167617-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:E4wN+QHtbBZvf0l2CoiqKvrYWWf7ff7XfSwSdtTICksj0WVP6x/ 5ruc7RsRu67Xvm0EjIQ8zhWXAQv/irWqigqwkrJKIY0hoa1b9kR+ibInefM2uc9b2R4FCvQ X0iXzagnOzWG1xUvKae8RAcb5J9S/P0pGs8Og+cZrcuqO4vVO5qekNUk/FsUWmNEnc/duiC 2q73YZrXACsnGIQmBex0w== X-UI-Out-Filterresults: notjunk:1; V01:K0:YKO4AT9zyGA=:nTykpgOSlabR3TNqEGrRrG oERJG1e0QAuLnm3+3KnvGx0ttWbDP0VZ1RTgyOfbPvSWeFN20Um1pAf6awJLsycbonnE/taTP YjiHbLhyz99OwfLYHiel2suffXP6Ez8pWoVHT9pLwTe8Exbnu24UTbRqPNwAeZCm4mKv+Llpz sxtPjfRkz7bIaNy3fwC1M2KIyBS/xUuKyTad7FuzQrZpKXOkdiCO0GiL1hoybqJtqujN2KsFH E2uEm3vKQh4a2clOjVVKPDTm4SWqgZ5QfkjyagP+xlys/0+26zYIHeGark9r/f9dv88Q/87FU l4M/HLRbCLz4AuvsXrkSbvH4JaesTBueZbCTOCGtn/UjKDL7g3XW1LnIQ/4Tsi2Byd6xSOEeY CVuiHOJd9UmCaSJv3+tfyfwBeCFYC8ECeFRBjC+ou22CN06Xim6Ie/y3Xt19P+ikDR6yb8ADN ZyA6gO1xyYbTegbwvpSG0dLSOz16yUZmp2O2Oq3G0S4aRC6gLZ1ikQUMdZsFXTVTz11t6Ol5s 1Ydnr4cbt+lNlsvPDg+m0FaBzlzTujZSIwZH+pEB/2hihNrk4E/YJkv/vT16xE85IwdeJGLj5 gebyYa84UmcvJu+c5+/bUIfwIglmnb8jxIJOgPvzjSAH+N8xfRaHFenu8MhJdGDGljkJW4Nym 07ghM9nSM/S8w3p0t+uKs2cHPChDVwneHqT9YJCagPi70WQLkK2xcoQoTalLZAm3TZHc= 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 The newly added rxe driver links against the UDP tunneling code, which causes build errors when CONFIG_UDP_TUNNEL is disabled: ERROR: "setup_udp_tunnel_sock" [drivers/infiniband/hw/rxe/ib_rxe.ko] undefined! ERROR: "udp_tunnel_sock_release" [drivers/infiniband/hw/rxe/ib_rxe.ko] undefined! ERROR: "udp_sock_create4" [drivers/infiniband/hw/rxe/ib_rxe.ko] undefined! This adds a Kconfig dependency to prevent the invalid configuration. Signed-off-by: Arnd Bergmann --- drivers/infiniband/hw/rxe/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/infiniband/hw/rxe/Kconfig b/drivers/infiniband/hw/rxe/Kconfig index 649b7be11eb8..a199d0df31d0 100644 --- a/drivers/infiniband/hw/rxe/Kconfig +++ b/drivers/infiniband/hw/rxe/Kconfig @@ -1,6 +1,7 @@ config INFINIBAND_RXE tristate "Software RDMA over Ethernet (RoCE) driver" depends on INET && PCI && INFINIBAND + depends on NET_UDP_TUNNEL ---help--- This driver implements the InfiniBand RDMA transport over the Linux network stack. It enables a system with a