[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161210.173025.1084307097879882075.davem@davemloft.net>
Date: Sat, 10 Dec 2016 17:30:25 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ivan.khoronzhuk@...aro.org
Cc: mugunthanvnm@...com, grygorii.strashko@...com,
linux-omap@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/5] net: ethernet: ti: cpsw: improve re-split policy
From: Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>
Date: Sat, 10 Dec 2016 14:23:45 +0200
> This patches add several simplifications and improvements to set
> maximum rate for channels taking in account switch and dual emac mode.
>
> Don't re-split res in the following cases:
> - speed of phys is not changed
> - speed of phys is changed and no rate limited channels
> - speed of phys is changed and all channels are rate limited
> - phy is unlinked while dev is open
> - phy is linked back but speed is not changed
>
> The maximum speed is sum of "linked" phys, thus res are split taken
> into account two interfaces, both for dual emac mode and for
> switch mode.
>
> Tested on am572x
>
> Based on net-next/master
Applied.
Powered by blists - more mailing lists