DPDK usage discussions
 help / color / mirror / Atom feed
From: Oleksandr Nahnybida <oleksandrn@interfacemasters.com>
To: David Aldrich <david.aldrich.ntml@gmail.com>
Cc: users <users@dpdk.org>
Subject: Re: Unable to build igb_uio
Date: Fri, 26 Jul 2024 19:21:12 +0300	[thread overview]
Message-ID: <CAAFk=6AfriTpgbT44NJmSHsa6_HWn8VJ8kL-=+pK0Etdtgb=zg@mail.gmail.com> (raw)
In-Reply-To: <CAJK_iehF7fm3bPZ_QqCbhtnWgsxbd3dzUSeUozCf5mGbQj-0iA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

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
>

[-- Attachment #2: Type: text/html, Size: 1967 bytes --]

  reply	other threads:[~2024-07-26 16:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-26 15:04 David Aldrich
2024-07-26 16:21 ` Oleksandr Nahnybida [this message]
2024-07-26 17:30 ` Stephen Hemminger
2024-07-29 11:02   ` David Aldrich
2024-07-29 11:27     ` Oleksandr Nahnybida
2024-07-29 13:06       ` David Aldrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAFk=6AfriTpgbT44NJmSHsa6_HWn8VJ8kL-=+pK0Etdtgb=zg@mail.gmail.com' \
    --to=oleksandrn@interfacemasters.com \
    --cc=david.aldrich.ntml@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).