Hi William,

I have not tried running XDP on RHEL for a while. But for AF_XDP and OVS, we kept on using the latest XDP features, which might not all be present in the RHEL8 kernels. Also, note that AF_XDP is marked Technology Preview in the release notes.

Take a look at the specific xdpsock version included in the kernel source, and see what OVS does differently that would cause the failure.

//Eelco


On 7 May 2020, at 2:27, William Tu wrote:

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

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to