aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorVineeth Karumanchi <vineeth.karumanchi@amd.com>2024-06-21 10:27:34 +0530
committerPaolo Abeni <pabeni@redhat.com>2024-06-25 11:53:07 +0200
commit0cb8de39a776e093c759e21d2c95df049f6ea9e9 (patch)
tree33bda3e119b3e30c478c0fdd2d69e79807dbc6bb /net/unix/af_unix.c
parent3650a8cc5b34b1032428724c1b74349a753237a4 (diff)
downloadlinux-0cb8de39a776e093c759e21d2c95df049f6ea9e9.tar.gz
linux-0cb8de39a776e093c759e21d2c95df049f6ea9e9.tar.bz2
linux-0cb8de39a776e093c759e21d2c95df049f6ea9e9.zip
net: macb: Add ARP support to WOL
Extend wake-on LAN support with an ARP packet. Currently, if PHY supports WOL, ethtool ignores the modes supported by MACB. This change extends the WOL modes with MACB supported modes. Advertise wake-on LAN supported modes by default without relying on dt node. By default, wake-on LAN will be in disabled state. Using ethtool, users can enable/disable or choose packet types. For wake-on LAN via ARP, ensure the IP address is assigned and report an error otherwise. Co-developed-by: Harini Katakam <harini.katakam@amd.com> Signed-off-by: Harini Katakam <harini.katakam@amd.com> Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> Tested-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> # on SAMA7G5 Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions