kwjjyn
kwjjyn
Hi, I using p4c-xdp to compile xdp7.p4 to get .c and .h files. And if I just compile the xdp7.c using clang directly,there's an error that ``` invalid stack off=-600...
hi, Mihai Budiu I saw this PR fail. Does this update relate to the kernel version? And if I want to test whether the compiler support lpm when I define...
Thank you for your prompt reply. And I'll test it by pulling the PR.
Thank you for your prompt reply. After I add XDP_REDIRECT to the xdp_model.p4 , I can successfully compile the xdp program with XDP_REDIRECT . I guess the xout.output_port is related...
Thank you for your prompt reply. Yes, I can see the contents of ebpf_outTable generated by xdp5.p4 with command : ```bash bpftool map dump pinned /sys/fs/bpf/xdp/globals/ebpf_outTable ``` the output is...
Actually the ebpf_outTable only has one entry in the xdp.c file. And how to specify the max_entries of this map in P4 program? Do you know how to specify which...
Hi, Thanks a lot for your help. Do you have any simple ebpf program attched to TC which uses ebpf_outTable to send raw packets from one NIC to another ?
Yes, the hash_table(64) can appoint the dstmactable's max entries. Actually I want to specify the max entries of ebpf_outTable. However, it seems that there is no method to specify this...
Actually when I update libbpf.h , I found that I can't run `make` in the /tests , because the load_and_verify.c file relies on the ../lib/bpf_load.c which alse include the libbpf.h...
@tohojo Hi,the output of 'llvm-objdump -S xdp_pass_kern.o' is : ```bash xdp_pass_kern.o: file format ELF64-BPF Disassembly of section xdp: 0000000000000000 xdp_prog_simple: ; { 0: 7b 1a f8 ff 00 00 00...