From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 33EA49390 for ; Tue, 5 Jan 2016 14:35:10 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 05 Jan 2016 05:35:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,525,1444719600"; d="scan'208";a="628340513" Received: from dwdohert-dpdk.ir.intel.com ([163.33.213.167]) by FMSMGA003.fm.intel.com with ESMTP; 05 Jan 2016 05:35:08 -0800 To: Stephen Hemminger References: <1449249260-15165-1-git-send-email-stephen@networkplumber.org> <1449249260-15165-6-git-send-email-stephen@networkplumber.org> From: Declan Doherty Message-ID: <568BC655.40702@intel.com> Date: Tue, 5 Jan 2016 13:34:13 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1449249260-15165-6-git-send-email-stephen@networkplumber.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Eric Kinzie Subject: Re: [dpdk-dev] [PATCH 5/8] bond: active slaves with no primary X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2016 13:35:10 -0000 On 04/12/15 17:14, Stephen Hemminger wrote: > From: Eric Kinzie > > If the link state of a slave is "up" when added, it is added to the list > of active slaves but, even if it is the only slave, is not selected as > the primary interface. Generally, handling of link state interrupts > selects an interface to be primary, but only if the active count is zero. > This change avoids the situation where there are active slaves but > no primary. > > Signed-off-by: Eric Kinzie > Signed-off-by: Stephen Hemminger > --- ... > Acked-by: Declan Doherty