RE: [RFC PATCH] net: add net-device TX clock source selection framework

From: Kubalewski, Arkadiusz
Date: Wed Jul 30 2025 - 10:12:01 EST


>From: Jiri Pirko <jiri@xxxxxxxxxxx>
>Sent: Wednesday, July 30, 2025 2:26 PM
>
>Tue, Jul 29, 2025 at 12:45:28PM +0200, arkadiusz.kubalewski@xxxxxxxxx
>wrote:
>
>[...]
>
>>User interface:
>>- Read /sys/class/net/<device>/tx_clk/<clock_name> to get status (0/1)
>>- Write "1" to switch to that clock source
>
>I wonder, if someone invented a time machine and sent me back to 2005...
>

Probably temporarily, but this was quickest to invent :S

Creating a single DPLL device for each PF/port seems overshot,
Could go with extending netdev-genl
Any other ideas?

Thank you!
Arkadiusz

>[...]