Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_bpftool_metadata.sh12 BPF_DIR=$BPF_FS/test_$TESTNAME
17 rm -rf $BPF_DIR 2> /dev/null
57 mkdir $BPF_DIR
61 bpftool prog load $BPF_FILE_UNUSED $BPF_DIR/unused
71 rm $BPF_DIR/unused
73 bpftool prog load $BPF_FILE_USED $BPF_DIR/used
83 rm $BPF_DIR/used
H A Dtest_xdp_veth.sh24 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
[all …]
/openbmc/linux/tools/bpf/bpftool/
H A DMakefile16 BPF_DIR = $(srctree)/tools/lib/bpf macro
45 $(LIBBPF): $(wildcard $(BPF_DIR)/*.[ch] $(BPF_DIR)/Makefile) | $(LIBBPF_OUTPUT)
46 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) \
49 $(LIBBPF_INTERNAL_HDRS): $(LIBBPF_HDRS_DIR)/%.h: $(BPF_DIR)/%.h | $(LIBBPF_HDRS_DIR)
53 $(LIBBPF_BOOTSTRAP): $(wildcard $(BPF_DIR)/*.[ch] $(BPF_DIR)/Makefile) | $(LIBBPF_BOOTSTRAP_OUTPUT)
54 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_BOOTSTRAP_OUTPUT) \
58 $(LIBBPF_BOOTSTRAP_INTERNAL_HDRS): $(LIBBPF_BOOTSTRAP_HDRS_DIR)/%.h: $(BPF_DIR)/%.h | $(LIBBPF_BOOT…
64 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) clean >/dev/null
68 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_BOOTSTRAP_OUTPUT) clean >/dev/null