You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fix it just load "zero" xdp program in native(driver) mode on the opposite interface of veth pair.
Show all eUPF interfaces, get ids of the interfaces in host namespace
/ # ip l sh
...
316: eth0@if317: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 xdp qdisc noqueue state UP mode DEFAULT group default
link/ether 02:42:0a:64:c8:04 brd ff:ff:ff:ff:ff:ff link-netnsid 0
prog/xdp id 628 name upf_ip_entrypoi tag a77c715aaac4979b jited
318: eth1@if319: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 xdp qdisc noqueue state UP mode DEFAULT group default
link/ether 02:42:0a:64:fa:03 brd ff:ff:ff:ff:ff:ff link-netnsid 0
prog/xdp id 628 name upf_ip_entrypoi tag a77c715aaac4979b jited
Get interfaces in the host namespace by id
# ip l sh | grep 317
317: veth1f7ef0e@if316: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-free5gc state UP mode DEFAULT group default
# ip l sh | grep 319
319: veth0915238@if318: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-free5gc-n6 state UP mode DEFAULT group default
Attach simple xdp program to both interfaces
sudo ip link set dev veth1f7ef0e xdpdrv obj zero_entrypoint_bpf.o sec xdp/upf_zero_entrypoint
sudo ip link set dev veth0915238 xdpdrv obj zero_entrypoint_bpf.o sec xdp/upf_zero_entrypoint
The text was updated successfully, but these errors were encountered: