[dpdk-dev] [PATCH v3] bonding: fix the segfault caused by the race condition between master thread and eal-intr-thread

2017-07-26 Thread zhangsha.zhang
From: Sha Zhang Function slave_configure calls functions bond_ethdev_lsc_event_callback and slave_eth_dev->dev_ops->link_update to fix updating slave link status. But there is a low probability that process may be crashed if the master thread, which create bonding-device, adds the active_slave_co

[dpdk-dev] [PATCH v2] bonding: fix the segfault caused by the race condition between master thread and eal-intr-thread

2017-07-26 Thread zhangsha.zhang
From: Sha Zhang Function slave_configure calls functions bond_ethdev_lsc_event_callback and slave_eth_dev->dev_ops->link_update to fix updating slave link status. But there is a low probability that process may be crashed if the master thread, which create bonding-device, adds the active_slave_co

[dpdk-dev] [PATCH] bonding: fix the segfault caused by the race condition between master thread, which create bonding-device, and eal-intr-thread

2017-06-30 Thread zhangsha.zhang
From: Sha Zhang Function slave_configure calls functions bond_ethdev_lsc_event_callback and slave_eth_dev->dev_ops->link_update to fix updating slave link status. But there is a low probability that process may be crashed if the master thread adds the active_slave_count of the bond to nozero whil

[dpdk-dev] [PATCH] bond: update the NTT flag when partner's state changes from slow to fast

2017-05-22 Thread zhangsha.zhang
From: Sha Zhang According to the standard, state machine of lacp should transmit lacpdu when partner's state changes from slow to fast, rather than from fast to slow. Signed-off-by: Sha Zhang --- drivers/net/bonding/rte_eth_bond_8023ad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[dpdk-dev] [PATCH] bond: update the NTT flag when partner's state changes from slow to fast

2017-05-22 Thread zhangsha.zhang
From: Sha Zhang According to the standard, state machine of lacp should transmit lacpdu when partner's state changes from slow to fast, rather than from fast to slow. Signed-off-by: Sha Zhang --- drivers/net/bonding/rte_eth_bond_8023ad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d