lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 09 Feb 2021 21:36:06 -0800
From:   Saeed Mahameed <saeed@...nel.org>
To:     Jonathan Lemon <jonathan.lemon@...il.com>
Cc:     netdev@...r.kernel.org
Subject: Re: mlx5e compilation failure

On Tue, 2021-02-09 at 11:49 -0800, Jonathan Lemon wrote:
> On mlx5e fails to compile on the latesst net-next:
> 
>   CC      drivers/net/ethernet/mellanox/mlx5/core/en_main.o
> 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;
>       |                             ^~~~~~~~~~~
> 
> With this .config snippet:
>     CONFIG_MLX5_CORE=y
>     # CONFIG_MLX5_FPGA is not set
>     CONFIG_MLX5_CORE_EN=y
>     # CONFIG_MLX5_EN_ARFS is not set
>     CONFIG_MLX5_EN_RXNFC=y
>     CONFIG_MLX5_MPFS=y
>     # CONFIG_MLX5_ESWITCH is not set
>     CONFIG_MLX5_CORE_EN_DCB=y
>     # CONFIG_MLX5_CORE_IPOIB is not set
>     # CONFIG_MLX5_SF is not set
> 
> Presumably because ESWITCH is not enabled.

Thanks Jonathan for the report,

this patch should fix the issue:
https://patchwork.kernel.org/project/netdevbpf/patch/20210209203722.12387-1-saeed@kernel.org/



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ