Hello David,

I  use Make, you can specify a path to the kernel you want to build for with  make KSRC=/path/to/custom/kernel/source if needed
In the 23.11 release linux/kni folders were removed because kni was deprecated.https://github.com/DPDK/dpdk/commit/a52d472c5c948d2af8da6ae97f1d5593bcafa002

Best Regards,
Oleksandr

On Fri, Jul 26, 2024 at 6:04 PM David Aldrich <david.aldrich.ntml@gmail.com> wrote:
Hi
I am using DPDK 23.11.1. I need to build and install linux kernel
module igb_uio.

There are instructions here:

https://doc.dpdk.org/dts/gsg/usr_guide/igb_uio.html

that instruct to clone the dpdk-kmods repo:

# git clone http://dpdk.org/git/dpdk-kmods

and they state the contents should be:

# cp -r ./dpdk-kmods/linux/igb_uio /root/dpdk/kernel/linux/
# ls ./dpdk/kernel/linux/
igb_uio  kni  meson.build

the instruction is then to modify:

meson.build

but I don't have meson.build. I see:

$ ls /opt/intel/dpdk-stable-23.11.1/kernel/linux/
compat.h  igb_uio.c  Kbuild  Makefile

which is quite different.

Are there more up-to-date instructions, or do I need to compile with
make directly rather than use meson?

Best regards
David