From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolay Aleksandrov Subject: Re: [PATCH next v5 3/6] bonding: Implement port churn-machine (AD standard 43.4.17). Date: Thu, 19 Feb 2015 01:12:26 +0100 Message-ID: <54E52A6A.8050806@redhat.com> References: <1424298684-18267-1-git-send-email-maheshb@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Maciej Zenczykowski , netdev , Eric Dumazet To: Mahesh Bandewar , Jay Vosburgh , Andy Gospodarek , Veaceslav Falico , David Miller Return-path: Received: from mx1.redhat.com ([209.132.183.28]:50366 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752165AbbBSAMh (ORCPT ); Wed, 18 Feb 2015 19:12:37 -0500 In-Reply-To: <1424298684-18267-1-git-send-email-maheshb@google.com> Sender: netdev-owner@vger.kernel.org List-ID: On 02/18/2015 11:31 PM, Mahesh Bandewar wrote: > The Churn Detection machines detect the situation where a port is operable, > but the Actor and Partner have not attached the link to an Aggregator and > brought the link into operation within a bound time period. Under normal > operation of the LACP, agreement between Actor and Partner should be reached > very rapidly. Continued failure to reach agreement can be symptomatic of > device failure. > > Actor-churn-detection state-machine > =================================== > > BEGIN=True + PortEnable=False > | > v > +------------------------+ ActorPort.Sync=True +------------------+ > | ACTOR_CHURN_MONITOR | ---------------------> | NO_ACTOR_CHURN | > |========================| |==================| > | ActorChurn=False | ActorPort.Sync=False | ActorChurn=False | > | ActorChurn.Timer=Start | <--------------------- | | > +------------------------+ +------------------+ > | ^ > | | > ActorChurn.Timer=Expired | > | ActorPort.Sync=True > | | > | +-----------------+ | > | | ACTOR_CHURN | | > | |=================| | > +--------------> | ActorChurn=True | ------------+ > | | > +-----------------+ > > Similar for the Partner-churn-detection. > > Signed-off-by: Mahesh Bandewar > --- > v1: > Initial version > v2-v4: > Rebase > v5: > Cosmetic changes > > drivers/net/bonding/bond_3ad.c | 56 +++++++++++++++++++++++++++++++++++++-- > drivers/net/bonding/bond_procfs.c | 41 +++++++++++++++++++++++++--- > include/net/bond_3ad.h | 29 ++++++++++++++++++++ > 3 files changed, 120 insertions(+), 6 deletions(-) > Reviewed-by: Nikolay Aleksandrov