summaryrefslogtreecommitdiff
path: root/irq.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-04irq: rename device_bind_irq_to_cpu to device_set_irq_affinityDaniel Borkmann1-1/+1
This is more appropriate and consistent with other device irq functions. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-03irq: break out from xutils and save + restoreDaniel Borkmann1-0/+10
Break out IRQ functionality from xutils, simplify it, and save + restore IRQ affinity list. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
value='2'>stat only
authorMickaël Salaün <mic@digikod.net>2017-02-10 00:21:40 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-10 15:56:07 -0500
commite5ff7c4019c6cb6e86bc9d6d16e8a8f921133c70 (patch)
treec3060074ae5ccfa0ddb873d09ab08e4992de855a /tools/testing/selftests
parent10ecc728fe12dbd206e2d4d8b6e96082632b969c (diff)
bpf: Use bpf_map_lookup_elem() from the library
Replace bpf_map_lookup() with bpf_map_lookup_elem() calls. Signed-off-by: Mickaël Salaün <mic@digikod.net> Cc: Alexei Starovoitov <ast@fb.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests')
-rw-r--r--tools/testing/selftests/bpf/bpf_sys.h11
-rw-r--r--tools/testing/selftests/bpf/test_lpm_map.c16
-rw-r--r--tools/testing/selftests/bpf/test_lru_map.c28
-rw-r--r--tools/testing/selftests/bpf/test_maps.c30
4 files changed, 37 insertions, 48 deletions
diff --git a/tools/testing/selftests/bpf/bpf_sys.h b/tools/testing/selftests/bpf/bpf_sys.h