Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1594610 > unrolled thread

Re: [PATCH] net/mlx5e: add IPV6 dependency

Started byDavid Miller <davem@davemloft.net>
First post2017-03-07 21:30 +0100
Last post2017-03-07 21:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] net/mlx5e: add IPV6 dependency David Miller <davem@davemloft.net> - 2017-03-07 21:30 +0100

#1594610 — Re: [PATCH] net/mlx5e: add IPV6 dependency

FromDavid Miller <davem@davemloft.net>
Date2017-03-07 21:30 +0100
SubjectRe: [PATCH] net/mlx5e: add IPV6 dependency
Message-ID<titU6-4iQ-9@gated-at.bofh.it>
From: Arnd Bergmann <arnd@arndb.de>
Date: Tue, 28 Feb 2017 22:12:04 +0100

> The ethernet support now calls directly into the ipv6 core code, which
> fails if IPV6 is a loadable module but mlx5 is built-in:
> 
> drivers/net/ethernet/mellanox/mlx5/core/en_tc.o: In function `mlx5e_create_encap_header_ipv6':
> en_tc.c:(.text.mlx5e_create_encap_header_ipv6+0x110): undefined reference to `ip6_route_output_flags'
> 
> This adds a dependency to ensure that MLX5_CORE_EN can only be built
> if we are able link the kernel successfully. The downside is that the
> ethernet option can be hidden. Alternatively we could make MLX5_CORE
> depend on "IPV6 || !IPV6", which would force MLX5_CORE to be a module
> when IPV6 is, including in configurations where we don't use the ethernet
> support at all.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Applied.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web