aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2020-02-05 12:32:04 -0800
committerDavid S. Miller <davem@davemloft.net>2020-02-06 14:28:52 +0100
commit263a425a482fc495d6d3f9a29b9103a664c38b69 (patch)
tree88d60088f56da62fb5300f3e245cbc5b1999bb02 /drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
parentr8169: fix performance regression related to PCIe max read request size (diff)
downloadlinux-dev-263a425a482fc495d6d3f9a29b9103a664c38b69.tar.xz
linux-dev-263a425a482fc495d6d3f9a29b9103a664c38b69.zip
net: systemport: Avoid RBUF stuck in Wake-on-LAN mode
After a number of suspend and resume cycles, it is possible for the RBUF to be stuck in Wake-on-LAN mode, despite the MPD enable bit being cleared which instructed the RBUF to exit that mode. Avoid creating that problematic condition by clearing the RX_EN and TX_EN bits in the UniMAC prior to disable the Magic Packet Detector logic which is guaranteed to make the RBUF exit Wake-on-LAN mode. Fixes: 83e82f4c706b ("net: systemport: add Wake-on-LAN support") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions