Open jackcily opened 2 years ago
Someone have fix the problem?
Hi, have you noticed the line CONFIG_NET_CLS_BPF=m
- support for BPF based classifiers is compiled as a module. You can use lsmod | grep 'bpf_cls'
to check if it is loaded. If not, use modprobe bpf_cls
to load it :)
Hi, you mean cls_bpf? I try but the error is always the same
Yes, that's the one I meant. For me, this fixed a similar issue. However, I am also using a slightly different version
$ uname -a
Linux ubunu2004 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:58:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
You can get the image here
Also, can you manually create a qdisc sudo tc qdisc add dev enp0s3 clsact
and attach a BPF program using the process described on the man-page?
I install your VM and install cls_bpf with command modprobe cls_bpf
But always the same error, i have no idea why dont works
I resolve it!
I need to execute manually sudo tc qdisc add dev enp0s3 clsact
Thanks a lot
7 hello, i have tried
lo
,eth0
,enp0s3
in my VMs' interface ,but it didn't work.my host env config:
and that's my interfaces in host and docker i used.
the command and error when i run ebpfkit as follows.
Any helpful suggestions? Thanks : )
And can you tell me,which kernel version and bpf compile you used ?