public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Petr Oros <poros@redhat.com>
To: netdev@vger.kernel.org
Cc: dsahern@kernel.org, stephen@networkplumber.org,
	Petr Oros <poros@redhat.com>
Subject: [PATCH iproute2-next 0/4] dpll: add client-side filtering
Date: Tue, 24 Feb 2026 10:12:39 +0100	[thread overview]
Message-ID: <20260224091243.58501-1-poros@redhat.com> (raw)

This series fixes a parsing bug in dpll pin id-get and adds
client-side filtering support for dpll device show and pin show
commands.

Patch 1 fixes a bug where "dpll pin id-get type gnss" would read
the keyword "type" as the enum value instead of the actual type.

Patches 2-3 add client-side filtering for device show and pin show.
Users can filter output by various attributes (module-name, clock-id,
type, etc.) with AND semantics. Kernel-side dump filtering for dpll
is not yet available, so all filtering is done in userspace.

Patch 4 replaces the non-functional server-side "device" filter in
pin show (kernel ignores DPLL_A_ID in pin dump requests) with
client-side parent-device and parent-pin filtering that checks
nested multi-attrs. The argument is renamed from "device" to
"parent-device" to reflect the actual semantics.

Each patch includes corresponding man page and bash completion
updates.

Petr Oros (4):
  dpll: fix pin id-get type filter parsing
  dpll: add client-side filtering for device show
  dpll: add client-side filtering for pin show
  dpll: add pin filtering by parent-device and parent-pin

 bash-completion/dpll |  55 +++++-
 dpll/dpll.c          | 387 ++++++++++++++++++++++++++++++++++++++++---
 man/man8/dpll.8      |  80 ++++++++-
 3 files changed, 488 insertions(+), 34 deletions(-)

--
2.52.0


             reply	other threads:[~2026-02-24  9:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-24  9:12 Petr Oros [this message]
2026-02-24  9:12 ` [PATCH iproute2-next 1/4] dpll: fix pin id-get type filter parsing Petr Oros
2026-02-24  9:12 ` [PATCH iproute2-next 2/4] dpll: add client-side filtering for device show Petr Oros
2026-02-24  9:12 ` [PATCH iproute2-next 3/4] dpll: add client-side filtering for pin show Petr Oros
2026-02-24  9:12 ` [PATCH iproute2-next 4/4] dpll: add pin filtering by parent-device and parent-pin Petr Oros
2026-03-02 16:20 ` [PATCH iproute2-next 0/4] dpll: add client-side filtering patchwork-bot+netdevbpf

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=20260224091243.58501-1-poros@redhat.com \
    --to=poros@redhat.com \
    --cc=dsahern@kernel.org \
    --cc=netdev@vger.kernel.org \
    --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