[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YCZgbOpD1xDw4PT8@osiris>
Date: Fri, 12 Feb 2021 12:03:08 +0100
From: Heiko Carstens <hca@...ux.ibm.com>
To: Vlad Buslov <vladbu@...dia.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Dmytro Linkin <dlinkin@...dia.com>,
Roi Dayan <roid@...dia.com>,
Saeed Mahameed <saeedm@...dia.com>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: linux-next: Tree for Feb 11
Hi Vlad,
> > Build fails on s390 using defconfig with:
> >
> > In file included from drivers/net/ethernet/mellanox/mlx5/core/en_tc.h:40,
> > from drivers/net/ethernet/mellanox/mlx5/core/en_main.c:45:
> > drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:24:29: error: field 'match_level' has incomplete type
> > 24 | enum mlx5_flow_match_level match_level;
> > | ^~~~~~~~~~~
> > drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:27:26: warning: 'struct mlx5e_encap_entry' declared inside parameter list will not be visible outside of this definition or declaration
> > 27 | int (*calc_hlen)(struct mlx5e_encap_entry *e);
> > | ^~~~~~~~~~~~~~~~~
> >
> > caused by this:
> > commit 0d9f96471493d5483d116c137693f03604332a04 (HEAD, refs/bisect/bad)
> > Author: Vlad Buslov <vladbu@...dia.com>
> > Date: Sun Jan 24 22:07:04 2021 +0200
> >
> > net/mlx5e: Extract tc tunnel encap/decap code to dedicated file
> >
> > Following patches in series extend the extracted code with routing
> > infrastructure. To improve code modularity created a dedicated
> > tc_tun_encap.c source file and move encap/decap related code to the new
> > file. Export code that is used by both regular TC code and encap/decap code
> > into tc_priv.h (new header intended to be used only by TC module). Rename
> > some exported functions by adding "mlx5e_" prefix to their names.
> >
> > Signed-off-by: Vlad Buslov <vladbu@...dia.com>
> > Signed-off-by: Dmytro Linkin <dlinkin@...dia.com>
> > Reviewed-by: Roi Dayan <roid@...dia.com>
> > Signed-off-by: Saeed Mahameed <saeedm@...dia.com>
> >
> > Note: switching on NET_SWITCHDEV fixes the build error.
>
> Hi Heiko,
>
> This problem is supposed to be fixed by 36280f0797df ("net/mlx5e: Fix
> tc_tun.h to verify MLX5_ESWITCH config"). I'm trying to reproduce with
> config supplied by test robot in another thread (config: s390-defconfig)
> and current net-next builds fine for me. I've also verified that config
> option you mentioned is not set in that config:
>
> $ grep NET_SWITCHDEV .config
> # CONFIG_NET_SWITCHDEV is not set
>
> Can you help me reproduce?
The commit you mention is not part of linux-next 20210211 (I'm not
talking of net-next). So, probably will be fixed with today's
release. I just checked: net-next builds with s390 defconfig.
Thanks!
Powered by blists - more mailing lists