[ovs-dev] netdev-afxdp on rhel8.0 rhel8.1 rhel8.2

William Tu u9012063 at gmail.com
Thu May 7 00:27:47 UTC 2020


Hi,

We're testing afxdp on rhel8.x. We simply try to run 'make
check-afxdp' and see if it works.
We are doing:
$ yum install libbpf-devel numactl-devel
$ cd ovs; ./boot.sh ; ./configure --enable-afxdp; make check-afxdp

On rhel8.2, the basic ping works.
However on rhel8.0 and 8.1, all test cases failed due to creating xsk
socket failed.
ovs-vswitchd.log shows:
2020-05-07T00:08:54.891Z|00052|netdev_afxdp|INFO|ovs-p0: Setting XDP
mode to best-effort.
2020-05-07T00:08:55.099Z|00053|netdev_afxdp|ERR|xsk_socket__create
failed (Operation not supported) mode: generic, use-need-wakeup:
false, qid: 0

Has anyone tried it before? Or any kernel difference?
rhel8.1: Linux rhel-8-1 4.18.0-147.5.1.el8_1.x86_64
rhel8.2: Linux instance-2 4.18.0-193.el8.x86_64

Thanks
William


More information about the dev mailing list