Re: [PATCH net] net: mvpp2: 10G modes aren't supported on all ports

From: David Miller
Date: Tue Dec 18 2018 - 17:49:58 EST

From: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>
Date: Tue, 11 Dec 2018 17:32:28 +0100

> The mvpp2_phylink_validate() function sets all modes that are
> supported by a given PPv2 port. A recent change made all ports to
> advertise they support 10G modes in certain cases. This is not true,
> as only the port #0 can do so. This patch fixes it.
> Fixes: 01b3fd5ac97c ("net: mvpp2: fix detection of 10G SFP modules")
> Cc: Baruch Siach <baruch@xxxxxxxxxx>
> Signed-off-by: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>

Applied, thank you.