]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: make TC vlan bpf_helpers avail to selftests
authorJesper Dangaard Brouer <brouer@redhat.com>
Tue, 9 Oct 2018 10:04:48 +0000 (12:04 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 10 Oct 2018 04:59:09 +0000 (21:59 -0700)
commit33d7e9d667ab1b30d14be92c079e4bbdff867b89
treec6b71dd7eebd104711863e9dd284a58c6d45089d
parentae104a23b3e9133fcf6bc2b00e1a0569e7c6622e
bpf: make TC vlan bpf_helpers avail to selftests

The helper bpf_skb_vlan_push is needed by next patch, and the helper
bpf_skb_vlan_pop is added for completeness, regarding VLAN helpers.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/bpf_helpers.h