netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mlx5e compilation failure
@ 2021-02-09 19:49 Jonathan Lemon
  2021-02-10  5:36 ` Saeed Mahameed
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Lemon @ 2021-02-09 19:49 UTC (permalink / raw)
  To: saeedm; +Cc: netdev

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.
-- 
Jonathan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-10  5:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-09 19:49 mlx5e compilation failure Jonathan Lemon
2021-02-10  5:36 ` Saeed Mahameed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).