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


Groups > linux.kernel > #1395227

Re: [PATCH 2/3] net/mlx5e: make VXLAN support conditional

From Saeed Mahameed <saeedm@dev.mellanox.co.il>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] net/mlx5e: make VXLAN support conditional
Date 2016-05-05 18:50 +0200
Message-ID <rvuDo-3mH-5@gated-at.bofh.it> (permalink)
References <rv46e-3HL-5@gated-at.bofh.it> <rv4fU-3Mb-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, May 4, 2016 at 3:31 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> VXLAN can be disabled at compile-time or it can be a loadable
> module while mlx5 is built-in, which leads to a link error:
>
> drivers/net/built-in.o: In function `mlx5e_create_netdev':
> ntb_netdev.c:(.text+0x106de4): undefined reference to `vxlan_get_rx_port'
>
> This avoids the link error and makes the vxlan code optional,
> like the other ethernet drivers do as well.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Link: https://patchwork.ozlabs.org/patch/589296/
> Fixes: b3f63c3d5e2c ("net/mlx5e: Add netdev support for VXLAN tunneling")
> ---
> I sent it originally on Feb 26 2016, but misread Saeed Mahameed's
> reply as saying that he'd fix it up himself. The new version
> should address the original comment.
> ---

Hi Arnd,

I didn't post a fix up since it is not needed anymore, see
b7aade15485a ('vxlan: break dependency with netdev drivers') in
net-next.

The new issue is introduced due to : "net/mlx5: Kconfig: Fix
MLX5_EN/VXLAN build issue" which was merged from net tree.

Dave shouldn't have merged it into net-next, I explicitly asked him
that in the cover letter.  Maybe he missed it.

I just checked and It is sufficient to only take the revert patch:
[PATCH 1/3] Revert "net/mlx5: Kconfig: Fix MLX5_EN/VXLAN build issue"
to net-next.

Can you please confirm that with only the revert patch, you don't see
the issue ?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] net/mlx5e: Kconfig fixes Arnd Bergmann <arnd@arndb.de> - 2016-05-04 14:30 +0200
  [PATCH 3/3] net/mlx5e: don't build RFS without ethernet Arnd Bergmann <arnd@arndb.de> - 2016-05-04 14:40 +0200
    Re: [PATCH 3/3] net/mlx5e: don't build RFS without ethernet Saeed Mahameed <saeedm@dev.mellanox.co.il> - 2016-05-04 15:10 +0200
      Re: [PATCH 3/3] net/mlx5e: don't build RFS without ethernet Arnd Bergmann <arnd@arndb.de> - 2016-05-04 16:30 +0200
        Re: [PATCH 3/3] net/mlx5e: don't build RFS without ethernet Saeed Mahameed <saeedm@dev.mellanox.co.il> - 2016-05-04 17:00 +0200
  [PATCH 2/3] net/mlx5e: make VXLAN support conditional Arnd Bergmann <arnd@arndb.de> - 2016-05-04 14:40 +0200
    Re: [PATCH 2/3] net/mlx5e: make VXLAN support conditional Saeed Mahameed <saeedm@dev.mellanox.co.il> - 2016-05-05 18:50 +0200
      Re: [PATCH 2/3] net/mlx5e: make VXLAN support conditional Arnd Bergmann <arnd@arndb.de> - 2016-05-05 20:10 +0200
        Re: [PATCH 2/3] net/mlx5e: make VXLAN support conditional David Miller <davem@davemloft.net> - 2016-05-06 21:40 +0200
          Re: [PATCH 2/3] net/mlx5e: make VXLAN support conditional Saeed Mahameed <saeedm@dev.mellanox.co.il> - 2016-05-08 14:00 +0200
            Re: [PATCH 2/3] net/mlx5e: make VXLAN support conditional Arnd Bergmann <arnd@arndb.de> - 2016-05-12 10:20 +0200
        Re: [PATCH 2/3] net/mlx5e: make VXLAN support conditional Alexander Duyck <alexander.duyck@gmail.com> - 2016-05-06 22:20 +0200

csiph-web