Skip to content

add json support on tc u32

Wen Liang netdev 5 versions – Applied

Status from this message: This series was applied to iproute2/iproute2-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 2 repliesApplied
  2. v42 patches 3 repliesSuperseded
  3. v32 patches 11 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches2 repliesSuperseded
v12 patches5 repliesSuperseded

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/2tc: u32: add support for json outputtc/f_u32.c+46 -371 reply
2/2tc: u32: add json support in `print_raw`, `print_ipv4`, `print_ipv6`tc/f_u32.c+79 -421 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchVictor Nogueira
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH iproute2 v5 0/2] add json support on tc u32

This adds support for json output on tc u32.
- The first patch is replacing with proper json functions in u32_print_opt()
- The second patch is fixing the json support in u32 print_raw(), print_ipv4() and print_ipv6()

The patches were tested with jq parser.

Wen Liang (2):
tc: u32: add support for json output
tc: u32: add json support in print_raw, print_ipv4, print_ipv6

 tc/f_u32.c | 204 ++++++++++++++++++++++++++++++++---------------------
 1 file changed, 125 insertions(+), 79 deletions(-)
Signature · 1 line
2.26.3