Home
last modified time | relevance | path

Searched refs:BPF_FILE (Results 1 – 13 of 13) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dtest_xdp_meta.sh3 BPF_FILE="test_xdp_meta.bpf.o"
46 ip netns exec ${NS1} tc filter add dev veth1 ingress bpf da obj ${BPF_FILE} sec t
47 ip netns exec ${NS2} tc filter add dev veth2 ingress bpf da obj ${BPF_FILE} sec t
49 ip netns exec ${NS1} ip link set dev veth1 xdp obj ${BPF_FILE} sec x
50 ip netns exec ${NS2} ip link set dev veth2 xdp obj ${BPF_FILE} sec x
H A Dtest_xdp_vlan.sh203 export BPF_FILE=test_xdp_vlan.bpf.o
207 ip netns exec ${NS1} ip link set $DEVNS1 $XDP_MODE object $BPF_FILE section $XDP_PROG
215 prio 1 handle 1 bpf da obj $BPF_FILE sec tc_vlan_push
229 ip netns exec ${NS1} ip link set $DEVNS1 $XDP_MODE object $BPF_FILE section $XDP_PROG
H A Dtest_lwt_ip_encap.sh41 BPF_FILE="test_lwt_ip_encap.bpf.o"
377 ${BPF_FILE} sec encap_gre dev veth1 ${VRF}
379 ${BPF_FILE} sec encap_gre dev veth1 ${VRF}
382 ${BPF_FILE} sec encap_gre6 dev veth1 ${VRF}
384 ${BPF_FILE} sec encap_gre6 dev veth1 ${VRF}
435 ${BPF_FILE} sec encap_gre dev veth2 ${VRF}
437 ${BPF_FILE} sec encap_gre dev veth2 ${VRF}
440 ${BPF_FILE} sec encap_gre6 dev veth2 ${VRF}
442 ${BPF_FILE} sec encap_gre6 dev veth2 ${VRF}
H A Dtest_flow_dissector.sh6 BPF_FILE="bpf_flow.bpf.o"
27 $bpftool prog loadall $BPF_FILE /sys/fs/bpf/flow \
100 ./flow_dissector_load -p $BPF_FILE -s _dissect
H A Dtest_lwt_seg6local.sh26 BPF_FILE="test_lwt_seg6local.bpf.o"
121 ip netns exec ${NS2} ip -6 route add fb00::6 encap bpf in obj ${BPF_FILE} sec encap_srh dev veth2
125 ip netns exec ${NS3} ip -6 route add fd00::1 encap seg6local action End.BPF endpoint obj ${BPF_FILE
127 ip netns exec ${NS4} ip -6 route add fd00::2 encap seg6local action End.BPF endpoint obj ${BPF_FILE
132 ip netns exec ${NS5} ip -6 route add fd00::3 encap seg6local action End.BPF endpoint obj ${BPF_FILE
H A Dtest_tc_edt.sh8 BPF_FILE="test_tc_edt.bpf.o"
58 bpf da obj ${BPF_FILE} sec cls_test
H A Dtest_tc_tunnel.sh6 BPF_FILE="test_tc_tunnel.bpf.o"
213 bpf direct-action object-file ${BPF_FILE} \
314 bpf direct-action object-file ${BPF_FILE} section decap
H A Dtest_tunnel.sh48 BPF_FILE="test_tunnel_kern.bpf.o"
526 bpftool prog loadall ${BPF_FILE} ${BPF_PIN_TUNNEL_DIR}/
/linux/tools/testing/selftests/net/
H A Dudpgro_bench.sh10 BPF_FILE="xdp_dummy.bpf.o"
41 ip -n "${PEER_NS}" link set veth1 xdp object ${BPF_FILE} section xdp
86 if [ ! -f ${BPF_FILE} ]; then
87 echo "Missing ${BPF_FILE}. Run 'make' first"
H A Dveth.sh4 BPF_FILE="xdp_dummy.bpf.o"
220 if [ ! -f ${BPF_FILE} ]; then
221 echo "Missing ${BPF_FILE}. Run 'make' first"
251 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} section xdp
259 ip -n $NS_SRC link set dev veth$SRC xdp object ${BPF_FILE} section xdp
265 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} section xdp
274 ip -n $NS_SRC link set dev veth$SRC xdp object ${BPF_FILE} section xdp
321 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} \
328 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} \
344 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} section xdp 2>/dev/null
H A Dudpgro_frglist.sh10 BPF_FILE="xdp_dummy.bpf.o"
43 ip -n "${PEER_NS}" link set veth1 xdp object ${BPF_FILE} section xdp
87 if [ ! -f ${BPF_FILE} ]; then
88 echo "Missing ${BPF_FILE}. Run 'make' first"
H A Dudpgro_fwd.sh6 BPF_FILE="xdp_dummy.bpf.o"
56 ip -n $NS_DST link set veth$DST xdp object ${BPF_FILE} section xdp 2>/dev/null
/linux/samples/bpf/
H A Dxdp2skb_meta.sh16 BPF_FILE=xdp2skb_meta_kern.o
131 FILE="$DIR/$BPF_FILE"