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: Wed, 30 Mar 2016 18:15:10 +0200 Message-ID: <2377917.Cj6B4qKx76@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: John Daley , Nelson Escobar , declan.doherty@intel.com To: dev@dpdk.org 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 47DA62BA2 for ; Wed, 30 Mar 2016 18:18:46 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id p65so79146421wmp.0 for ; Wed, 30 Mar 2016 09:18:46 -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" Anyone to review, please? 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 > --- > drivers/net/bonding/rte_eth_bond_pmd.c | 27 +++++++++++++++++---------- > 1 file changed, 17 insertions(+), 10 deletions(-)