commit | 2d0e30c30f84d08dc16f0f2af41f1b8a85f0755e | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Fri Oct 21 12:46:33 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 22 17:05:52 2016 -0400 |
tree | a58da7082e4dcfea4b7782e72aec65920cfd5905 | |
parent | a10b91b8b81c29b87ff5a6d58c1402898337b956 [diff] |
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>