Home
last modified time | relevance | path

Searched refs:BPF_DIR (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/bpf/
Dtest_bpftool_metadata.sh9 BPF_DIR=$BPF_FS/test_$TESTNAME
14 rm -rf $BPF_DIR 2> /dev/null
54 mkdir $BPF_DIR
58 bpftool prog load metadata_unused.o $BPF_DIR/unused
68 rm $BPF_DIR/unused
70 bpftool prog load metadata_used.o $BPF_DIR/used
80 rm $BPF_DIR/used
Dtest_xdp_veth.sh24 BPF_DIR=$BPF_FS/test_$TESTNAME
35 rm -rf $BPF_DIR 2> /dev/null
99 mkdir $BPF_DIR
101 xdp_redirect_map.o $BPF_DIR/progs type xdp \
102 pinmaps $BPF_DIR/maps
103 bpftool map update pinned $BPF_DIR/maps/tx_port key 0 0 0 0 value 122 0 0 0
104 bpftool map update pinned $BPF_DIR/maps/tx_port key 1 0 0 0 value 133 0 0 0
105 bpftool map update pinned $BPF_DIR/maps/tx_port key 2 0 0 0 value 111 0 0 0
106 ip link set dev veth1 xdp pinned $BPF_DIR/progs/redirect_map_0
107 ip link set dev veth2 xdp pinned $BPF_DIR/progs/redirect_map_1
[all …]
/tools/bpf/bpftool/
DMakefile16 BPF_DIR = $(srctree)/tools/lib/bpf/ macro
24 LIBBPF_PATH = $(BPF_DIR)
40 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) $(LIBBPF_OUTPUT)libbpf.a
43 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_BOOTSTRAP_OUTPUT) \
48 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) clean >/dev/null
52 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_BOOTSTRAP_OUTPUT) clean >/dev/null
/tools/perf/
DMakefile.perf244 BPF_DIR = $(srctree)/tools/lib/bpf/
308 BPF_PATH=$(BPF_DIR)
833 $(Q)$(MAKE) -C $(BPF_DIR) O=$(OUTPUT) $(OUTPUT)libbpf.a FEATURES_DUMP=$(FEATURE_DUMP_EXPORT)
837 $(Q)$(MAKE) -C $(BPF_DIR) O=$(OUTPUT) clean >/dev/null