-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could you please explain the purpose and usage of traffic-pacing-edt? #97
Comments
Can't help you with "various errors", you're going to have to be more specific :) As for the purpose of traffic-pacing-edt, ping @netoptimizer |
@tohojo Can you help me with this?
|
Garen Chan ***@***.***> writes:
bpftool doesn't support skeleton generation
You're getting an error from the xdp-tools configure script, here.
You'll need to install a newer version of bpftool :)
|
@tohojo OK. Thank you. |
Garen Chan ***@***.***> writes:
@tohojo I have solved the problem you mentioned, but now I have encountered the following issue.
```
***@***.***:/home/ck/bpf-examples# ./configure
clang: 11.1.0-++20211011094159+1fdec59bffc1-1~exp1~20211011214614.8
libmnl support: yes
libbpf support: submodule
ELF support: yes
zlib support: yes
libxdp support: submodule
Configuring libxdp to use our libbpf submodule
Found clang binary 'clang' with version 11 (from 'Ubuntu clang version 11.1.0-++20211011094159+1fdec59bffc1-1~exp1~20211011214614.8')
using /usr/local/bin/bpftool v5.9.0
libbpf support: custom v1.0.0
perf_buffer__consume support: yes
btf__load_from_kernel_by_id support: yes
btf__type_cnt support: yes
bpf_object__next_map support: yes
bpf_object__next_program support: yes
bpf_program__insn_cnt support: yes
bpf_map_create support: yes
perf_buffer__new_raw support: yes
bpf_xdp_attach support: yes
bpf_map__set_autocreate support: yes
bpf_prog_test_run_opts support: yes
zlib support: yes
ELF support: yes
pcap support: yes
secure_getenv support: yes
***@***.***:/home/ck/bpf-examples# make
lib
libxdp
CC install/lib/libxdp.a
llc: xdp-dispatcher.ll:15:54: error: expected ')' at end of argument list
define dso_local i32 @PROG0(%struct.xdp_md* readnone %0)
local_unnamed_addr #0 !dbg !51 {
Hmm, this usually happens when the LLC and clang versions are
incompatible. Try setting them explicitly before running configure with
something like:
export CLANG=clang-11 LLC=llc-11
|
@tohojo Thank you so much. |
Garen Chan ***@***.***> writes:
@tohojo Thank you so much.
You're welcome! :)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Additionally, I am having difficulty compiling these examples and encountering various errors.
The text was updated successfully, but these errors were encountered: