[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200904161313.29535-1-quentin@isovalent.com>
Date: Fri, 4 Sep 2020 17:13:11 +0100
From: Quentin Monnet <quentin@...valent.com>
To: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org,
Martynas Pumputis <m@...bda.lt>,
Quentin Monnet <quentin@...valent.com>
Subject: [PATCH bpf-next 0/2] tools: bpftool: support creating and dumping outer maps
This series makes bpftool able to create and dump the content for outer
maps (maps of types array-of-maps and hash-of-maps). The modifications are
rather succinct: dumping works if we remove the related restriction in
bpftool's code, and creation is just a matter of passing the relevant
inner_map_fd, which we do through a new command-line keyword.
Quentin Monnet (2):
tools: bpftool: dump outer maps content
tools: bpftool: add "inner_map" to "bpftool map create" outer maps
.../bpf/bpftool/Documentation/bpftool-map.rst | 10 +++-
tools/bpf/bpftool/bash-completion/bpftool | 22 +++++++-
tools/bpf/bpftool/map.c | 52 ++++++++++++-------
3 files changed, 62 insertions(+), 22 deletions(-)
--
2.25.1
Powered by blists - more mailing lists