Re: [PATCH] net: ethernet: ti: cpsw: fix early budget split

From: David Miller
Date: Tue Dec 06 2016 - 11:37:42 EST


From: Ivan Khoronzhuk <ivan.khoronzhuk@xxxxxxxxxx>
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 <grygorii.strashko@xxxxxx>
> Fixes: 8feb0a196507 ("net: ethernet: ti: cpsw: split tx budget according between channels")
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@xxxxxxxxxx>

Applied.