Re: [PATCH v2 net-next] net: phy: improve pause handling

2019-05-03 Thread David Miller
From: Heiner Kallweit Date: Wed, 1 May 2019 21:34:43 +0200 > When probing the phy device we set sym and asym pause in the "supported" > bitmap (unless the PHY tells us otherwise). However we don't know yet > whether the MAC supports pause. Simply copying phy->supported to > phy->advertising will

Re: [PATCH v2 net-next] net: phy: improve pause handling

2019-05-01 Thread Andrew Lunn
On Wed, May 01, 2019 at 09:34:43PM +0200, Heiner Kallweit wrote: > When probing the phy device we set sym and asym pause in the "supported" > bitmap (unless the PHY tells us otherwise). However we don't know yet > whether the MAC supports pause. Simply copying phy->supported to > phy->advertising w

[PATCH v2 net-next] net: phy: improve pause handling

2019-05-01 Thread Heiner Kallweit
When probing the phy device we set sym and asym pause in the "supported" bitmap (unless the PHY tells us otherwise). However we don't know yet whether the MAC supports pause. Simply copying phy->supported to phy->advertising will trigger advertising pause, and that's not what we want. Therefore add