search for: bpf_rss

Displaying 2 results from an estimated 2 matches for "bpf_rss".

2018 Sep 13
4
bpf compilation using clang
Hi all, I am trying to insert instructions into the bpf using the bpf syscall, the instructions were generated using the following command line: clang -I ~/Builds/bpf_rss/iproute2/include -Wall -target bpf -O2 -emit-llvm -c upstream/qemu/hw/net/rss_tap_bpf_program.c -o - | llc -march=bpf -filetype=obj -o tap_bpf_program.o and then were translated to bpf instructions using the BPFCparser tool Every time I try to insert the array of instructions the verfier fails wi...
2018 Sep 25
2
bpf compilation using clang
...t I created for translating object files to instructions. It already uses the -S flag I couldn't find any other tool which does this! * I have reworked he source code a bit since my last email and now the error is: back-edge from insn 35 to 18 * The compilation command line: clang -I ~/Builds/bpf_rss/iproute2/include -Wall -Wno-unused-value -Wno-pointer-sign -Wno-compare-distinct-pointer-types -Wno-gnu-variable-sized-type-not-at-end -Wno-tautological-compare -Wno-unknown-warning-option -Wno-address-of-packed-member -target bpf -O2 -emit-llvm -c upstream/qemu/hw/net/rss_tap_bpf_program.c -o - |...