numam-dpdk/drivers/net/bonding
Declan Doherty 8ae9c69a2b net/bonding: change link status check to no-wait
In 2 modes (802.3ad and TLB) of the link bonding driver, monitoring of
link status is used to determine the active slaves to use. These
functions are currently using the rte_link_link_get which could block
for up to 9 seconds, depending on the slave device.

In the 802.3ad periodic callback and in the TLB slave callback the
link status of slaves are checked using rte_eth_link_get function.

This patch changes to the no-wait version of the link get function to
avoid the possible issues which could be introduced if this call was
to block for an extended period of time.

Fixes: 46fb436836 ("bond: add mode 4")
Fixes: 7c76a747e6 ("bond: add mode 5")
Cc: stable@dpdk.org

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
2017-07-06 15:00:57 +02:00
..
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_eth_bond_8023ad_private.h net/bonding: allow external state machine in mode 4 2016-06-20 18:40:44 +02:00
rte_eth_bond_8023ad.c net/bonding: change link status check to no-wait 2017-07-06 15:00:57 +02:00
rte_eth_bond_8023ad.h net/bonding: fix exported symbol versioning 2016-07-11 14:56:51 +02:00
rte_eth_bond_alb.c drivers/net: use device name from device structure 2017-07-06 00:17:02 +02:00
rte_eth_bond_alb.h bond: move to drivers/net/ 2015-05-22 15:51:38 +02:00
rte_eth_bond_api.c net/bonding: remove socket id check 2017-06-22 17:46:09 +02:00
rte_eth_bond_args.c drivers/net: use device name from device structure 2017-07-06 00:17:02 +02:00
rte_eth_bond_pmd.c net/bonding: change link status check to no-wait 2017-07-06 15:00:57 +02:00
rte_eth_bond_private.h ethdev: add return values to callback process API 2017-07-01 17:19:55 +02:00
rte_eth_bond_version.map net/bonding: allow external state machine in mode 4 2016-06-20 18:40:44 +02:00
rte_eth_bond.h bonding: support port hotplug 2015-07-27 19:20:44 +02:00