From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] bonding: fix bond link detect in non-interrupt mode Date: Thu, 31 Mar 2016 06:40:53 -0700 (PDT) Message-ID: <5397245.3TK0dfaEoQ@xps13> References: <1458953090-12764-1-git-send-email-johndale@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: John Daley , Nelson Escobar Return-path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 449687F14 for ; Thu, 31 Mar 2016 15:40:54 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id 127so134792302wmu.1 for ; Thu, 31 Mar 2016 06:40:54 -0700 (PDT) In-Reply-To: <1458953090-12764-1-git-send-email-johndale@cisco.com> 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" 2016-03-25 17:44, John Daley: > From: Nelson Escobar > > Stopping then re-starting a bond interface containing slaves that > used polling for link detection caused the bond to think all slave > links were down and inactive. > > Move the start of the polling for link from slave_add() to > bond_ethdev_start() and in bond_ethdev_stop() make sure we clear > the last_link_status of the slaves. > > Signed-off-by: Nelson Escobar > Signed-off-by: John Daley A "Fixes:" line would be appreciated to know the origin of the bug. Thanks