net/bonding: fix when NTT flag updated
authorSha Zhang <zhangsha.zhang@huawei.com>
Mon, 22 May 2017 07:52:11 +0000 (15:52 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:56 +0000 (15:00 +0200)
commit95efa3cd649163094a7b0536d0a01d68f4267d3a
tree3e9464fbe6ba40c2a216ec51293435e76bbaa254
parent2209c3e2c27522f05788ef9b2d35601691d823f6
net/bonding: fix when NTT flag updated

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.

Fixes: 46fb43683679 ("bond: add mode 4")
Cc: stable@dpdk.org
Signed-off-by: Sha Zhang <zhangsha.zhang@huawei.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
drivers/net/bonding/rte_eth_bond_8023ad.c