[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aa757e1d-4741-b8ec-9cac-5ba0b8782a88@cumulusnetworks.com>
Date: Tue, 27 Feb 2018 13:17:17 -0700
From: David Ahern <dsa@...ulusnetworks.com>
To: Jiri Pirko <jiri@...nulli.us>, netdev@...r.kernel.org,
idosch@...lanox.com
Cc: davem@...emloft.net, petrm@...lanox.com, mlxsw@...lanox.com,
xeb@...l.ru
Subject: Re: [patch net-next 15/15] mlxsw: spectrum_span: Support mirror to
ip6gretap
On 2/27/18 6:53 AM, Jiri Pirko wrote:
> diff --git a/drivers/net/ethernet/mellanox/mlxsw/Kconfig b/drivers/net/ethernet/mellanox/mlxsw/Kconfig
> index 830c3e28505e..93d97b4676eb 100644
> --- a/drivers/net/ethernet/mellanox/mlxsw/Kconfig
> +++ b/drivers/net/ethernet/mellanox/mlxsw/Kconfig
> @@ -80,6 +80,8 @@ config MLXSW_SPECTRUM
> select MLXFW
> depends on NET_IPGRE
> depends on !(MLXSW_CORE=y && NET_IPGRE=m)
> + depends on IPV6_GRE
> + depends on !(MLXSW_CORE=y && IPV6_GRE=m)
> default m
> ---help---
> This driver supports Mellanox Technologies Spectrum Ethernet
Since mlxsw now has a hard dependency on IPv6 the 'if
IS_ENABLED(CONFIG_IPV6)' checks can be removed from the spectrum code.
Powered by blists - more mailing lists