From patchwork Tue May 16 11:27:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9728893 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 20CEA602DB for ; Tue, 16 May 2017 11:28:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1310B289FF for ; Tue, 16 May 2017 11:28:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06E4C28A15; Tue, 16 May 2017 11:28:24 +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 7B60C289FF for ; Tue, 16 May 2017 11:28:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750853AbdEPL2V (ORCPT ); Tue, 16 May 2017 07:28:21 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:59902 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750799AbdEPL2U (ORCPT ); Tue, 16 May 2017 07:28:20 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0MIPbr-1d9E8K3KO7-004DHk; Tue, 16 May 2017 13:28:11 +0200 From: Arnd Bergmann To: Saeed Mahameed , Matan Barak , Leon Romanovsky Cc: Arnd Bergmann , "David S. Miller" , Erez Shitrit , Or Gerlitz , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] [net, 4.12] mlx5e: add CONFIG_INET dependency Date: Tue, 16 May 2017 13:27:49 +0200 Message-Id: <20170516112807.4107417-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:WpWjoUq5/pNim+jvtEEMhfJP/IECdvF4sx44tL74uMC6fFbKvWi uojOFEnvEca98Ew45OiPbbacuXqb4WSg7ldBwtVapbcb1rXRA+xMU7BZ1w5AOjOS9fv43Sg GAoIygdP0qNVIKsNgnpuOSATBINDotB1NJdyjXkmzL8IGt0OEvfQ+7tkYJN0rpKLaXndFwe wZt0aBgpoN30NDFfTPwlw== X-UI-Out-Filterresults: notjunk:1; V01:K0:xaz35PyRzrM=:/u6lAUyFxG5KXnDjYyX8m+ GwPZiWb7e5LYmweRMsWHHDnfuOnxdZEW0XG4M/+K7z6EQHju5x1dMlfXsLLejTXYMHKiQGnLJ 0Zlaj/HOe+QU4i9mmFkWfKHiBDzHHVOEXuc0ZMjnCcXxCRWQCf00zhE0fNj9bvp+RDjD7usfQ LZA4Hnloyh7C6Gp3zD3EsTwdPTgDMrp+80v0thdShGOlp40/TKT1dh6P7mrUDp82vx0uXc8sP UUgLupAUacG32J+++HNJSdedSb8EzbUQFkY7HyQ6gEO+WsfxU7GpWPJddOy8MdMi250+LDi7e kghR2DRcdojNdjaPJkpWOE0UXb5B8F2MEjI9byfgvvrn0gTH/t4LBON0DnjYV3qfS4eEPw2aI vfXYy+C4sJPFqLNUrNsADeRsnDxGP9jZuN0z8uGNl35LPz8eRYNogirAfhtcOTfeI4i9i6bRw /QmDKNhJzDwOANyimZwMeKl5Nvn7nkDK9d4oGr/WCjsLiDU6BKD0Y5r2klYFy6Pvdepq/T8KD BE68irPlIrLJ7Rp39iOEVru2ZtzS4UgB4ktKEuGcyK5jb2XRG6B/3imBROfANIBBPntvofHPh T3FxDHUNjOpY5CaNRC9H3p3q2oaXK5ysKCOfZS9mRMcNIJuahmRvXpdDb4XVN0IGT9YakKBfd MsUihYi7wJcRI4S2Ok1m2MompJI7pkoBpJcgcDrGFxHcr/a3eZ7zQt/HYmUD26lPdY9c= 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 We now reference the arp_tbl, which requires IPv4 support to be enabled in the kernel, otherwise we get a link error: drivers/net/built-in.o: In function `mlx5e_tc_update_neigh_used_value': (.text+0x16afec): undefined reference to `arp_tbl' drivers/net/built-in.o: In function `mlx5e_rep_neigh_init': en_rep.c:(.text+0x16c16d): undefined reference to `arp_tbl' drivers/net/built-in.o: In function `mlx5e_rep_netevent_event': en_rep.c:(.text+0x16cbb5): undefined reference to `arp_tbl' This adds a Kconfig dependency for it. Fixes: 232c001398ae ("net/mlx5e: Add support to neighbour update flow") Signed-off-by: Arnd Bergmann --- Note: the mlxsw driver has referenced the same symbol for a while, but had an implicit dependency on CONFIG_INET since it also depends on SWITCHDEV. drivers/net/ethernet/mellanox/mlx5/core/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/Kconfig b/drivers/net/ethernet/mellanox/mlx5/core/Kconfig index fc52d742b7f7..27251a78075c 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/Kconfig +++ b/drivers/net/ethernet/mellanox/mlx5/core/Kconfig @@ -13,7 +13,7 @@ config MLX5_CORE config MLX5_CORE_EN bool "Mellanox Technologies ConnectX-4 Ethernet support" - depends on NETDEVICES && ETHERNET && PCI && MLX5_CORE + depends on NETDEVICES && ETHERNET && INET && PCI && MLX5_CORE depends on IPV6=y || IPV6=n || MLX5_CORE=m imply PTP_1588_CLOCK default n