Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp776963pxf; Thu, 11 Mar 2021 14:53:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8kaE0MSGhLHRzut2lyDmKbjB/Rznp5PoW93b67iLwzCGbtLJLXWNVG2rHuKIZr9Q8rlaB X-Received: by 2002:a17:907:2513:: with SMTP id y19mr5317035ejl.241.1615503189346; Thu, 11 Mar 2021 14:53:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615503189; cv=none; d=google.com; s=arc-20160816; b=ctgsnk4A+s0vsXWj6Mv/c+G0bYzN8c1Tl1FEDvZeb13Ap0of2h7hgw/Mh7kRAd6AgU LIuDjsRaXXkurAmc+fF8CIIRZUz+6psjjo+rmMXtaOKZgZw+9troEfkBbyJ3Oyhfa4cp DhTFXqje9ncMBFSNaho9X600AXHPNv58IwNfJI79SLrHFZ/m+qJS1NjZTEoGZBrpdLjw eikG+uUH74i85Y4DrV40wTC+aF0cX6LmyAAog2LLFfdU/fIG4390HLkwCHNqAYHTexQe bPyo7jELt/NWRfMO8MrK5U+kOOEaJGOEfoTS/vEblUhrD9JeHfxhAuJUp72isvcbktf6 gt7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=9KH2asjw4ewOcm7HVsCqXPtJ0Sb1ts1O8drroIUal5U=; b=jGN45e/SvAE57UK1o0hchJ4Y0Lh+G48HqkBjoInrNmNpdy6KAE8WTd8PqXEIs8NOTA jRstdDKX1n/5Efrq+qwAbTpmq8chFiM6dhlU2vjJctanRmnvt/13Sa/5xdGZcsMpXVY6 va54/StUyzaPkFZGby+3P9quOs37wWj4DIQfG9jcgwwt+YhEs/d/8H1rDdr3DkBtKgRk 3QspldBCY2WPW4eMHZBS7gcKfe5P9PiDxPzQNx1pJYG7Ca+w5ae40ZzjeKkdiJMd46vW vwD5gg7bIVjATPwic969QbRgaL45yBKYT0Wdjie6e2CrJ/mW6yYBqBrifTuPSeXyG9ix EiMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R6+rjzPp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si2626193ejk.478.2021.03.11.14.52.46; Thu, 11 Mar 2021 14:53:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R6+rjzPp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230385AbhCKWsq (ORCPT + 99 others); Thu, 11 Mar 2021 17:48:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:36722 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229674AbhCKWsZ (ORCPT ); Thu, 11 Mar 2021 17:48:25 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 93ECD64F26; Thu, 11 Mar 2021 22:48:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615502905; bh=YQ7sKWMjLFENB0F0uZS21DUq7mds7ydrbZt7pYqXU6Q=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=R6+rjzPpK3p2c+PEffgXrFvPMqJM0N2oq47+/f2jFkibfmBTw9wP6YSjNVu0syjkK FrBuHCnKB42XkQsSo1chdDuqQ7tEGyxwxskUfBo7Igm1LSlMdQ44oT6r5RRrefPAwa lu+/4f7hGS//eDqfTtQFQRwkLiHhMtMYqmLqQfovOTRIlucSh9e58uo+70GI2l2jFC 7QBhIFwEEJj8vobJeWkHvelEMUpR62H6FgNaGyr5J3Z0yRaJrI7GGHK2x+K5gJ/nzC bm5TI0lwflToW1cQf01idxUgH+BEapD+uCsTH2OU+quKfU3FcPZfcVmijEzb/oX5Xb 8szzZyNw7myYQ== Message-ID: Subject: Re: [PATCH] net/mlx5e: include net/nexthop.h where needed From: Saeed Mahameed To: Roi Dayan , Arnd Bergmann , Leon Romanovsky , "David S. Miller" , Jakub Kicinski , Dmytro Linkin , Vlad Buslov Cc: Arnd Bergmann , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 11 Mar 2021 14:48:23 -0800 In-Reply-To: <5fd5e630-0db2-f83b-63c8-265c4ac372e8@nvidia.com> References: <20210308153143.2392122-1-arnd@kernel.org> <5fd5e630-0db2-f83b-63c8-265c4ac372e8@nvidia.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2021-03-08 at 20:23 +0200, Roi Dayan wrote: > > > On 2021-03-08 5:31 PM, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c:1510:12: > > error: implicit declaration of function 'fib_info_nh' [-Werror,- > > Wimplicit-function-declaration] > >          fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; > >                    ^ > > drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c:1510:12: > > note: did you mean 'fib_info_put'? > > include/net/ip_fib.h:529:20: note: 'fib_info_put' declared here > > static inline void fib_info_put(struct fib_info *fi) > >                     ^ > > > > Fixes: 8914add2c9e5 ("net/mlx5e: Handle FIB events to update tunnel > > endpoint device") > > Signed-off-by: Arnd Bergmann > > --- > >   drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c | 1 + > >   1 file changed, 1 insertion(+) > > > > diff --git > > a/drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c > > b/drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c > > index 6a116335bb21..32d06fe94acc 100644 > > --- a/drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c > > +++ b/drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c > > @@ -2,6 +2,7 @@ > >   /* Copyright (c) 2021 Mellanox Technologies. */ > >   > >   #include > > +#include > >   #include "tc_tun_encap.h" > >   #include "en_tc.h" > >   #include "tc_tun.h" > > > > Hi, > > I see internally we have a pending commit from Vlad fixing this > already, > with few more fixes. "net/mlx5e: Add missing include" > > I'll check why it's being held. Just submitted to net-next. Thanks!