From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shards.monkeyblade.net ([184.105.139.130]:36186 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751168AbeBUWvc (ORCPT ); Wed, 21 Feb 2018 17:51:32 -0500 Date: Wed, 21 Feb 2018 17:51:30 -0500 (EST) Message-Id: <20180221.175130.466916309968641387.davem@davemloft.net> To: mcroce@redhat.com Cc: netdev@vger.kernel.org, maheshb@google.com, fw@strlen.de Subject: Re: [PATCH net-next v4 0/2] Remove IPVlan module dependencies on IPv6 and L3 Master dev From: David Miller In-Reply-To: <20180221003114.4972-1-mcroce@redhat.com> References: <20180221003114.4972-1-mcroce@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: From: Matteo Croce Date: Wed, 21 Feb 2018 01:31:12 +0100 > The IPVlan module currently depends on IPv6 and L3 Master dev. > Refactor the code to allow building IPVlan module regardless of the value > of CONFIG_IPV6 as done in other drivers like VxLAN or GENEVE. > Also change the CONFIG_NET_L3_MASTER_DEV dependency into a select, > since compiling L3 Master device alone has little sense. > > $ grep -wE 'CONFIG_(IPV6|IPVLAN)' .config > CONFIG_IPV6=y > CONFIG_IPVLAN=m > $ ll drivers/net/ipvlan/ipvlan.ko > 48K drivers/net/ipvlan/ipvlan.ko > > $ grep -wE 'CONFIG_(IPV6|IPVLAN)' .config > # CONFIG_IPV6 is not set > CONFIG_IPVLAN=m > $ ll drivers/net/ipvlan/ipvlan.ko > 44K drivers/net/ipvlan/ipvlan.ko Series applied, thanks Matteo.