[PATCH net-next v6 0/4] net: macb: WOL enhancements

From: Vineeth Karumanchi
Date: Mon Jun 17 2024 - 03:07:26 EST


- Add provisioning for queue tie-off and queue disable during suspend.
- Add support for ARP packet types to WoL.
- Advertise WoL attributes by default.
- Extend MACB supported WoL modes to the PHY supported WoL modes.
- Deprecate magic-packet property.

Changes in V6:
- Use rcu_access_pointer() instead of rcu_dereference()
- Add conditional check on __in_dev_get_rcu() return pointer

Changes in V5:
- Update comment and error message.
v5 link : https://lore.kernel.org/netdev/20240611162827.887162-1-vineeth.karumanchi@xxxxxxx/

Changes in V4:
- Extend MACB supported wol modes to the PHY supported modes.
- Drop previous ACK from v2 series on 4/4 patch for further review.
v4 link : https://lore.kernel.org/lkml/20240610053936.622237-1-vineeth.karumanchi@xxxxxxx/

Changes in V3:
- Advertise WOL by default.
- Drop previous ACK for further review.
v3 link : https://lore.kernel.org/netdev/20240605102457.4050539-1-vineeth.karumanchi@xxxxxxx/

Changes in v2:
- Re-implement WOL using CAPS instead of device-tree attribute.
- Deprecate device-tree "magic-packet" property.
- Sorted CAPS values.
- New Bit fields inline with existing implementation.
- Optimize code.
- Fix sparse warnings.
- Addressed minor review comments.
v2 link : https://lore.kernel.org/netdev/20240222153848.2374782-1-vineeth.karumanchi@xxxxxxx/

v1 link : https://lore.kernel.org/lkml/20240130104845.3995341-1-vineeth.karumanchi@xxxxxxx/#t


Vineeth Karumanchi (4):
net: macb: queue tie-off or disable during WOL suspend
net: macb: Enable queue disable
net: macb: Add ARP support to WOL
dt-bindings: net: cdns,macb: Deprecate magic-packet property

.../devicetree/bindings/net/cdns,macb.yaml | 1 +
drivers/net/ethernet/cadence/macb.h | 8 ++
drivers/net/ethernet/cadence/macb_main.c | 122 +++++++++++++-----
3 files changed, 101 insertions(+), 30 deletions(-)

--
2.34.1