android_kernel_motorola_sm6375/drivers/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Russell King (Oracle) 9be9cb2a2b net: phylink: avoid mvneta warning when setting pause parameters
[ Upstream commit fd8d9731bcdfb22d28e45bce789bcb211c868c78 ]

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) <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-11-17 09:48:40 +01:00
..
appletalk
arcnet
bonding net: use netif_is_bridge_port() to check for IFF_BRIDGE_PORT 2021-11-02 19:46:15 +01:00
caif
can can: peak_pci: peak_pci_remove(): fix UAF 2021-10-27 09:54:26 +02:00
dsa net: dsa: rtl8366rb: Fix off-by-one bug 2021-11-17 09:48:34 +01:00
ethernet net: amd-xgbe: Toggle PLL settings during rate change 2021-11-17 09:48:40 +01:00
fddi
fjes
hamradio net: 6pack: Fix tx timeout and slot time 2021-09-30 10:09:26 +02:00
hippi
hyperv
ieee802154
ipvlan
netdevsim
phy net: phylink: avoid mvneta warning when setting pause parameters 2021-11-17 09:48:40 +01:00
plip
ppp
slip
team
usb net: lan78xx: fix division by zero in send path 2021-11-02 19:46:13 +01:00
vmxnet3 vmxnet3: do not stop tx queues after netif_device_detach() 2021-11-17 09:48:21 +01:00
wan
wimax
wireless wcn36xx: add proper DMA memory barriers in rx path 2021-11-17 09:48:40 +01:00
xen-netback xen-netback: correct success/error reporting for the SKB-with-fraglist case 2021-10-09 14:39:49 +02:00
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c
virtio_net.c
vrf.c vrf: run conntrack only in context of lower/physdev for locally generated packets 2021-11-17 09:48:32 +01:00
vsockmon.c
vxlan.c
xen-netfront.c xen/netfront: stop tx queues during live migration 2021-11-17 09:48:21 +01:00