Thread (10 messages) flat view 10 messages, 3 authors, 2011-06-09

Re: [PATCH v4 net-next 0/5] bonding:use latest lacp_rate and ad_select and delete unused ad_timer and arp_mon_pt

From: David Miller <davem@davemloft.net>
Date: 2011-06-09 22:03:28
Also in: lkml

From: Jay Vosburgh <redacted>
Date: Thu, 09 Jun 2011 14:58:11 -0700
Weiping Pan [off-list ref] wrote:
quoted
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.

As for ad_select, it can work,
but both struct bond_params and ad_bond_info have lacp_fast and ad_select,
they are duplicate and need extra synchronization.
802.3ad can get them from bond_params directly every time.

And ad_timer and arp_mon_pt aren't used any more, just delete them.

changelog:
v2:
add bond_3ad_update_lacp_rate() as a helper function,
and hold bond->lock when iterates slave list.

v3:
delete duplicate lacp_fast and agg_select_mode from struct ad_bond_info.

v4:
delete unused ad_timer and arp_mon_pt.
	All patches in the series look reasonable.

Signed-off-by: Jay Vosburgh <redacted>
All applied, thanks everyone.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help