From: Declan Doherty Subject: Re: [PATCH] net/bond: change link status check to no-wait Date: Wed, 28 Jun 2017 10:13:30 +0100 Message-ID: <9e864265-ac0c-bbdc-5648-449f74be74b3@intel.com> References: <20170626151347.16680-1-declan.doherty@intel.com> <1498510425.1841.0.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Chas Williams <3chas3@gmail.com>, dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 3E1032C13 for ; Wed, 28 Jun 2017 11:13:32 +0200 (CEST) In-Reply-To: <1498510425.1841.0.camel@gmail.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 26/06/2017 9:53 PM, Chas Williams wrote: > On Mon, 2017-06-26 at 16:13 +0100, Declan Doherty wrote: >> In the 802.3ad periodic callback function the link status of all slaves >> is checked using rte_eth_link_get function. Depending on the slave >> device this function can block for up to 9 seconds and therefore >> could cause issues with the LACP Daemon state machine and control >> patches handling. This patch changes to the no-wait version of >> the link get function. >> >> Fixes: 46fb4368 ("bond:add mode 4") >> >> Signed-off-by: Declan Doherty >> --- ... > > It seems like this should be done in bandwidth_left() as well. > Yep, your right. I'll make that change in the v2. Thanks Declan