-
Notifications
You must be signed in to change notification settings - Fork 148
Print map ID on successful creation #10176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Upstream branch: ab01bfa |
|
Upstream branch: ab01bfa |
31192b3 to
1c250b1
Compare
c942b08 to
792b8cb
Compare
|
Upstream branch: e6e10c5 |
1c250b1 to
da9473b
Compare
792b8cb to
19d946b
Compare
|
Upstream branch: 5dae745 |
da9473b to
43d8247
Compare
19d946b to
2ee124c
Compare
|
Upstream branch: 11369e6 |
It is useful to print map ID on successful creation.
JSON case:
$ ./bpftool -j map create /sys/fs/bpf/test_map4 type hash key 4 value 8 entries 128 name map4
{"id":12}
Generic case:
$ ./bpftool map create /sys/fs/bpf/test_map5 type hash key 4 value 8 entries 128 name map5
Map successfully created with ID: 15
Bpftool Issue: libbpf/bpftool#121
Acked-by: Yonghong Song <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: Harshit Mogalapalli <[email protected]>
Add selftest to check if Map ID is printed on successful creation in both plain text and json formats. Signed-off-by: Harshit Mogalapalli <[email protected]> Reviewed-by: Quentin Monnet <[email protected]>
43d8247 to
197a13c
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1018566 expired. Closing PR. |
Pull request for series with
subject: Print map ID on successful creation
version: 3
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1018566