DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] How to install DPDK kernel module?
@ 2020-06-04 14:33 David Aldrich
  2020-06-04 15:17 ` Vincent Li
  0 siblings, 1 reply; 3+ messages in thread
From: David Aldrich @ 2020-06-04 14:33 UTC (permalink / raw)
  To: users

I have installed dpdk 18.08 on a Centos 7 machine, which has the kernel
source installed.

I built dpdk using:

$ make -j T=x86_64-native-linuxapp-gcc install
<snip>
Build complete [x86_64-native-linuxapp-gcc]
Installation cannot run with T defined and DESTDIR undefined

I want to interface dpdk to a HP NIC that uses the Intel X722 chipset. So I
then run:

$ /opt/dpdk/dpdk-18.08/usertools/dpdk-devbind.py -b igb_uio `lspci |
grep X722 | awk '{print $1}'`
Error - no supported modules(DPDK driver) are loaded

I think that this error means that the DPDK kernel module is not installed.

How can I fix this?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] How to install DPDK kernel module?
  2020-06-04 14:33 [dpdk-users] How to install DPDK kernel module? David Aldrich
@ 2020-06-04 15:17 ` Vincent Li
  2020-06-04 16:42   ` David Aldrich
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Li @ 2020-06-04 15:17 UTC (permalink / raw)
  To: David Aldrich; +Cc: users





On Thu, 4 Jun 2020, David Aldrich wrote:

> I have installed dpdk 18.08 on a Centos 7 machine, which has the kernel
> source installed.
> 
> I built dpdk using:
> 
> $ make -j T=x86_64-native-linuxapp-gcc install
> <snip>
> Build complete [x86_64-native-linuxapp-gcc]
> Installation cannot run with T defined and DESTDIR undefined
> 
> I want to interface dpdk to a HP NIC that uses the Intel X722 chipset. So I
> then run:
> 
> $ /opt/dpdk/dpdk-18.08/usertools/dpdk-devbind.py -b igb_uio `lspci |
> grep X722 | awk '{print $1}'`
> Error - no supported modules(DPDK driver) are loaded

probably igb_uio kernel module is not loaded, run lsmod to check if 
igb_uio is loaded

> 
> I think that this error means that the DPDK kernel module is not installed.
> 
> How can I fix this?
> 

I usually use dpdk-setup.sh script from the dpdk source to compile and 
load igb_uio, and bind the NIC to igb_uio. otherwise, you may need to 
setup proper environment varibles to find and load the igb_uio module 
properly, I think distribution like Centos or Ubuntu has the proper DPDK 
script to load and bind NIC to DPDK drivers. 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] How to install DPDK kernel module?
  2020-06-04 15:17 ` Vincent Li
@ 2020-06-04 16:42   ` David Aldrich
  0 siblings, 0 replies; 3+ messages in thread
From: David Aldrich @ 2020-06-04 16:42 UTC (permalink / raw)
  To: Vincent Li; +Cc: users

>
> On Thu, 4 Jun 2020, David Aldrich wrote:
>
> > I have installed dpdk 18.08 on a Centos 7 machine, which has the kernel
> > source installed.
> >
> > I built dpdk using:
> >
> > $ make -j T=x86_64-native-linuxapp-gcc install
> > <snip>
> > Build complete [x86_64-native-linuxapp-gcc]
> > Installation cannot run with T defined and DESTDIR undefined
> >
> > I want to interface dpdk to a HP NIC that uses the Intel X722 chipset.
> So I
> > then run:
> >
> > $ /opt/dpdk/dpdk-18.08/usertools/dpdk-devbind.py -b igb_uio `lspci |
> > grep X722 | awk '{print $1}'`
> > Error - no supported modules(DPDK driver) are loaded
>
> probably igb_uio kernel module is not loaded, run lsmod to check if
> igb_uio is loaded
>
> >
> > I think that this error means that the DPDK kernel module is not
> installed.
> >
> > How can I fix this?
> >
>
> I usually use dpdk-setup.sh script from the dpdk source to compile and
> load igb_uio, and bind the NIC to igb_uio. otherwise, you may need to
> setup proper environment varibles to find and load the igb_uio module
> properly, I think distribution like Centos or Ubuntu has the proper DPDK
> script to load and bind NIC to DPDK drivers.
>

Thanks for your answer. Identifying the igb_uio module as necessary really
helped me. Module is loaded now.

On Thu, Jun 4, 2020 at 4:17 PM Vincent Li <vincent.mc.li@gmail.com> wrote:

>
>
>
>
> On Thu, 4 Jun 2020, David Aldrich wrote:
>
> > I have installed dpdk 18.08 on a Centos 7 machine, which has the kernel
> > source installed.
> >
> > I built dpdk using:
> >
> > $ make -j T=x86_64-native-linuxapp-gcc install
> > <snip>
> > Build complete [x86_64-native-linuxapp-gcc]
> > Installation cannot run with T defined and DESTDIR undefined
> >
> > I want to interface dpdk to a HP NIC that uses the Intel X722 chipset.
> So I
> > then run:
> >
> > $ /opt/dpdk/dpdk-18.08/usertools/dpdk-devbind.py -b igb_uio `lspci |
> > grep X722 | awk '{print $1}'`
> > Error - no supported modules(DPDK driver) are loaded
>
> probably igb_uio kernel module is not loaded, run lsmod to check if
> igb_uio is loaded
>
> >
> > I think that this error means that the DPDK kernel module is not
> installed.
> >
> > How can I fix this?
> >
>
> I usually use dpdk-setup.sh script from the dpdk source to compile and
> load igb_uio, and bind the NIC to igb_uio. otherwise, you may need to
> setup proper environment varibles to find and load the igb_uio module
> properly, I think distribution like Centos or Ubuntu has the proper DPDK
> script to load and bind NIC to DPDK drivers.
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-04 16:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-04 14:33 [dpdk-users] How to install DPDK kernel module? David Aldrich
2020-06-04 15:17 ` Vincent Li
2020-06-04 16:42   ` 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).