Skip to content
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

Error on start rss -i eth0 #4

Open
micron10 opened this issue Oct 4, 2019 · 2 comments
Open

Error on start rss -i eth0 #4

micron10 opened this issue Oct 4, 2019 · 2 comments

Comments

@micron10
Copy link

micron10 commented Oct 4, 2019

Hi
AFter make with latest libbpf and test i get this error:

libbpf: failed to create map (name: 'ctrl_map'): Invalid argument(-22)
libbpf: failed to load object 'rss_kern.o'
Err: Cannot load file

@davehouser1
Copy link

My issue is similar I see these errors:

libbpf: Error loading ELF section .BTF: -22. Ignored and continue.
libbpf: failed to create map (name: 'ctrl_map'): Operation not supported
libbpf: failed to load object 'rss_kern.o'
Err: Cannot load file

@honghaier250
Copy link

solve the issue by

xdp_flags = XDP_FLAGS_HW_MODE;   =>   xdp_flags = XDP_FLAGS_SKB_MODE; 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants