From: Vadim Fedorenko <vadim.fedorenko@linux.dev>
To: Jakub Kicinski <kuba@kernel.org>, davem@davemloft.net
Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com,
andrew+netdev@lunn.ch, horms@kernel.org,
arkadiusz.kubalewski@intel.com, ivecera@redhat.com,
jiri@resnulli.us, donald.hunter@gmail.com
Subject: Re: [PATCH net-next 3/4] netlink: specs: dpll: pin-get has no dump filter
Date: Sun, 6 Sep 2026 12:44:56 +0100 [thread overview]
Message-ID: <0503f189-d91c-4334-bcd6-0dea795db0e7@linux.dev> (raw)
In-Reply-To: <20260904191023.3869690-4-kuba@kernel.org>
On 04/09/2026 20:10, Jakub Kicinski wrote:
> The op doc promises "dump request with target dpll - list all the pins
> registered with a given dpll device" and "do request with target dpll
> and target pin". Neither exists. pin-get uses attribute-set: pin, so
> the id in both requests is DPLL_A_PIN_ID, not a device id; there is no
> reachable "target dpll" attribute at all (DPLL_A_PIN_PARENT_ID is in
> neither list). dpll_nl_pin_get_dumpit() does not look at the request,
> it walks dpll_pin_xa from ctx->idx and emits every registered,
> available pin, and there is no dump start callback to consume an id
> either.
>
> So the generated dpll_pin_get_dump() sends an id, gets the full list
> back and reports no error. Drop the id from the dump request and the
> two targeting claims from the doc.
>
> Present since commit 3badff3a25d8 ("dpll: spec: Add Netlink spec in
> YAML").
> Same caveat as for pin-set: sending DPLL_A_PIN_ID in a pin-get dump now
> fails validation instead of being ignored.
>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
next prev parent reply other threads:[~2026-09-06 11:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 19:10 [PATCH net-next 0/4] dpll: fix lies in the Netlink spec Jakub Kicinski
2026-09-04 19:10 ` [PATCH net-next 1/4] netlink: specs: dpll: add clock-quality-level to the device-get reply Jakub Kicinski
2026-09-05 11:19 ` Vadim Fedorenko
2026-09-04 19:10 ` [PATCH net-next 2/4] netlink: specs: dpll: drop the pin-set attributes nothing implements Jakub Kicinski
2026-09-06 11:44 ` Vadim Fedorenko
2026-09-04 19:10 ` [PATCH net-next 3/4] netlink: specs: dpll: pin-get has no dump filter Jakub Kicinski
2026-09-06 11:44 ` Vadim Fedorenko [this message]
2026-09-04 19:10 ` [PATCH net-next 4/4] MAINTAINERS: dpll: add the netlink spec Jakub Kicinski
2026-09-06 11:45 ` Vadim Fedorenko
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=0503f189-d91c-4334-bcd6-0dea795db0e7@linux.dev \
--to=vadim.fedorenko@linux.dev \
--cc=andrew+netdev@lunn.ch \
--cc=arkadiusz.kubalewski@intel.com \
--cc=davem@davemloft.net \
--cc=donald.hunter@gmail.com \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=ivecera@redhat.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/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