From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=6OgBNwn1iQarfQ6CACk1Cr9SVuFjFYUMRtx6DAtvLbk=; b=VKpjcI/3rGOduwv6ScDj44mJS0R47teINT+su7D9TMt6RC87im82csMrqmGwtuWTaV WVdH7BUKztiw8+m9pv8ex57jHfoqPLFKmF7udmFTPbC++FEgrlQXO28SRMtHECpybHaz 3UhQP4IMkpUke7D/zEQS4wa2EsGAIJQok6HaG6wvsYCGhVhROiw5q0rnPsZgLagKqRCn ab7AI8XBb8X2gHCpi5KevAoHLRU9Qgy0QsG8F2TNm9e93qG6A465mCsoLTlQtb+tapq7 WtKuI3tmvmkzON+z0jWjb5AzAXCOZWT3owE9A0omQutSgcZefQb4ekWqU8YNaetvDLAN AKCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=6OgBNwn1iQarfQ6CACk1Cr9SVuFjFYUMRtx6DAtvLbk=; b=mVJrBUazlFrAgk4+P3f1jbKx6EHQmIqjYPa69GhtqGguuWpbcRtAVTU5nOA68UuPiu cnOVSqLmonBbJxZ1FWa0GBcSskwNsS2xFYKcx/uXpvzfnot4RoOJob6YROHPnPAAf2rt eXat5JrJK0cuwhAEODAcmYTYWXwsZWL1NUocNB7CSaPY2BlD3a4A5Mby7CojNEoFMsMC qv5xsOkKlzSVwvv9JQ1FQJEnG4dunVqhegbxXfsRdiu8nb7ODWqgxp2ZXfbvGjz6uIRO uiFStgTuvc+CUuwRntcYVqGV+Vb8ODgEvzqlaqyfesRH0m2uuqMnQUgWao1el8MewDol jmsA== X-Gm-Message-State: AD7BkJIoViSxYj2T+8Qch+0fSZnpMmVT9gOigRWL3c+TPcRW4a7EVTL2nSmbm8jHH2rR8GeF X-Received: by 10.28.210.73 with SMTP id j70mr10956683wmg.8.1459354726072; Wed, 30 Mar 2016 09:18:46 -0700 (PDT) Received: from xps13.localnet (164.17.90.92.rev.sfr.net. [92.90.17.164]) by smtp.gmail.com with ESMTPSA id 82sm20514543wmd.4.2016.03.30.09.18.44 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2016 09:18:45 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Cc: John Daley , Nelson Escobar , declan.doherty@intel.com Date: Wed, 30 Mar 2016 18:15:10 +0200 Message-ID: <2377917.Cj6B4qKx76@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1458953090-12764-1-git-send-email-johndale@cisco.com> References: <1458953090-12764-1-git-send-email-johndale@cisco.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] bonding: fix bond link detect in non-interrupt mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 16:18:46 -0000 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(-)