net: phy: improve pause mode reporting in phy_print_status
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 5 May 2019 17:03:51 +0000 (19:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 May 2019 19:40:39 +0000 (12:40 -0700)
commit23bfaa594002f4bba085e0a1ae3c9847b988d816
treea5259dc7c4aa3ffca48965b8169cc19a6d562bbd
parent5db9c74042e3c2168b1f1104d691063f5b662a8b
net: phy: improve pause mode reporting in phy_print_status

So far we report symmetric pause only, and we don't consider the local
pause capabilities. Let's properly consider local and remote
capabilities, and report also asymmetric pause.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c