From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=FpVcxQ+Q0xPjQ/oIbl/5rtxWo7WD17loIrNP3a7axVs=; b=NPQLwdLnShPjwVkkEfKJRF4NUGmnmOv9jikKIFYj4Fk/tGTbLBwS/umzRzhqbDwhM3 QzSApmgkKmAU+c+B0+vETEv8ADnIpn9QxyS3qiCTBSGgq9xajbKycW7ehNOv9c4+3Hfz YqEF7fGkYpXjpHAfzxZaZ9VDqxGQ2LK+/hXM2VRvCds48H1zQ+p9FIVfXAfdymRYtEyJ D3L7k1pQUQwbjOWdniHzf3/XdB4OFWaGCOstQrnUgBLOmQPg/H7PF2XcTwN0kxgpaYV8 pXpxjDC/Klcm63rwED2jKAY1VRsLVZwsgRLU1yNYpTfv8GhxIvg1ulLcj4YvVqf914C6 c+3g== 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=FpVcxQ+Q0xPjQ/oIbl/5rtxWo7WD17loIrNP3a7axVs=; b=ly9tlFnvFrrXAg8lCyRHfiZyyJKldRS5wLkJkSRefTcdoEaR020Zyv6AplvtQ4GD2V X9SyFOUn6u+Z1POVEUruOAtSuYYnHvstryynPh68bl0mWuBMnQLzBPF2UjVHCbgVhmR/ KtAsJ/W2BSNh+sHLWbUnEF9zlGqhp863gE+6o+u3U0RLtKk5NLFDbnbpTKuUbqjvZEoL 5aCPIZNFyl+RF0i5MXve/80q8mKHt5up+gPqz5m3+gFOQCDHn4FiQ0u7mecaS5Hs6HXT wd1twCRhhWTuEgB9tE0vRTL27JsHDcF6U+2bvpJzy4hPwXBix0PihTZNKKMQtv8h49BA K7eg== X-Gm-Message-State: AD7BkJKfmHcmuc7x0cUGLbnXbtydOmq1djQ+RYa6mVNzcvyHAYk+ozgY/11SBR4UmNNjvw+v X-Received: by 10.28.146.202 with SMTP id u193mr4007192wmd.82.1459516674654; Fri, 01 Apr 2016 06:17:54 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id 198sm14590298wml.22.2016.04.01.06.17.53 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2016 06:17:53 -0700 (PDT) From: Thomas Monjalon To: Nelson Escobar Cc: dev@dpdk.org, "Doherty, Declan" , John Daley Date: Fri, 01 Apr 2016 15:15:59 +0200 Message-ID: <1824705.IqHCaWFOqK@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <345C63BAECC1AD42A2EC8C63AFFC3ADC2815E341@irsmsx105.ger.corp.intel.com> References: <345C63BAECC1AD42A2EC8C63AFFC3ADC2815E341@irsmsx105.ger.corp.intel.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: Fri, 01 Apr 2016 13:17:54 -0000 > > 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