* [dpdk-users] KNI issues
@ 2020-07-07 18:59 Cyrus Bugwadia
2020-07-08 22:21 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Cyrus Bugwadia @ 2020-07-07 18:59 UTC (permalink / raw)
To: users; +Cc: s_rsharma
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-users] KNI issues
2020-07-07 18:59 [dpdk-users] KNI issues Cyrus Bugwadia
@ 2020-07-08 22:21 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2020-07-08 22:21 UTC (permalink / raw)
To: Cyrus Bugwadia; +Cc: users, s_rsharma
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).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-08 22:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 18:59 [dpdk-users] KNI issues Cyrus Bugwadia
2020-07-08 22:21 ` Stephen Hemminger
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).