[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4c9aef06-cb97-460c-8cf8-d162648e7748@redhat.com>
Date: Thu, 6 Nov 2025 13:34:36 +0100
From: Petr Oros <poros@...hat.com>
To: Ivan Vecera <ivecera@...hat.com>, netdev@...r.kernel.org
Cc: dsahern@...nel.org, stephen@...workplumber.org, jiri@...nulli.us
Subject: Re: [PATCH iproute2-next] dpll: Add dpll command
On 11/6/25 08:19, Ivan Vecera wrote:
> On 11/5/25 8:09 PM, Petr Oros wrote:
>> Add a new userspace tool for managing and monitoring DPLL devices via
>> the
>> Linux kernel DPLL subsystem. The tool uses libmnl for netlink
>> communication
>> and provides a complete interface for device and pin configuration.
>>
>> The tool supports:
>>
>> - Device management: enumerate devices, query capabilities (lock status,
>> temperature, supported modes, clock quality levels), configure
>> phase-offset
>> monitoring and averaging
>>
>> - Pin management: enumerate pins with hierarchical relationships,
>> configure
>> frequencies (including esync), phase adjustments, priorities,
>> states, and
>> directions
>>
>> - Complex topologies: handle parent-device and parent-pin relationships,
>> reference synchronization tracking, multi-attribute queries
>> (frequency
>> ranges, capabilities)
>>
>> - ID resolution: query device/pin IDs by various attributes
>> (module-name,
>> clock-id, board-label, type)
>>
>> - Monitoring: real-time display of device and pin state changes via
>> netlink
>> multicast notifications
>>
>> - Output formats: both human-readable and JSON output (with pretty-print
>> support)
>>
>> The tool belongs in iproute2 as DPLL devices are tightly integrated with
>> network interfaces - modern NICs provide hardware clock synchronization
>> support. The DPLL subsystem uses the same netlink infrastructure as
>> other
>> networking subsystems, and the tool follows established iproute2
>> patterns
>> for command structure, output formatting, and error handling.
>>
>> Example usage:
>>
>> # dpll device show
>> # dpll device id-get module-name ice
>> # dpll device set id 0 phase-offset-monitor enable
>> # dpll pin show
>> # dpll pin set id 0 frequency 10000000
>> # dpll pin set id 13 parent-device 0 state connected prio 10
>> # dpll pin set id 0 reference-sync 1 state connected
>> # dpll monitor
>> # dpll -j -p device show
>>
>> Co-developed-by: Ivan Vecera <ivecera@...hat.com>
>> Signed-off-by: Petr Oros <poros@...hat.com>
>> Signed-off-by: Ivan Vecera <ivecera@...hat.com>
>> ---
>
> Petr, could you please add corresponding entry to MAINTAINERS file?
Yes, I'll add that to v2. I'm now waiting for additional review and will
send v2 after 24 hours.
Thanks
>
> Thanks,
> Ivan
>
Powered by blists - more mailing lists