DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Cyrus Bugwadia <cyrus.bugwadia@gmail.com>
Cc: users@dpdk.org, s_rsharma@hotmail.com
Subject: Re: [dpdk-users] KNI issues
Date: Wed, 8 Jul 2020 15:21:17 -0700
Message-ID: <20200708152117.6bb96371@hermes.lan> (raw)
In-Reply-To: <320D2D8E-BD74-4947-A31C-B5A29BA59577@gmail.com>

On Tue, 7 Jul 2020 11:59:20 -0700
Cyrus Bugwadia <cyrus.bugwadia@gmail.com> wrote:

> Hi, 
> We have been trying to make a sample DPDK application work on RHEL 7.0 and keep getting these errors saying /dev/kni can't be loaded. There are no instructions on how to find or build this kernel model (rte_kni) and it doesn't appear to be installed or built by default.
> 
> Please suggest if we are missing some steps or from where to get this kernel module
> 
> Thanks,
> Cyrus

You need to have KNI module enabled in the config.
By default all kernel modules in DPDK are now disabled.

Set
CONFIG_RTE_KNI_KMOD=y

Then after build you will find kni module in the build result.
You will have to manually insmod it.

I assume you are using older release with make (not current releases with meson).

      reply	other threads:[~2020-07-08 22:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-07 18:59 Cyrus Bugwadia
2020-07-08 22:21 ` Stephen Hemminger [this message]

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=20200708152117.6bb96371@hermes.lan \
    --to=stephen@networkplumber.org \
    --cc=cyrus.bugwadia@gmail.com \
    --cc=s_rsharma@hotmail.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

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 \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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