Re: [PATCH net] bonding: fix 802.3ad aggregator reselection

2016-08-18 Thread Veli-Matti Lintu
2016-07-08 15:22 GMT+03:00 Veli-Matti Lintu : > 2016-07-08 4:48 GMT+03:00 Jay Vosburgh : >> diff --git a/drivers/net/bonding/bond_3ad.c b/drivers/net/bonding/bond_3ad.c >> index edc70ffad660..2da5be91226e 100644 >> --- a/drivers/net/bonding/bond_3ad.c >> +++ b/dri

Re: [PATCH net] bonding: fix 802.3ad aggregator reselection

2016-07-08 Thread Veli-Matti Lintu
2016-07-08 4:48 GMT+03:00 Jay Vosburgh : > Veli-Matti Lintu wrote: > >>2016-07-06 0:20 GMT+03:00 Jay Vosburgh : >>Thanks for the pointers. Adding some extra debug in __enable_port >>helped me to get in right direction. And adding quite a bit of extra >>debug informa

Re: [PATCH net] bonding: fix 802.3ad aggregator reselection

2016-07-07 Thread Veli-Matti Lintu
2016-07-06 0:20 GMT+03:00 Jay Vosburgh : > Veli-Matti Lintu wrote: > >>2016-06-30 14:15 GMT+03:00 Veli-Matti Lintu : >>> 2016-06-29 18:59 GMT+03:00 Jay Vosburgh : >>>> Veli-Matti Lintu wrote: >> >>>> I tried this locally, but don't

Re: [PATCH net] bonding: fix 802.3ad aggregator reselection

2016-07-05 Thread Veli-Matti Lintu
2016-07-05 17:01 GMT+03:00 Veli-Matti Lintu : > 2016-06-30 14:15 GMT+03:00 Veli-Matti Lintu : >> 2016-06-29 18:59 GMT+03:00 Jay Vosburgh : >>> Veli-Matti Lintu wrote: > >>> I tried this locally, but don't see any failure (at the end, the >>> &q

Re: [PATCH net] bonding: fix 802.3ad aggregator reselection

2016-07-05 Thread Veli-Matti Lintu
2016-06-30 14:15 GMT+03:00 Veli-Matti Lintu : > 2016-06-29 18:59 GMT+03:00 Jay Vosburgh : >> Veli-Matti Lintu wrote: >> I tried this locally, but don't see any failure (at the end, the >> "Switch A" agg is still active with the single port). I am sta

Re: [PATCH net] bonding: fix 802.3ad aggregator reselection

2016-07-05 Thread Veli-Matti Lintu
ehow? Veli-Matti > > Let me know the result. > Zhu Yanjun > > On Tue, Jun 28, 2016 at 7:57 PM, Veli-Matti Lintu > wrote: >> >> 2016-06-24 0:20 GMT+03:00 Jay Vosburgh : >> > >> > Since commit 7bb11dc9f59d ("bonding: unify all places wher

Re: [PATCH net] bonding: fix 802.3ad aggregator reselection

2016-06-30 Thread Veli-Matti Lintu
2016-06-29 18:59 GMT+03:00 Jay Vosburgh : > Veli-Matti Lintu wrote: > [...] >>Thanks for the patch. I have been now testing it and the reselection >>seems to be working now in most cases, but I hit one case that seems >>to consistently fail in my test environment. >

Re: [PATCH net] bonding: fix 802.3ad aggregator reselection

2016-06-28 Thread Veli-Matti Lintu
th" and > "count" options only consider ports that are link up. > > Second, on any carrier state change of any slave, the aggregator > selection logic is explicitly called to insure the correct aggregator is > active. > > Reported-by: Veli-Matti Lintu &

Re: 802.3ad bonding aggregator reselection

2016-06-22 Thread Veli-Matti Lintu
2016-06-22 3:49 GMT+03:00 Jay Vosburgh : > > Veli-Matti Lintu wrote: > [...] >>>>The ports are configured in switch settings (HP Procurve 2530-48G) in >>>>same trunk group (TrkX) and trunk group type is set as LACP. >>>>/proc/net/bonding/bond0 a

Re: 802.3ad bonding aggregator reselection

2016-06-21 Thread Veli-Matti Lintu
2016-06-21 18:46 GMT+03:00 Jay Vosburgh : > Veli-Matti Lintu wrote: > >>2016-06-20 17:11 GMT+03:00 zhuyj : >>> 5. Switch Configuration >>> === >>> >>> For this section, "switch" refers to whatever system the >

Re: 802.3ad bonding aggregator reselection

2016-06-21 Thread Veli-Matti Lintu
2016-06-20 17:11 GMT+03:00 zhuyj : > 5. Switch Configuration > === > > For this section, "switch" refers to whatever system the > bonded devices are directly connected to (i.e., where the other end of > the cable plugs into). This may be an actual dedicated switch devic

Fwd: 802.3ad bonding aggregator reselection

2016-06-17 Thread Veli-Matti Lintu
Hello, I have been trying to get the bonding driver working with multiple aggregators with two switches in mode=802.3ad to handle failing links properly. The goal is to have always the best possible bonded link in use if one or physical links fail. The bonding documentation describes that 802.3ad