selftests/bpf: add wrapper scripts for test_xdp_vlan.sh
authorJesper Dangaard Brouer <brouer@redhat.com>
Thu, 1 Aug 2019 18:00:21 +0000 (20:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Aug 2019 18:17:40 +0000 (11:17 -0700)
commitd35661fcf95d8818c1f9acc818a1bad23dda4e1c
treeb8cc52e50fae22ddfe35f491f97a26874979337c
parent4de9c89a4982431c4a02739743fd360dc5581f22
selftests/bpf: add wrapper scripts for test_xdp_vlan.sh

In-order to test both native-XDP (xdpdrv) and generic-XDP (xdpgeneric)
create two wrapper test scripts, that start the test_xdp_vlan.sh script
with these modes.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/test_xdp_vlan.sh
tools/testing/selftests/bpf/test_xdp_vlan_mode_generic.sh [new file with mode: 0755]
tools/testing/selftests/bpf/test_xdp_vlan_mode_native.sh [new file with mode: 0755]