* [PATCH RESEND net-next v3 0/2] bonding: Fix some issues for fail_over_mac
@ 2014-01-25 4:58 Ding Tianhong
2014-02-02 0:53 ` David Miller
2014-02-04 20:00 ` Jay Vosburgh
0 siblings, 2 replies; 4+ messages in thread
From: Ding Tianhong @ 2014-01-25 4:58 UTC (permalink / raw)
To: Jay Vosburgh, Veaceslav Falico, David S. Miller, Netdev,
Andy Gospodarek
The parameter fail_over_mac only affect active-backup mode, if it was
set to active or follow and works with other modes, just like RR or XOR
mode, the bonding could not set all slaves to the master's address, it
will cause the slave could not work well with master.
v1->v2: According Jay's suggestion, that we should permit setting an option
at any time, but only have it take effect in active-backup mode, so
I add mode checking together with fail_over_mac during enslavement and
rebuild the patches.
v2->v3: The correct way to fix the problem is that we should not add restrictions when
setting options, just need to modify the bond enslave and removal processing
to check the mode in addition to fail_over_mac when setting a slave's MAC during
enslavement. The change active slave processing already only calls the fail_over_mac
function when in active-backup mode.
Remove the cleanup patch because the net-next is frozen now.
Regards
Ding
Ding Tianhong (2):
bonding: bonding: fail_over_mac should only affect AB mode at
enslave and removal processing
bonding: fail_over_mac should only affect AB mode in
bond_set_mac_address()
drivers/net/bonding/bond_main.c | 25 +++++++++++++++++--------
1 file changed, 17 insertions(+), 8 deletions(-)
--
1.8.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND net-next v3 0/2] bonding: Fix some issues for fail_over_mac
2014-01-25 4:58 [PATCH RESEND net-next v3 0/2] bonding: Fix some issues for fail_over_mac Ding Tianhong
@ 2014-02-02 0:53 ` David Miller
2014-02-04 20:00 ` Jay Vosburgh
1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2014-02-02 0:53 UTC (permalink / raw)
To: dingtianhong; +Cc: fubar, vfalico, netdev, andy
From: Ding Tianhong <dingtianhong@huawei.com>
Date: Sat, 25 Jan 2014 12:58:35 +0800
> The parameter fail_over_mac only affect active-backup mode, if it was
> set to active or follow and works with other modes, just like RR or XOR
> mode, the bonding could not set all slaves to the master's address, it
> will cause the slave could not work well with master.
>
> v1->v2: According Jay's suggestion, that we should permit setting an option
> at any time, but only have it take effect in active-backup mode, so
> I add mode checking together with fail_over_mac during enslavement and
> rebuild the patches.
>
> v2->v3: The correct way to fix the problem is that we should not add restrictions when
> setting options, just need to modify the bond enslave and removal processing
> to check the mode in addition to fail_over_mac when setting a slave's MAC during
> enslavement. The change active slave processing already only calls the fail_over_mac
> function when in active-backup mode.
>
> Remove the cleanup patch because the net-next is frozen now.
This series has been rotting in patchwork for a week, and desperately
needs someone to review it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND net-next v3 0/2] bonding: Fix some issues for fail_over_mac
2014-01-25 4:58 [PATCH RESEND net-next v3 0/2] bonding: Fix some issues for fail_over_mac Ding Tianhong
2014-02-02 0:53 ` David Miller
@ 2014-02-04 20:00 ` Jay Vosburgh
2014-02-05 3:48 ` David Miller
1 sibling, 1 reply; 4+ messages in thread
From: Jay Vosburgh @ 2014-02-04 20:00 UTC (permalink / raw)
To: Ding Tianhong; +Cc: Veaceslav Falico, David S. Miller, Netdev, Andy Gospodarek
Ding Tianhong <dingtianhong@huawei.com> wrote:
>The parameter fail_over_mac only affect active-backup mode, if it was
>set to active or follow and works with other modes, just like RR or XOR
>mode, the bonding could not set all slaves to the master's address, it
>will cause the slave could not work well with master.
>
>v1->v2: According Jay's suggestion, that we should permit setting an option
> at any time, but only have it take effect in active-backup mode, so
> I add mode checking together with fail_over_mac during enslavement and
> rebuild the patches.
>
>v2->v3: The correct way to fix the problem is that we should not add restrictions when
> setting options, just need to modify the bond enslave and removal processing
> to check the mode in addition to fail_over_mac when setting a slave's MAC during
> enslavement. The change active slave processing already only calls the fail_over_mac
> function when in active-backup mode.
>
> Remove the cleanup patch because the net-next is frozen now.
>
>Regards
>Ding
Both patches look good to me.
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
-J
---
-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND net-next v3 0/2] bonding: Fix some issues for fail_over_mac
2014-02-04 20:00 ` Jay Vosburgh
@ 2014-02-05 3:48 ` David Miller
0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2014-02-05 3:48 UTC (permalink / raw)
To: fubar; +Cc: dingtianhong, vfalico, netdev, andy
From: Jay Vosburgh <fubar@us.ibm.com>
Date: Tue, 04 Feb 2014 12:00:31 -0800
> Ding Tianhong <dingtianhong@huawei.com> wrote:
>
>>The parameter fail_over_mac only affect active-backup mode, if it was
>>set to active or follow and works with other modes, just like RR or XOR
>>mode, the bonding could not set all slaves to the master's address, it
>>will cause the slave could not work well with master.
>>
>>v1->v2: According Jay's suggestion, that we should permit setting an option
>> at any time, but only have it take effect in active-backup mode, so
>> I add mode checking together with fail_over_mac during enslavement and
>> rebuild the patches.
>>
>>v2->v3: The correct way to fix the problem is that we should not add restrictions when
>> setting options, just need to modify the bond enslave and removal processing
>> to check the mode in addition to fail_over_mac when setting a slave's MAC during
>> enslavement. The change active slave processing already only calls the fail_over_mac
>> function when in active-backup mode.
>>
>> Remove the cleanup patch because the net-next is frozen now.
>>
>>Regards
>>Ding
>
> Both patches look good to me.
>
> Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Series applied, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-02-05 3:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-25 4:58 [PATCH RESEND net-next v3 0/2] bonding: Fix some issues for fail_over_mac Ding Tianhong
2014-02-02 0:53 ` David Miller
2014-02-04 20:00 ` Jay Vosburgh
2014-02-05 3:48 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).