From: Daniel Borkmann <daniel@iogearbox.net>
To: davem@davemloft.net
Cc: alexei.starovoitov@gmail.com, edumazet@google.com,
netdev@vger.kernel.org, Daniel Borkmann <daniel@iogearbox.net>
Subject: [PATCH net-next v2 0/2] Add BPF numa id helper
Date: Fri, 21 Oct 2016 12:46:32 +0200 [thread overview]
Message-ID: <cover.1477043972.git.daniel@iogearbox.net> (raw)
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
--
1.9.3
next reply other threads:[~2016-10-21 10:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-21 10:46 Daniel Borkmann [this message]
2016-10-21 10:46 ` [PATCH net-next v2 1/2] bpf: add helper for retrieving current numa node id Daniel Borkmann
2016-10-21 11:29 ` Eric Dumazet
2016-10-21 10:46 ` [PATCH net-next v2 2/2] reuseport, bpf: add test case for bpf_get_numa_node_id Daniel Borkmann
2016-10-21 11:08 ` Jiri Pirko
2016-10-21 11:22 ` Daniel Borkmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1477043972.git.daniel@iogearbox.net \
--to=daniel@iogearbox.net \
--cc=alexei.starovoitov@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.