[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1579775551-22659-1-git-send-email-rondi@mellanox.com>
Date: Thu, 23 Jan 2020 12:32:25 +0200
From: Ron Diskin <rondi@...lanox.com>
To: Stephen Hemminger <stephen@...workplumber.org>,
David Ahern <dsahern@...il.com>
Cc: Jiri Pirko <jiri@...lanox.com>, Moshe Shemesh <moshe@...lanox.com>,
netdev@...r.kernel.org, Ron Diskin <rondi@...lanox.com>
Subject: [PATCH iproute2 0/6] devlink: Replace devlink print helper functions with common library functions
This patchset converts devlink prints (json and non-json) to use the
same common json library as the rest of iproute2.
Patches 1-2 add necessary functionality to json_print library.
Patch 3 removes the direct calls to json_writer.
Patches 4-6 use the new functionality, replacing different pr_out_#type
wrapper.
Ron Diskin (6):
json_print: Introduce print_#type_name_value
json_print: Add new json object function not as array item
devlink: Replace json prints by common library functions
devlink: Replace pr_out_str wrapper function with common function
devlink: Replace pr_#type_value wrapper functions with common
functions
devlink: Replace pr_out_bool/uint() wrappers with common print
functions
devlink/devlink.c | 610 +++++++++++++++++++++----------------------
include/json_print.h | 9 +
lib/json_print.c | 43 ++-
3 files changed, 345 insertions(+), 317 deletions(-)
--
2.19.1
Powered by blists - more mailing lists