Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753521AbcLFQhj (ORCPT ); Tue, 6 Dec 2016 11:37:39 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:43030 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246AbcLFQhg (ORCPT ); Tue, 6 Dec 2016 11:37:36 -0500 Date: Tue, 06 Dec 2016 11:37:35 -0500 (EST) Message-Id: <20161206.113735.76573422393058311.davem@davemloft.net> To: ivan.khoronzhuk@linaro.org Cc: mugunthanvnm@ti.com, grygorii.strashko@ti.com, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: ethernet: ti: cpsw: fix early budget split From: David Miller In-Reply-To: <1480988700-17046-1-git-send-email-ivan.khoronzhuk@linaro.org> References: <1480988700-17046-1-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 06 Dec 2016 07:38:14 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 529 Lines: 13 From: Ivan Khoronzhuk Date: Tue, 6 Dec 2016 03:45:00 +0200 > The budget split function requires the phy speed to be known. > While ndo open a phy speed identification is postponed till the > moment link is up. Hence, move it to appropriate callback, when link > is up. > > Reported-by: Grygorii Strashko > Fixes: 8feb0a196507 ("net: ethernet: ti: cpsw: split tx budget according between channels") > Signed-off-by: Ivan Khoronzhuk Applied.