Re: [PATCH 1/2] dwc_eth_qos: do not clear pause flags from phy_device->supported

From: David Miller
Date: Mon Oct 17 2016 - 12:55:08 EST


From: Niklas Cassel <niklas.cassel@xxxxxxxx>
Date: Mon, 17 Oct 2016 08:25:48 +0200

> From: Niklas Cassel <niklas.cassel@xxxxxxxx>
>
> phy_device->supported is originally set by the PHY driver.
> The ethernet driver should filter phy_device->supported to only contain
> flags supported by the IP.
> The IP supports setting rx and tx flow control independently,
> therefore SUPPORTED_Pause and SUPPORTED_Asym_Pause should not be cleared.
> If the flags are cleared, pause frames cannot be enabled (even if they
> are supported by the PHY).
>
> Signed-off-by: Niklas Cassel <niklas.cassel@xxxxxxxx>
> Signed-off-by: Lars Persson <larper@xxxxxxxx>

These two patches do not apply to the current 'net' tree, please respin.