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
I am trying to compile and run xdp-trafficgen on a virtual machine on Azure. I am using a VM (Standard_D16ds_v4) with accelerated networking. When I compile the project I am getting the error below. I understand xdp_trafficgen requires support for XDP_REDIRECT. While the docs on Hyper-V driver state that XDP_REDIRECT action is not yet supported, the thread here suggests that this is now supported.
Is the error below due to XDP_REDIRECT not being supported?
If it is, is there support for it on Azure or another cloud provider perhaps?
If not, how can I go about the error below.
xdp-trafficgen
CLANG xdp_trafficgen.bpf.o
LLC xdp_trafficgen.bpf.o
GEN xdp_trafficgen.skel.h
libbpf: prog 'tp_xdp_redirect_err': bad map relo against 'redir_err_cnt' in section '.maps'
Error: failed to open BPF object file: Relocation failed
make[1]: *** [../lib/common.mk:124: xdp_trafficgen.skel.h] Error 91
make: *** [Makefile:40: xdp-trafficgen] Error 2
The text was updated successfully, but these errors were encountered:
I re-setup the VM and tried again and it worked this time around. I used an ansible play for the set up so they both should be identical. I don't know why I was getting the error previously.
Hi,
Firstly thank you for this project!
I am trying to compile and run xdp-trafficgen on a virtual machine on Azure. I am using a VM (Standard_D16ds_v4) with accelerated networking. When I compile the project I am getting the error below. I understand
xdp_trafficgen
requires support forXDP_REDIRECT
. While the docs on Hyper-V driver state that XDP_REDIRECT action is not yet supported, the thread here suggests that this is now supported.The text was updated successfully, but these errors were encountered: