Open kouamdo opened 6 months ago
Hi @kouamdo
In order to verify XDP program has been installed use bpftool
. Seems like ip link
don't show xdp program if it's not installed by ip link
itself.
If you attached xdp program in native mode to veth interface you also have to load xdp program(any) to the opposite side of veth pair in order to get xdp up and running. See #116 for details
But where is the bpftool bin file? Also , i have see the object file to attach with the interface but i have getting some errors
If you are on Ubuntu and you use the generic kernel, you may install bpftool by installing the package linux-tools-generic and linux-tools-common. @kouamdo
But where is the bpftool bin file? Also , i have see the object file to attach with the interface but i have getting some errors
You have to install it manually if there is no bpftool already intalled on host.
Sometimes it's easier to build bpftool from source. See https://github.com/libbpf/bpftool?tab=readme-ov-file#build
Here , i have attached program in driver, hoping that i'm rigth :
Well , so i have seen that when xdp was attached , there is downlink session.
but nothing is okay because the UE doesn't receive packet back to him :
there is inside the nat :
Well , so i have seen that when xdp was attached , there is downlink session.
but nothing is okay because the UE doesn't receive packet back to him :
there is inside the nat :
so , i don't know why the UE doesn't receive data Also sometimes , the xdp program detaches itself from the interfaces
@kouamdo Could you please re-upload images from your last comment. Can't see them...
Like i have said , the xdp program is dettached to the driver sometimes and I don't know why. Also there is no Downlink from upf to gnodeB( looks like the packet was droped)
About the image , it is the same like the image inside the last comment.
the UE doesn't received data :
also the XDP program leave the attachement sometimes. About the NAT , i think it is okay 👍
the UPF doesn't transmit the data in sthe N3 interface
and i'm using this version of kernel
5.16.0-051600-generic
why i don't have XDP programattached to interface inside ? Or let me know if i should know something
Originally posted by @kouamdo in https://github.com/edgecomllc/eupf/issues/499#issuecomment-1872495263