[dpdk-dev] [PATCH] net/bond: change link status check to no-wait

Declan Doherty declan.doherty at intel.com
Wed Jun 28 11:13:30 CEST 2017

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 <declan.doherty at intel.com>
>> ---
> It seems like this should be done in bandwidth_left() as well.

Yep, your right. I'll make that change in the v2.


More information about the dev mailing list