netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Add BPF numa id helper
@ 2016-10-20 22:30 Daniel Borkmann
  2016-10-20 22:30 ` [PATCH net-next 1/2] bpf: add helper for retrieving current numa node id Daniel Borkmann
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Borkmann @ 2016-10-20 22:30 UTC (permalink / raw)
  To: davem; +Cc: alexei.starovoitov, edumazet, netdev, Daniel Borkmann

This patch set adds a helper for retrieving current numa node
id and a test case for SO_REUSEPORT.

Thanks!

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/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 +++++++++++++++++++++++
 8 files changed, 286 insertions(+), 4 deletions(-)
 create mode 100644 tools/testing/selftests/net/reuseport_bpf_numa.c

-- 
1.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-22 20:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-20 22:30 [PATCH net-next 0/2] Add BPF numa id helper Daniel Borkmann
2016-10-20 22:30 ` [PATCH net-next 1/2] bpf: add helper for retrieving current numa node id Daniel Borkmann
2016-10-20 22:30 ` [PATCH net-next 2/2] reuseport, bpf: add test case for bpf_get_numa_node_id Daniel Borkmann
2016-10-22 20:52 ` [PATCH net-next 0/2] Add BPF numa id helper David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).