bpftool: support queue and stack
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 2 repliesApplied
- v16 patches 4 repliesSuperseded
Changes in v2 from the cover letter
* removed unneeded jsonw_null from patch #6
* improved bash completions (and moved them into separate patch #7)
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | bpftool: make key and value optional in update commandtools/ tools/ | +31 | 0 replies | |
| 2/7 | bpftool: make key optional in lookup commandtools/ tools/ | +5 | 0 replies | |
| 3/7 | bpftool: don't print empty key/value for mapstools/ | +28 | 0 replies | |
| 4/7 | bpftool: add peek commandtools/ tools/ | +7 | 0 replies | |
| 5/7 | bpftool: add push and enqueue commandstools/ tools/ | +14 | 0 replies | |
| 6/7 | bpftool: add pop and dequeue commandstools/ tools/ | +98 | 0 replies | |
| 7/7 | bpftool: add bash completion for peek/push/enqueue/pop/dequeuetools/ | +73 | 0 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jakub Kicinski |
|---|---|
| Series | R-b |
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next v2 0/7] bpftool: support queue and stack
This patch series add support for queue/stack manipulations.
It goes like this:
#1 and #2 add support for queue/stack in existing 'update' and 'lookup' commands by permitting empty keys.
#3 make sure we don't print empty keys for queue/stack.
#4 adds peek command, it's essentially an alias for 'lookup'. #5 adds push/enqueue commands, an alias to 'update'.
#6 adds pop/dequeue commands that use bpf_map_lookup_and_delete_elem. #7 adds bash completions
v2:
* removed unneeded jsonw_null from patch #6
* improved bash completions (and moved them into separate patch #7)
Stanislav Fomichev (7):
bpftool: make key and value optional in update command
bpftool: make key optional in lookup command
bpftool: don't print empty key/value for maps
bpftool: add peek command
bpftool: add push and enqueue commands
bpftool: add pop and dequeue commands
bpftool: add bash completion for peek/push/enqueue/pop/dequeue
.../bpf/bpftool/Documentation/bpftool-map.rst | 28 ++- tools/bpf/bpftool/bash-completion/bpftool | 91 +++++-- tools/bpf/bpftool/map.c | 225 ++++++++++++------ 3 files changed, 254 insertions(+), 90 deletions(-)
Signature · 1 line
2.20.1.97.g81188d93c3-goog