netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2-next v3 0/3] Add DPLL subsystem management tool
@ 2025-11-14 12:05 Petr Oros
  2025-11-14 12:05 ` [PATCH iproute2-next v3 1/3] lib: Move mnlg to lib for shared use Petr Oros
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Petr Oros @ 2025-11-14 12:05 UTC (permalink / raw)
  To: netdev; +Cc: dsahern, stephen, ivecera, jiri, Petr Oros

This series adds a new dpll tool for managing and monitoring DPLL devices
via the Linux kernel DPLL subsystem. The tool provides complete interface
for device and pin configuration, supporting complex topologies with
parent-device and parent-pin relationships.

Changes in v3:
- Use shared mnlg and str_to_bool helpers from lib
- Use str_num_map for bidirectional string/enum mapping
- Remove unnecessary else after return
- Remove misleading "legacy" comments
- Simplify DPLL_PR_MULTI_ENUM_STR macro
- Convert json_output to global json variable
- Use appropriate mnl helpers with proper type casting to respect signed integer data types
- Use DPLL_PR_INT_FMT for phase-adjust-gran to respect signed integer type
- Remove dpll_link from Makefile (mistake in v2)

Changes in v2:
- Added testing notes
- Added MAINTAINERS entry
- Removed unused -n parameter from man page

Petr Oros (3):
  lib: Move mnlg to lib for shared use
  lib: Add str_to_bool helper function
  dpll: Add dpll command

 MAINTAINERS                 |    5 +
 Makefile                    |    3 +-
 bash-completion/dpll        |  316 ++++++
 devlink/Makefile            |    2 +-
 devlink/devlink.c           |   22 +-
 dpll/.gitignore             |    1 +
 dpll/Makefile               |   38 +
 dpll/dpll.c                 | 2007 +++++++++++++++++++++++++++++++++++
 {devlink => include}/mnlg.h |    0
 include/utils.h             |    1 +
 lib/Makefile                |    2 +-
 {devlink => lib}/mnlg.c     |    0
 lib/utils.c                 |   17 +
 man/man8/dpll.8             |  428 ++++++++
 14 files changed, 2820 insertions(+), 22 deletions(-)
 create mode 100644 bash-completion/dpll
 create mode 100644 dpll/.gitignore
 create mode 100644 dpll/Makefile
 create mode 100644 dpll/dpll.c
 rename {devlink => include}/mnlg.h (100%)
 rename {devlink => lib}/mnlg.c (100%)
 create mode 100644 man/man8/dpll.8

-- 
2.51.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-11-14 16:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-14 12:05 [PATCH iproute2-next v3 0/3] Add DPLL subsystem management tool Petr Oros
2025-11-14 12:05 ` [PATCH iproute2-next v3 1/3] lib: Move mnlg to lib for shared use Petr Oros
2025-11-14 12:05 ` [PATCH iproute2-next v3 2/3] lib: Add str_to_bool helper function Petr Oros
2025-11-14 12:05 ` [PATCH iproute2-next v3 3/3] dpll: Add dpll command Petr Oros
2025-11-14 16:14   ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).