xdp-project / xdp-tutorial

XDP tutorial
2.44k stars 577 forks source link

is Kernel version 5.8 old ? #358

Open thanhlong9x opened 1 year ago

thanhlong9x commented 1 year ago

Hi, I'm learning xdp-project but when I build the example, I get this error. I use kernel version 5.8.0-63-generic, is this version not suitable for project?

image

image

image

tengliu0929 commented 1 year ago

I suppose you tried to make old version of xdp-tutorial based on new version of libbpf or libxdp, because new version of libbpf does not backward compatible with old version, so you should use new version of xdp-tutorial which base on new version libxdp and libbpf. So kernel 5.8 is not too old.