Re: linux-next: Tree for Feb 11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> > 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@xxxxxxxxxx>
> >     Signed-off-by: Dmytro Linkin <dlinkin@xxxxxxxxxx>
> >     Reviewed-by: Roi Dayan <roid@xxxxxxxxxx>
> >     Signed-off-by: Saeed Mahameed <saeedm@xxxxxxxxxx>
> >
> > 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!



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux