From mboxrd@z Thu Jan 1 00:00:00 1970 From: Declan Doherty Subject: Re: [PATCH 5/8] bond: active slaves with no primary Date: Tue, 5 Jan 2016 13:34:13 +0000 Message-ID: <568BC655.40702@intel.com> References: <1449249260-15165-1-git-send-email-stephen@networkplumber.org> <1449249260-15165-6-git-send-email-stephen@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Eric Kinzie To: Stephen Hemminger 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) In-Reply-To: <1449249260-15165-6-git-send-email-stephen@networkplumber.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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