dpll: add client-side filtering
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dpll: fix pin id-get type filter parsingdpll/ | +1 | 0 replies | |
| 2/4 | dpll: add client-side filtering for device showbash-completion/ dpll/ man/ | +243 | 0 replies | |
| 3/4 | dpll: add client-side filtering for pin showbash-completion/ dpll/ man/ | +169 | 0 replies | |
| 4/4 | dpll: add pin filtering by parent-device and parent-pinbash-completion/ dpll/ man/ | +85 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH iproute2-next 0/4] dpll: add client-side filtering
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