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: Fri, 01 Apr 2016 15:15:59 +0200 Message-ID: <1824705.IqHCaWFOqK@xps13> References: <345C63BAECC1AD42A2EC8C63AFFC3ADC2815E341@irsmsx105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Doherty, Declan" , John Daley To: Nelson Escobar Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id C1B692B98 for ; Fri, 1 Apr 2016 15:17:54 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id 127so19760521wmu.1 for ; Fri, 01 Apr 2016 06:17:54 -0700 (PDT) In-Reply-To: <345C63BAECC1AD42A2EC8C63AFFC3ADC2815E341@irsmsx105.ger.corp.intel.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" > > 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 > > Acked-by: Declan Doherty Applied, thanks