diff options
| author | Willem de Bruijn <willemb@google.com> | 2019-03-22 14:32:58 -0400 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2019-03-22 13:52:45 -0700 |
| commit | 005edd16562b78f416e2f576a64789c90d96882f (patch) | |
| tree | ae38689ac20f4f963741428327536efc34fa8393 /tools/perf/scripts/python | |
| parent | bpf: Sync bpf.h to tools (diff) | |
| download | linux-005edd16562b78f416e2f576a64789c90d96882f.tar.gz linux-005edd16562b78f416e2f576a64789c90d96882f.zip | |
selftests/bpf: convert bpf tunnel test to BPF_ADJ_ROOM_MAC
Avoid moving the network layer header when prefixing tunnel headers.
This avoids an explicit call to bpf_skb_store_bytes and an implicit
move of the network header bytes in bpf_skb_adjust_room.
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
