* Unable to build igb_uio @ 2024-07-26 15:04 David Aldrich 2024-07-26 16:21 ` Oleksandr Nahnybida 2024-07-26 17:30 ` Stephen Hemminger 0 siblings, 2 replies; 6+ messages in thread From: David Aldrich @ 2024-07-26 15:04 UTC (permalink / raw) To: users 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to build igb_uio 2024-07-26 15:04 Unable to build igb_uio David Aldrich @ 2024-07-26 16:21 ` Oleksandr Nahnybida 2024-07-26 17:30 ` Stephen Hemminger 1 sibling, 0 replies; 6+ messages in thread From: Oleksandr Nahnybida @ 2024-07-26 16:21 UTC (permalink / raw) To: David Aldrich; +Cc: users [-- 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 --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to build igb_uio 2024-07-26 15:04 Unable to build igb_uio David Aldrich 2024-07-26 16:21 ` Oleksandr Nahnybida @ 2024-07-26 17:30 ` Stephen Hemminger 2024-07-29 11:02 ` David Aldrich 1 sibling, 1 reply; 6+ messages in thread From: Stephen Hemminger @ 2024-07-26 17:30 UTC (permalink / raw) To: David Aldrich; +Cc: users On Fri, 26 Jul 2024 16:04:07 +0100 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. Are you sure? igb_uio has been deprecated in favor of vfio_pci. Unless you are on a really old kernel, there is no longer a need for igb_uio. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to build igb_uio 2024-07-26 17:30 ` Stephen Hemminger @ 2024-07-29 11:02 ` David Aldrich 2024-07-29 11:27 ` Oleksandr Nahnybida 0 siblings, 1 reply; 6+ messages in thread From: David Aldrich @ 2024-07-29 11:02 UTC (permalink / raw) To: Stephen Hemminger; +Cc: users Hi Stephen and Oleksandr Thanks for your replies. I guess the documentation I'm looking at is out-of-date, but the Broadcom app note I'm looking at suggests testing with testpmd, but first binding with: usertools/dpdk-devbind.py -b igb_uio <PCI Device ID> Given igb_uio is deprecated, is this binding step still required and, if so, what parameters are now required? Best regards David On Fri, Jul 26, 2024 at 6:30 PM Stephen Hemminger <stephen@networkplumber.org> wrote: > > On Fri, 26 Jul 2024 16:04:07 +0100 > 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. > > Are you sure? igb_uio has been deprecated in favor of vfio_pci. > Unless you are on a really old kernel, there is no longer a need for igb_uio. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to build igb_uio 2024-07-29 11:02 ` David Aldrich @ 2024-07-29 11:27 ` Oleksandr Nahnybida 2024-07-29 13:06 ` David Aldrich 0 siblings, 1 reply; 6+ messages in thread From: Oleksandr Nahnybida @ 2024-07-29 11:27 UTC (permalink / raw) To: David Aldrich; +Cc: Stephen Hemminger, users [-- Attachment #1: Type: text/plain, Size: 1164 bytes --] Yes, it is required, replace igb_uio with vfio-pci, I'd recommend reading this doc https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html#linux-gsg-binding-kernel On Mon, Jul 29, 2024 at 2:02 PM David Aldrich <david.aldrich.ntml@gmail.com> wrote: > Hi Stephen and Oleksandr > > Thanks for your replies. > > I guess the documentation I'm looking at is out-of-date, but the > Broadcom app note I'm looking at suggests testing with testpmd, but > first binding with: > > usertools/dpdk-devbind.py -b igb_uio <PCI Device ID> > > Given igb_uio is deprecated, is this binding step still required and, > if so, what parameters are now required? > > Best regards > David > > On Fri, Jul 26, 2024 at 6:30 PM Stephen Hemminger > <stephen@networkplumber.org> wrote: > > > > On Fri, 26 Jul 2024 16:04:07 +0100 > > 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. > > > > Are you sure? igb_uio has been deprecated in favor of vfio_pci. > > Unless you are on a really old kernel, there is no longer a need for > igb_uio. > [-- Attachment #2: Type: text/html, Size: 1841 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to build igb_uio 2024-07-29 11:27 ` Oleksandr Nahnybida @ 2024-07-29 13:06 ` David Aldrich 0 siblings, 0 replies; 6+ messages in thread From: David Aldrich @ 2024-07-29 13:06 UTC (permalink / raw) To: Oleksandr Nahnybida; +Cc: Stephen Hemminger, users Thanks for your answer. Best regards David On Mon, Jul 29, 2024 at 12:27 PM Oleksandr Nahnybida <oleksandrn@interfacemasters.com> wrote: > > Yes, it is required, replace igb_uio with vfio-pci, > I'd recommend reading this doc https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html#linux-gsg-binding-kernel > > On Mon, Jul 29, 2024 at 2:02 PM David Aldrich <david.aldrich.ntml@gmail.com> wrote: >> >> Hi Stephen and Oleksandr >> >> Thanks for your replies. >> >> I guess the documentation I'm looking at is out-of-date, but the >> Broadcom app note I'm looking at suggests testing with testpmd, but >> first binding with: >> >> usertools/dpdk-devbind.py -b igb_uio <PCI Device ID> >> >> Given igb_uio is deprecated, is this binding step still required and, >> if so, what parameters are now required? >> >> Best regards >> David >> >> On Fri, Jul 26, 2024 at 6:30 PM Stephen Hemminger >> <stephen@networkplumber.org> wrote: >> > >> > On Fri, 26 Jul 2024 16:04:07 +0100 >> > 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. >> > >> > Are you sure? igb_uio has been deprecated in favor of vfio_pci. >> > Unless you are on a really old kernel, there is no longer a need for igb_uio. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-07-29 13:06 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-07-26 15:04 Unable to build igb_uio David Aldrich 2024-07-26 16:21 ` Oleksandr Nahnybida 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
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).