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 [thread overview]
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).
prev parent 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
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).