lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 31 Oct 2022 10:06:05 -0700
From:   Steven Hsieh <steven.hsieh@...adcom.com>
To:     jay.vosburgh@...onical.com
Cc:     andy@...yhouse.net, davem@...emloft.net, edumazet@...gle.com,
        kuba@...nel.org, linux-kernel@...r.kernel.org,
        netdev@...r.kernel.org, pabeni@...hat.com,
        steven.hsieh@...adcom.com, vfalico@...il.com
Subject: Re: [PATCH net-next] bonding: 3ad: bonding of links with different data rate

Thanks Jay for reviewing patch request.
We decided not to move forward.
Instead of adding different speed links to one aggregator,
we can assign them to multiple aggregators and use ad_select=bandwidth
to pick highest bandwidth aggregator.

Thanks
Steven H.

> From: Jay Vosburgh <jay.vosburgh@...onical.com>
> To: Steven Hsieh <steven.hsieh@...adcom.com>
> Cc: Andy Gospodarek <andy@...yhouse.net>,
> 	"David S. Miller" <davem@...emloft.net>,
> 	Eric Dumazet <edumazet@...gle.com>,
> 	Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
> 	Veaceslav Falico <vfalico@...il.com>,
> 	linux-kernel@...r.kernel.org, netdev@...r.kernel.org
> Subject: Re: [PATCH net-next] bonding: 3ad: bonding of links with different data rate
> Date: Mon, 24 Oct 2022 09:25:09 -0700	[thread overview]
> Message-ID: <15633.1666628709@...ine> (raw)
> In-Reply-To: <20221022220158.74933-1-steven.hsieh@...adcom.com>
> 
> Steven Hsieh <steven.hsieh@...adcom.com> wrote:
> 
> >Current Linux Bonding driver supports IEEE802.3ad-2000.
> >Operation across multiple data rates—
> >All links in a Link Aggregation Group operate at the same data rate.
> >
> >In IEEE802.1AX-2014
> >Aggregation of links of different data rates is not prohibited
> >nor required by this standard.
> 
> 	The -2014 and -2020 versions change a lot of things at once; I'm
> not sure we can just cherry pick out one thing (or maybe we can, I'm
> reading through the changes).  Notably, the -2020 version states, in
> reference to changes added at -2014,
> 
> "[...] it explicitly allowed the aggregation of point-to-point links of
> any speed using any physical media or logical connection capable of
> supporting the Internal Sublayer Service specified in IEEE Std
> 802.1AC."
> 
> 	whereas the -2008 standard specifies "CSMA/CD MACs" instead of
> the ISS from 802.1AC.  I'm not yet sure if this makes any relevant
> difference.

> >This patch provides configuration option to allow aggregation of links
> >with different speed.
> 
> 	Have you tested all of the edge cases?  E.g., what is the
> behavior with and without the option enabled when an interface in an
> aggregator changes its speed?
> 
> 	If you have tests, consider including test scripts in
> tools/testing/selftests/drivers/net/bonding/
> 

In current code, when 2nd port is linked up with different speed,
it will not be part of active aggregator.

> >Enhancement is disabled by default and can be enabled thru
> > echo 1 > /sys/class/net/bond*/bonding/async_linkspeed
> 
> 	New option settings like this require (a) support in iproute2
> (to set/get the option like any other bonding option), and (b) updates
> to the documentation (Documentation/networking/bonding.rst).
> 
> 	I'm not completely sold on the name, either, "async" doesn't
> really describe "differing data rates" in my mind.  Perhaps an option
> named "ad_link_speed" with allowed values of "same" or "any"?



-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.

Download attachment "smime.p7s" of type "application/pkcs7-signature" (4209 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ