From: Ivan Vecera <ivecera@redhat.com>
To: David Ahern <dsahern@kernel.org>, netdev@vger.kernel.org
Cc: Stephen Hemminger <stephen@networkplumber.org>,
Petr Oros <poros@redhat.com>
Subject: Re: [PATCH iproute2-next 2/2] dpll: add frequency monitoring support
Date: Sun, 3 May 2026 17:11:30 +0200 [thread overview]
Message-ID: <545853b6-a209-4ed4-aa97-4b63fe123214@redhat.com> (raw)
In-Reply-To: <d99ca8ef-c11f-4190-bf08-b94c3ac76462@kernel.org>
Hi David,
On 5/2/26 8:29 PM, David Ahern wrote:
> On 4/28/26 9:21 AM, Ivan Vecera wrote:
>> diff --git a/man/man8/dpll.8 b/man/man8/dpll.8
>> index 89f17af74923..59ec4208f251 100644
>> --- a/man/man8/dpll.8
>> +++ b/man/man8/dpll.8
>> @@ -111,7 +111,7 @@ Temperature (if supported)
>> Type (PPS or EEC)
>> .RE
>>
>> -.SS dpll device set id ID [ mode { automatic | manual } ] [ phase-offset-monitor { enable | disable } ] [ phase-offset-avg-factor FACTOR ]
>> +.SS dpll device set id ID [ mode { automatic | manual } ] [ phase-offset-monitor { enable | disable } ] [ phase-offset-avg-factor FACTOR ] [ frequency-monitor { enable | disable } ]
>
> very long line; please fix up.
Will fix in v2.
>
> Keep Petr reviewed by on patch 1.
>
> Claude has some comments on the man page in general:
>
> ● I found three issues. Let me show them clearly:
>
> Issue 1 — Typo: "locked-ho-ack" should be "locked-ho-acq" (line 107)
>
> The man page description of device show output says locked-ho-ack but
> the code (dpll_lock_status_name) returns locked-ho-acq
> (ACQuired, not ACKnowledge).
>
> Issue 2 — Wrong mode values in output description (lines 104–105)
>
> The "Output includes" section says:
>
> ▎ Operating mode (manual, automatic, holdover, freerun)
>
> But dpll_mode_map and DPLL_MODE_* only define manual and automatic.
> Holdover and freerun are not DPLL modes — they are lock statuses.
> This should read (manual, automatic).
>
> Issue 3 — Undocumented but accepted alternate values for monitors
> (lines 134, 144)
>
> The man page documents { enable | disable | true | false | 0 | 1 } for
> phase-offset-monitor and frequency-monitor. The tool's own
> help text shows only { enable | disable } and the error message says
> "use enable/disable". While str_to_bool technically accepts
> true/false/0/1, the canonical interface is enable | disable. The extra
> forms in the man page are inconsistent with the help text.
Will send a separate fix for the dpll man page (non-next)...
Thanks,
Ivan
prev parent reply other threads:[~2026-05-03 15:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-28 15:21 [PATCH iproute2-next 0/2] dpll: phase unit display and frequency monitoring Ivan Vecera
2026-04-28 15:21 ` [PATCH iproute2-next 1/2] dpll: add ps unit to phase-related pin attributes Ivan Vecera
2026-05-01 10:20 ` Petr Oros
2026-04-28 15:21 ` [PATCH iproute2-next 2/2] dpll: add frequency monitoring support Ivan Vecera
2026-05-01 10:20 ` Petr Oros
2026-05-02 18:29 ` David Ahern
2026-05-03 15:11 ` Ivan Vecera [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=545853b6-a209-4ed4-aa97-4b63fe123214@redhat.com \
--to=ivecera@redhat.com \
--cc=dsahern@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=poros@redhat.com \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox