aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/reuseport_bpf_numa.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-10-21 12:46:33 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-22 17:05:52 -0400
commit2d0e30c30f84d08dc16f0f2af41f1b8a85f0755e (patch)
treea58da7082e4dcfea4b7782e72aec65920cfd5905 /tools/testing/selftests/net/reuseport_bpf_numa.c
parentMerge branch 'udpmem' (diff)
downloadlinux-dev-2d0e30c30f84d08dc16f0f2af41f1b8a85f0755e.tar.xz
linux-dev-2d0e30c30f84d08dc16f0f2af41f1b8a85f0755e.zip
bpf: add helper for retrieving current numa node id
Use case is mainly for soreuseport to select sockets for the local numa node, but since generic, lets also add this for other networking and tracing program types. Suggested-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/reuseport_bpf_numa.c')
0 files changed, 0 insertions, 0 deletions