diff options
| author | Ilya Leoshkevich <iii@linux.ibm.com> | 2019-08-30 14:07:29 +0300 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-09-03 22:01:52 +0300 |
| commit | b9632679944307f3caab183fa69a4d79ffeb40ce (patch) | |
| tree | b77888de194fbd005964c463913ca970ac18bcc5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | 504792e07a44844f24e9d79913e4a2f8373cd332 (diff) | |
| download | linux-b9632679944307f3caab183fa69a4d79ffeb40ce.tar.xz | |
selftests/bpf: introduce bpf_cpu_to_be64 and bpf_be64_to_cpu
test_lwt_seg6local and test_seg6_loop use custom 64-bit endianness
conversion macros. Centralize their definitions in bpf_endian.h in order
to reduce code duplication. This will also be useful when bpf_endian.h
is promoted to an offical libbpf header.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions
