diff options
author | Peter Pan(潘卫平) | 2011-06-08 23:19:01 +0200 |
---|---|---|
committer | David S. Miller | 2011-06-10 00:02:18 +0200 |
commit | ba824a8b2d77942d51ce45ed721f65764c00ab50 (patch) | |
tree | 87fd6d0d6358faf1fe41e1e5a79e4ff5b5a85397 /drivers/net/bonding/bond_3ad.h | |
parent | enic: Bug Fix: Fix hardware transmit queue indexing in enic_poll_controller (diff) | |
download | kernel-qcow2-linux-ba824a8b2d77942d51ce45ed721f65764c00ab50.tar.gz kernel-qcow2-linux-ba824a8b2d77942d51ce45ed721f65764c00ab50.tar.xz kernel-qcow2-linux-ba824a8b2d77942d51ce45ed721f65764c00ab50.zip |
bonding: make 802.3ad use latest lacp_rate
There is bug that when you modify lacp_rate via sysfs,
802.3ad won't use the new value of lacp_rate to transmit packets.
This is because port->actor_oper_port_state isn't changed.
Signed-off-by: Weiping Pan <panweiping3@gmail.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_3ad.h')
-rw-r--r-- | drivers/net/bonding/bond_3ad.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_3ad.h b/drivers/net/bonding/bond_3ad.h index 0ee3f1632c46..e466faf3d6fd 100644 --- a/drivers/net/bonding/bond_3ad.h +++ b/drivers/net/bonding/bond_3ad.h @@ -282,5 +282,6 @@ int bond_3ad_xmit_xor(struct sk_buff *skb, struct net_device *dev); void bond_3ad_lacpdu_recv(struct sk_buff *skb, struct bonding *bond, struct slave *slave); int bond_3ad_set_carrier(struct bonding *bond); +void bond_3ad_update_lacp_rate(struct bonding *bond); #endif //__BOND_3AD_H__ |