xdp-project / xdp-tutorial

XDP tutorial
2.33k stars 562 forks source link

Dispatcher version issue #367

Open mahinash26 opened 11 months ago

mahinash26 commented 11 months ago

Hi I have been facing this issue.

sudo xdp-loader status lo
CURRENT XDP PROGRAM STATUS:
Interface        Prio  Program name      Mode     ID   Tag               Chain actions
--------------------------------------------------------------------------------------
libxdp: XDP dispatcher version 2 higher than supported 1
libxdp: Dispatcher version check failed for ID 64
Error getting XDP status for interface lo: Operation not supported

will be grateful if someone could help me with this.

tohojo commented 11 months ago

Hmm, my guess is that you have a distribution-provided version of xdp-tools installed, but that the xdp-tutorial is using a newer version of libxdp. The only way to resolve this is to consistently use the newer version, i.e., upgrade the system-installed xdp-tools (or alias the xdp-loader command to a newer locally-compiled version).