xdp-tutorial icon indicating copy to clipboard operation
xdp-tutorial copied to clipboard

Dispatcher version issue

Open mahinash26 opened this issue 2 years ago • 1 comments

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.

mahinash26 avatar Jul 27 '23 09:07 mahinash26

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).

tohojo avatar Aug 07 '23 15:08 tohojo