Russell King (Oracle)
e176585f05
net: phylink: avoid mvneta warning when setting pause parameters
...
[ Upstream commit fd8d9731bc ]
mvneta does not support asymetric pause modes, and it flags this by the
lack of AsymPause in the supported field. When setting pause modes, we
check that pause->rx_pause == pause->tx_pause, but only when pause
autoneg is enabled. When pause autoneg is disabled, we still allow
pause->rx_pause != pause->tx_pause, which is incorrect when the MAC
does not support asymetric pause, and causes mvneta to issue a warning.
Fix this by removing the test for pause->autoneg, so we always check
that pause->rx_pause == pause->tx_pause for network devices that do not
support AsymPause.
Fixes: 9525ae8395 ("phylink: add phylink infrastructure")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2021-11-18 19:16:44 +01:00
..
2021-11-18 19:16:35 +01:00
2021-11-06 14:13:31 +01:00
2021-11-12 15:05:49 +01:00
2021-11-18 19:16:00 +01:00
2021-11-18 19:16:08 +01:00
2021-09-01 08:44:42 -07:00
2021-11-18 19:16:41 +01:00
2021-11-18 19:16:25 +01:00
2021-10-17 17:17:28 -10:00
2021-11-18 19:16:44 +01:00
2021-10-30 09:55:46 -07:00
2021-11-18 19:16:39 +01:00
2021-11-12 15:05:51 +01:00
2021-11-18 19:16:42 +01:00
2021-11-18 19:16:29 +01:00
2021-11-18 19:16:33 +01:00
2021-11-18 19:16:04 +01:00
2021-09-09 11:39:57 -07:00
2021-09-08 11:50:26 -07:00
2021-09-09 11:07:47 -07:00
2021-11-18 19:16:08 +01:00
2021-11-18 19:16:30 +01:00
2021-09-11 09:47:33 -07:00
2021-11-18 19:15:53 +01:00
2021-09-27 14:00:41 -07:00
2021-10-25 10:15:05 +02:00
2021-11-18 19:16:43 +01:00
2021-11-18 19:15:59 +01:00
2021-10-22 10:31:32 -10:00
2021-11-18 19:16:32 +01:00
2021-11-18 19:16:06 +01:00
2021-10-04 21:56:20 +02:00
2021-11-18 19:16:07 +01:00
2021-11-18 19:16:01 +01:00
2021-11-18 19:15:51 +01:00
2021-09-13 15:49:55 +03:00
2021-10-13 21:28:44 +02:00
2021-09-27 17:38:49 +02:00
2021-11-18 19:16:40 +01:00
2021-10-19 13:09:28 +01:00
2021-09-14 13:23:22 -07:00
2021-11-18 19:16:35 +01:00
2021-09-14 11:22:26 +02:00
2021-11-18 19:16:16 +01:00
2021-11-18 19:16:34 +01:00
2021-11-18 19:16:01 +01:00
2021-11-18 19:16:32 +01:00
2021-11-18 19:16:06 +01:00
2021-10-15 10:54:02 +02:00
2021-11-18 19:16:34 +01:00
2021-11-18 19:16:08 +01:00
2021-11-18 19:16:02 +01:00
2021-11-18 19:16:44 +01:00
2021-10-26 13:42:00 +01:00
2021-09-07 13:05:02 -07:00
2021-10-25 16:12:32 -07:00
2021-11-18 19:16:38 +01:00
2021-10-13 15:09:58 +02:00
2021-10-21 18:30:49 -10:00
2021-09-09 12:44:31 +02:00
2021-09-02 13:16:00 -07:00
2021-11-18 19:16:05 +01:00
2021-09-20 12:43:34 +01:00
2021-09-08 12:55:35 -07:00
2021-11-18 19:16:06 +01:00
2021-11-18 19:16:34 +01:00
2021-11-18 19:16:08 +01:00
2021-10-21 12:50:38 +01:00
2021-09-02 22:27:46 +02:00
2021-11-18 19:15:57 +01:00
2021-10-05 12:23:16 +02:00
2021-09-14 10:20:19 +02:00
2021-10-01 14:45:23 -07:00
2021-11-18 19:16:25 +01:00
2021-09-01 08:44:42 -07:00
2021-11-18 19:16:01 +01:00
2021-09-01 10:29:29 -07:00
2021-11-18 19:16:42 +01:00
2021-11-18 19:16:14 +01:00
2021-09-22 00:17:29 -04:00
2021-10-12 13:24:39 +02:00
2021-11-18 19:16:34 +01:00
2021-10-06 17:53:49 -06:00
2021-11-18 19:16:08 +01:00
2021-11-18 19:16:08 +01:00
2021-10-22 06:49:14 -04:00
2021-09-23 14:12:36 -06:00
2021-10-17 18:17:19 -10:00
2021-11-18 19:16:22 +01:00
2021-10-27 15:54:34 -04:00
2021-10-26 20:22:51 +02:00
2021-11-18 19:16:04 +01:00
2021-10-07 16:51:26 +02:00