Lines Matching refs:BPF_DIR
24 BPF_DIR=$BPF_FS/test_$TESTNAME
38 rm -rf $BPF_DIR 2> /dev/null
102 mkdir $BPF_DIR
104 xdp_redirect_map.bpf.o $BPF_DIR/progs type xdp \
105 pinmaps $BPF_DIR/maps
106 bpftool map update pinned $BPF_DIR/maps/tx_port key 0 0 0 0 value 122 0 0 0
107 bpftool map update pinned $BPF_DIR/maps/tx_port key 1 0 0 0 value 133 0 0 0
108 bpftool map update pinned $BPF_DIR/maps/tx_port key 2 0 0 0 value 111 0 0 0
109 ip link set dev veth1 xdp pinned $BPF_DIR/progs/xdp_redirect_map_0
110 ip link set dev veth2 xdp pinned $BPF_DIR/progs/xdp_redirect_map_1
111 ip link set dev veth3 xdp pinned $BPF_DIR/progs/xdp_redirect_map_2