xdp-project / xdp-tools

Utilities and example programs for use with XDP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to use xdp-trafficgen

vahsek300501 opened this issue · comments

commented

I want to generate udp traffic using xdp-trafficgen. but when I run the following command it gives out the error

command: sudo ./xdp-trafficgen udp eno1

The error is as follows
image

I have installed libbpf as a submodule along with this repository

Yeah, unfortunately, xdp-trafficgen requires features from newer libbpf versions. You can force the configure script to use the submodule version of libbpf by running it as follows: FORCE_SUBDIR_LIBBPF=1 ./configure

commented

Yeah it worked. Thanks a lot