[dpdk-dev] [PATCH] bonding: fix bond link detect in non-interrupt mode

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Mar 30 18:15:10 CEST 2016


Anyone to review, please?

2016-03-25 17:44, John Daley:
> From: Nelson Escobar <neescoba at cisco.com>
> 
> 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 <neescoba at cisco.com>
> Signed-off-by: John Daley <johndale at cisco.com>
> ---
>  drivers/net/bonding/rte_eth_bond_pmd.c | 27 +++++++++++++++++----------
>  1 file changed, 17 insertions(+), 10 deletions(-)



More information about the dev mailing list