From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1DB2A456BD for ; Fri, 26 Jul 2024 18:21:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A54FA410F6; Fri, 26 Jul 2024 18:21:27 +0200 (CEST) Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by mails.dpdk.org (Postfix) with ESMTP id 848064064F for ; Fri, 26 Jul 2024 18:21:25 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-7a732cdd03fso1025493a12.0 for ; Fri, 26 Jul 2024 09:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interfacemasters.com; s=google; t=1722010884; x=1722615684; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tk14dV2s3mex7UBN+JwlDg5ijg+pmB6nvVw2/363J+Y=; b=H4vl1yhYutg0YHV3S2TjZXZ1MpvnYRFuCkZEuzm79lxREb19JDKlEFiMwpzNGLIYyW UjKJZBwU/nmwpOFjtjsMDanf/tYPgK7UXwFW+zRjoPOitHvOKfAsCzhQslKhz8UKYSNK F+KSoWA/2d9GKGXsdHukS3XDMW013Aul6oGn8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722010884; x=1722615684; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tk14dV2s3mex7UBN+JwlDg5ijg+pmB6nvVw2/363J+Y=; b=ZYIU7YgRU0TkG5jUMDoAtMrmf5ZxV4KNKjWoyZDaj4appMmXZ+IOYOFIE4L82VX0gB 3PufmdfxRIvvhpjzNJUxpnSHQFHnwM3idt+ohpHx5yOWjaUPLDYOoNh/wUpXsFteCTUh t5WpUmivr2TbFSqBRYWesPztjEZWvhNELWlEMnYi2/ylheMLjolAF2bspIG5on88HySy lDxMWdafiOawTt4osCd7JIpcgRoJ1+Ol128Fi5QrPYBYnybCNRO3dHLVivY5LMMyEqs/ U2MmSHq2HwwJ6y47/8cFpbD+m7ylsHT1Vey2vs0OZ2UmGJJQTTj1LLrvNLSFPOfW37GV viIQ== X-Gm-Message-State: AOJu0YyvwrkXV16w/n/S2FB7vjn73n3+KgFy9muwqbQF2yTuQe7p6MfU I0dTjJ+CilKABlfGiMv9fyenmUJx3b8ookp2O9NR0+xgjTadWJ1kclu8SAhjEUZ3iLzRpsHiVUZ 8Sp9gg+XHNpEoJlf41ZAUkKljPTZ2oJYUAL8j8w== X-Google-Smtp-Source: AGHT+IFbeWIBRxRQ0+BrAQVo+zJg0Wwza1wUGMJdVO1ki6gGQhE/7QnyCwiihW3D2mb5Zp3AXDjm55vW+a38X3l3hpQ= X-Received: by 2002:a05:6a21:460c:b0:1c0:e69f:f237 with SMTP id adf61e73a8af0-1c4a12b1ac6mr46409637.21.1722010884324; Fri, 26 Jul 2024 09:21:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Oleksandr Nahnybida Date: Fri, 26 Jul 2024 19:21:12 +0300 Message-ID: Subject: Re: Unable to build igb_uio To: David Aldrich Cc: users Content-Type: multipart/alternative; boundary="0000000000000f576f061e28e7b8" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --0000000000000f576f061e28e7b8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello David, I use Make, you can specify a path to the kernel you want to build for with make KSRC=3D/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/a52d472c5c948d2af8da6ae97f1d5593bcafa00= 2 Best Regards, Oleksandr On Fri, Jul 26, 2024 at 6:04=E2=80=AFPM David Aldrich 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 > --0000000000000f576f061e28e7b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello David,

I=C2=A0 use Make, you can = specify a path to the kernel you want to build for with=C2=A0 make KSRC=3D/= 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=E2=80=AFPM 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.ht= ml

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=C2=A0 kni=C2=A0 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=C2=A0 igb_uio.c=C2=A0 Kbuild=C2=A0 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
--0000000000000f576f061e28e7b8--