Thread (8 messages) 8 messages, 3 authors, 2011-08-02

Re: Bond, round robin mis-config​uration.

From: peter.senna@gmail.com (Peter Senna Tschudin)
Date: 2011-07-31 14:21:12

Hi Eduard,

On Sun, Jul 31, 2011 at 4:59 AM, Eduard Sinelnikov
[off-list ref] wrote:
Hi,

In the kernel 2.6.39.3 ( /drivers/net/bond/bond_main.c).
I followed the code you mentioned. The file is actually at:

./drivers/net/bonding/bond_main.c
In the function ??bond_xmit_roundrobin?
The code check if the bond is active via
?bond_is_active_slave(slave)? Function call.
Which actually checks if the slave is backup or active
What is the meaning of slave being ?backup in round robin mode?
Correct me if I wrong but in round robin every slave should send a
packet, regardless of being active or backup.
I'm not sure about this but my best guess is that even using all
slaves to send packages, the slaves must be used one at a time, to
send packages sequentially. And one slave can be deactivated when a
problem is detected. I think that this two scenarios that justify the
check.
Thank you,
? ? ? ? ? ?Eduard

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Peter

-- 
Peter Senna Tschudin
peter.senna at gmail.com
gpg id: 48274C36
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help