From mboxrd@z Thu Jan 1 00:00:00 1970 From: Flavio Leitner Subject: Re: [net-next PATCH v3] bonding: start slaves with link down for ARP monitor Date: Wed, 18 Apr 2012 16:19:12 -0300 Message-ID: <20120418161912.1c0e2f4e@asterix.rh> References: <20120417121135.5F9A740290@alaris.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Jay Vosburgh , Andy Gospodarek To: Michal Kubecek Return-path: Received: from mx1.redhat.com ([209.132.183.28]:15232 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752522Ab2DRTUG (ORCPT ); Wed, 18 Apr 2012 15:20:06 -0400 In-Reply-To: <20120417121135.5F9A740290@alaris.suse.cz> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 17 Apr 2012 14:02:06 +0200 Michal Kubecek wrote: > Initialize slave device link state as down if ARP monitor is > active and net_carrier_ok() returns zero. Also shift initial > value of its last_arp_tx so that it doesn't immediately cause > fake detection of "up" state. > > When ARP monitoring is used, initializing the slave device with > up link state can cause ARP monitor to detect link failure > before the device is really up (with igb driver, this can take > more than two seconds). > > Signed-off-by: Michal Kubecek Signed-off-by: Flavio Leitner fbl