diff options
author | Stefan Chulski <stefanc@marvell.com> | 2019-09-05 19:46:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-19 09:08:01 +0200 |
commit | 37a791c19a92a416ef00c0b5e4ee4d31d7094989 (patch) | |
tree | d85b0fc54cbd0595f420e5e285aeea23d5173e50 /net/sched | |
parent | 55fb612bef7fd237fb70068e2b6ff1cd1543a8ef (diff) | |
download | linux-stable-37a791c19a92a416ef00c0b5e4ee4d31d7094989.tar.gz linux-stable-37a791c19a92a416ef00c0b5e4ee4d31d7094989.tar.bz2 linux-stable-37a791c19a92a416ef00c0b5e4ee4d31d7094989.zip |
net: phylink: Fix flow control resolution
[ Upstream commit 63b2ed4e10b2e6c913e1d8cdd728e7fba4115a3d ]
Regarding to IEEE 802.3-2015 standard section 2
28B.3 Priority resolution - Table 28-3 - Pause resolution
In case of Local device Pause=1 AsymDir=0, Link partner
Pause=1 AsymDir=1, Local device resolution should be enable PAUSE
transmit, disable PAUSE receive.
And in case of Local device Pause=1 AsymDir=1, Link partner
Pause=1 AsymDir=0, Local device resolution should be enable PAUSE
receive, disable PAUSE transmit.
Fixes: 9525ae83959b ("phylink: add phylink infrastructure")
Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Reported-by: Shaul Ben-Mayor <shaulb@marvell.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions