Article 6DN6Y An error occurred while loading xdp files on xilinx development board

An error occurred while loading xdp files on xilinx development board

by
CocoQuestions
from LinuxQuestions.org on (#6DN6Y)
root@ControlBox:/usr/xxdp# uname -a
Linux ControlBox 5.10.0-xilinx-v2021.1 #1 SMP IRQPIPE Thu Jun 15 08:25:55 UTC 2023 aarch64 GNU/Linux

root@ControlBox:/usr/xxdp# ip -V
ip utility, iproute2-5.8.0

root@ControlBox:/sys/fs# ls -la
total 0
drwxr-xr-x 7 root root 0 Aug 8 04:19 .
dr-xr-xr-x 13 root root 0 Aug 8 06:23 ..
drwxr-xr-x 3 root root 0 Aug 8 05:21 btrfs
dr-xr-xr-x 2 root root 0 Aug 8 05:21 cgroup
drwxr-xr-x 2 root root 0 Aug 8 05:21 ecryptfs
drwxr-xr-x 4 root root 0 Aug 8 05:21 ext4
drwxr-xr-x 3 root root 0 Aug 8 05:21 nfs

when i use iproute2 loading xdp programmer:

error message:

root@ControlBox:/usr/xxdp# ip link set dev eth0 xdp obj xdp_test.o sec xdp verbose

mkdir /sys/fs/bpf failed: Operation not permitted
Continuing without mounted eBPF fs. Too old kernel?

Prog section 'xdp' rejected: Function not implemented (38)!
- Type: 6
- Instructions: 2 (0 over limit)
- License: GPL

Verifier analysis:

Error fetching program/map!
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments