Skip to content

BPF/XDP json follow-up

Daniel Borkmann netdev 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2json: move json printer to common libraryinclude/json_print.h ip/Makefile ip/ip_common.h +3 more+312 -2921 reply
2/2bpf: properly output json for xdpip/iplink_xdp.c lib/bpf.c+57 -360 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJulien Fortin
1/2A-b
2/2

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

Read the v1 thread

Cover letter [PATCH iproute2 master 0/2] BPF/XDP json follow-up

After merging net-next branch into master, Stephen asked to fix up json dump for XDP as there were some merge conflicts, so here it is.

Thanks!

Daniel Borkmann (2):
json: move json printer to common library
bpf: properly output json for xdp

 include/json_print.h |  71 ++++++++++++++++
 ip/Makefile          |   2 +-
 ip/ip_common.h       |  65 ++------------
 ip/ip_print.c        | 233 ---------------------------------------------------
 ip/iplink_xdp.c      |  74 +++++++++-------
 lib/Makefile         |   2 +-
 lib/bpf.c            |  19 +++--
 lib/json_print.c     | 231 ++++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 369 insertions(+), 328 deletions(-)
 create mode 100644 include/json_print.h
 delete mode 100644 ip/ip_print.c
 create mode 100644 lib/json_print.c
Signature · 1 line
1.9.3