From: Saeed Mahameed <saeed@kernel.org>
To: Jonathan Lemon <jonathan.lemon@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: mlx5e compilation failure
Date: Tue, 09 Feb 2021 21:36:06 -0800 [thread overview]
Message-ID: <eae35802d6fd3b55a8f8238e44462f619645177b.camel@kernel.org> (raw)
In-Reply-To: <20210209194906.vo3ssh3gwzt3k5u2@bsd-mbp.dhcp.thefacebook.com>
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/
prev parent reply other threads:[~2021-02-10 5:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-09 19:49 mlx5e compilation failure Jonathan Lemon
2021-02-10 5:36 ` Saeed Mahameed [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eae35802d6fd3b55a8f8238e44462f619645177b.camel@kernel.org \
--to=saeed@kernel.org \
--cc=jonathan.lemon@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).