Add BPF numa id helper
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesIn review
- v12 patches 1 replySuperseded
Changes in v2 from the cover letter
- Missed __weak definition when bpf syscall is not enabled, sorry.
- Rest as is.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: add helper for retrieving current numa node idinclude/ include/ kernel/ +3 more | +24 | 1 reply | |
| 2/2 | reuseport, bpf: add test case for bpf_get_numa_node_idtools/ tools/ tools/ | +263 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Alexei Starovoitov | Eric Dumazet |
|---|---|---|
| 1/2 | A-b | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/2] Add BPF numa id helper
This patch set adds a helper for retrieving current numa node id and a test case for SO_REUSEPORT.
Thanks!
v1 -> v2:
- Missed __weak definition when bpf syscall is not enabled, sorry.
- Rest as is.
Daniel Borkmann (2):
bpf: add helper for retrieving current numa node id reuseport, bpf: add test case for bpf_get_numa_node_id
include/linux/bpf.h | 1 + include/uapi/linux/bpf.h | 6 + kernel/bpf/core.c | 1 + kernel/bpf/helpers.c | 12 ++ kernel/trace/bpf_trace.c | 2 + net/core/filter.c | 2 + tools/testing/selftests/net/.gitignore | 1 + tools/testing/selftests/net/Makefile | 11 +- tools/testing/selftests/net/reuseport_bpf_numa.c | 255 +++++++++++++++++++++++ 9 files changed, 287 insertions(+), 4 deletions(-) create mode 100644 tools/testing/selftests/net/reuseport_bpf_numa.c
Signature · 1 line
1.9.3