Received: with ECARTIS (v1.0.0; list netdev); Tue, 30 Dec 2003 08:45:39 -0800 (PST) Received: from hermes.iil.intel.com (hermes.iil.intel.com [192.198.152.99]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id hBUGjOTa003539 for ; Tue, 30 Dec 2003 08:45:25 -0800 Received: from petasus.iil.intel.com (petasus.iil.intel.com [143.185.77.3]) by hermes.iil.intel.com (8.12.9-20030918-01/8.12.9/d: large-outer.mc,v 1.6 2003/12/18 18:57:17 root Exp $) with ESMTP id hBUGjIvo010132; Tue, 30 Dec 2003 16:45:18 GMT Received: from hasmsxvs01.iil.intel.com (hasmsxvs01.iil.intel.com [143.185.63.58]) by petasus.iil.intel.com (8.12.9-20030918-01/8.12.9/d: large-inner.mc,v 1.8 2003/12/18 18:57:16 root Exp $) with SMTP id hBUGj6tV008967; Tue, 30 Dec 2003 16:45:18 GMT Received: from sun111.npdj.intel.com ([10.12.254.111]) by hasmsxvs01.iil.intel.com (SAVSMTP 3.1.2.35) with SMTP id M2003123018451701049 ; Tue, 30 Dec 2003 18:45:17 +0200 Received: from jrslxjul4.npdj.intel.com (jrslxjul4 [10.12.220.54]) by sun111.npdj.intel.com (8.12.10/8.12.9/MailSET/Hub) with ESMTP id hBUGjEhb027815; Tue, 30 Dec 2003 18:45:14 +0200 (IST) From: Amir Noam To: "Jeff Garzik" , "Hen, Shmulik" Subject: Re: major bonding bug? Date: Tue, 30 Dec 2003 18:45:14 +0200 User-Agent: KMail/1.5.3 Cc: "Marom, Noam" , , References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312301845.14275.amir.noam@intel.com> X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang) X-archive-position: 2167 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: amir.noam@intel.com Precedence: bulk X-list: netdev On Tuesday 30 December 2003 06:31 pm, Jeff Garzik wrote: > hmmm... > > > It looks like a lot of code now depends on global variable > "bond_mode". Actually, this has always been the case in the bonding module. > This looks very wrong... bonding mode should be per-interface, not > global to the entire driver. What happens when a user wants > BOND_MODE_ROUNDROBIN on bond0, and BOND_MODE_TLB on bond1? We agree that it looks very wrong, and this is in fact one of the features we've been working on lately. It is not a trivial fix, since, as you've noted, a lot of the code depends on the bond settings being global. We plan to start releasing patches to address this issue very soon (probably even starting tomorrow). -- Amir