From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [RFC v2 2/4] net: enables interface option to skip IP Date: Tue, 18 Feb 2014 13:42:57 -0800 Message-ID: <20140218134257.667efe23__8731.22970010645$1392759897$gmane$org@nehalam.linuxnetplumber.net> References: <1392433180-16052-1-git-send-email-mcgrof@do-not-panic.com> <1392433180-16052-3-git-send-email-mcgrof@do-not-panic.com> <1392668638.21106.5.camel@dcbw.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WFsRU-0006ET-Np for xen-devel@lists.xenproject.org; Tue, 18 Feb 2014 21:43:04 +0000 Received: by mail-pb0-f42.google.com with SMTP id jt11so17380958pbb.29 for ; Tue, 18 Feb 2014 13:43:01 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Luis R. Rodriguez" Cc: kvm@vger.kernel.org, Patrick McHardy , Dan Williams , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , James Morris , Hideaki YOSHIFUJI , Alexey Kuznetsov , xen-devel@lists.xenproject.org, "David S. Miller" List-Id: xen-devel@lists.xenproject.org On Tue, 18 Feb 2014 13:19:15 -0800 "Luis R. Rodriguez" wrote: > Sure, but note that the both disable_ipv6 and accept_dada sysctl > parameters are global. ipv4 and ipv6 interfaces are created upon > NETDEVICE_REGISTER, which will get triggered when a driver calls > register_netdev(). The goal of this patch was to enable an early > optimization for drivers that have no need ever for ipv4 or ipv6 > interfaces. The trick with ipv6 is to register the device, then have userspace do the ipv6 sysctl before bringing the device up.