DPDK usage discussions
 help / color / mirror / Atom feed
From: Vincent Li <vincent.mc.li@gmail.com>
To: David Aldrich <david.aldrich.ntml@gmail.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] How to install DPDK kernel module?
Date: Thu, 4 Jun 2020 08:17:56 -0700 (PDT)
Message-ID: <alpine.OSX.2.21.2006040812560.15000@sea-ml-00029224.olympus.f5net.com> (raw)
In-Reply-To: <CAJK_iej2rkcnVdmrqxR4=iFeJeH=agiWCTif0WRLio25W8eYpQ@mail.gmail.com>

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. 

  reply	other threads:[~2020-06-04 15:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-04 14:33 David Aldrich
2020-06-04 15:17 ` Vincent Li [this message]
2020-06-04 16:42   ` 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:

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

  git send-email \
    --in-reply-to=alpine.OSX.2.21.2006040812560.15000@sea-ml-00029224.olympus.f5net.com \
    --to=vincent.mc.li@gmail.com \
    --cc=david.aldrich.ntml@gmail.com \
    --cc=users@dpdk.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git