Re: [PATCH net-next 2/3] dt-bindings: net: cdns,macb: Add wol-arp-packet property

From: Krzysztof Kozlowski
Date: Wed Jan 31 2024 - 02:46:08 EST


On 31/01/2024 08:39, Vineeth Karumanchi wrote:
> Hi Andrew,
>
>
> On 31/01/24 6:56 am, Andrew Lunn wrote:
>> On Tue, Jan 30, 2024 at 04:18:44PM +0530, Vineeth Karumanchi wrote:
>>> "wol-arp-packet" property enables WOL with ARP packet.
>>> It is an extension to "magic-packet for WOL.
>>
>> It not clear why this is needed. Is this not a standard feature of the
>> IP? Is there no hardware bit indicating the capability?
>>
>
> WOL via both ARP and Magic packet is supported by the IP version on ZU+
> and Versal. However, user can choose which type of packet to recognize
> as a WOL event - magic packet or ARP. The existing DT binding already
> describes one entry for wol via magic packet. Hence, adding a new packet
> type using the same methodology.

And why would this be board-level configuration? This looks like OS policy.

Best regards,
Krzysztof