From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f54.google.com ([209.85.160.54]:40195 "EHLO mail-pl0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751768AbeB0URU (ORCPT ); Tue, 27 Feb 2018 15:17:20 -0500 Received: by mail-pl0-f54.google.com with SMTP id i6-v6so56593plt.7 for ; Tue, 27 Feb 2018 12:17:20 -0800 (PST) Subject: Re: [patch net-next 15/15] mlxsw: spectrum_span: Support mirror to ip6gretap To: Jiri Pirko , netdev@vger.kernel.org, idosch@mellanox.com Cc: davem@davemloft.net, petrm@mellanox.com, mlxsw@mellanox.com, xeb@mail.ru References: <20180227135349.11637-1-jiri@resnulli.us> <20180227135349.11637-16-jiri@resnulli.us> From: David Ahern Message-ID: Date: Tue, 27 Feb 2018 13:17:17 -0700 MIME-Version: 1.0 In-Reply-To: <20180227135349.11637-16-jiri@resnulli.us> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: 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.