DPDK usage discussions
 help / color / Atom feed
* [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, back to index

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

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://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/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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