Skip to content
Commit 3600a311 authored by Stefan Chulski's avatar Stefan Chulski Committed by Greg Kroah-Hartman
Browse files

net: phylink: Fix flow control resolution

[ Upstream commit 63b2ed4e ]

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: 9525ae83

 ("phylink: add phylink infrastructure")
Signed-off-by: default avatarStefan Chulski <stefanc@marvell.com>
Reported-by: default avatarShaul Ben-Mayor <shaulb@marvell.com>
Acked-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 821302dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment