Date: Fri, 30 Sep 2011 20:15:02 +0530 From: Naresh <gbal.naresh@gmail.com> To: Andrew Thompson <thompsa@FreeBSD.org> Cc: "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org> Subject: Re: Link aggregation using LACP Message-ID: <5496CA20-BFE1-41BE-A785-972DC37916B7@gmail.com> In-Reply-To: <CAFAOGNS8AXKdR=cYjh2Hccjaaxndb763hDXZVsh025dmdk31jw@mail.gmail.com> References: <161553F2-FE14-417C-94C6-11ACBD28E06E@gmail.com> <CAFAOGNS8AXKdR=cYjh2Hccjaaxndb763hDXZVsh025dmdk31jw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Andrew, Damien. Damien you are using Failiover mode, That is working fine for me to. I have i= ssues only with LACP mode. As mentioned by Andrew, the slow LACP timer might be the reason. I tried it t= oday again. My observations are On switch:- 1) I have set LACP time out on the switch to one sec. 2) On the switch it shows neighbors timeout as 30 sec( i.e my host) Yesterday I mentioned it is taking around 30 seconds to recover, but actuall= y it is taking 90 seconds always. This problem is only if I administratively down the interface using ifconfig= . If I do a cable pull, then the recovery is immediate, might be because bot= h party's know about the link failure immediately. Thanks, Naresh. On 29-Sep-2011, at 11:44 PM, Andrew Thompson <thompsa@FreeBSD.org> wrote: > On 30 September 2011 05:42, Naresh <gbal.naresh@gmail.com> wrote: >> Hi All, >>=20 >> I am working on a 10Gb Ethernet driver for FreeBsd 8.2. When I enable lin= k aggregation using LACP mode on two ports of our card, I expected load to b= e balanced on two ports(both are up). But interestingly traffic is flowing o= n only one interface. >=20 > Have a look at lagg_hashmbuf() which generates the hash number to > choose the port. It uses the ethernet and ip headers for this so > ensure your test traffic has enough variation. >=20 >> If I administratively bring down the interface on which traffic is flowin= g, I see lot of packet loss for about 30 secs, After that it picks up. >=20 > We don't send a gratuitous arp when the links change, maybe this is > causing your switches to not update quickly. We also use the slow lacp > timer. >=20 >=20 > Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5496CA20-BFE1-41BE-A785-972DC37916B7>