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: 102242 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp1529088qgf; Mon, 13 Jun 2016 05:54:26 -0700 (PDT) X-Received: by 10.66.142.199 with SMTP id ry7mr21822187pab.14.1465822466399; Mon, 13 Jun 2016 05:54:26 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nw12si17784438pab.179.2016.06.13.05.54.26; Mon, 13 Jun 2016 05:54:26 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423341AbcFMMyV (ORCPT + 30 others); Mon, 13 Jun 2016 08:54:21 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.7.0 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