DPDK usage discussions
 help / color / mirror / Atom feed
From: devendra rawat <devendra.rawat.singh@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] running KNI application causing seg. fault
Date: Fri, 18 Nov 2016 18:18:29 +0530	[thread overview]
Message-ID: <CACsJYqqakhuEyA2NT3=D1MkFbZqvu9PQ2hZg61syj4ntKYkEfw@mail.gmail.com> (raw)

I have written a PMD for my non-pci based ethernet device. My device is
queue based (RX and TX queues).

testpmd application is running successfully and I am able to transmit and
receive traffic at line rate through my ethernet interface.
my testpmd execution command:

# ./_install/bin/testpmd -c ff -n 4 --vdev=uio_my_eth1

Now I need to export my device as a kernel network interface so that it
shows up using ifconfig command, I believe KNI driver and app can help
there.

I inserted rte_kni.ko module in my kernel and executed kni appliation

# ./app/kni --vdev=uio_my_eth1 --  -p 0x1 -P --config="(0,1,2)"

At this point kni app. is crashing with seg. fault.

Can I use KNI module and application for my non-pci based vdev or only DPDK
supported NICs will work with them ?

Do I need to build and load vhost kernel module too ?

                 reply	other threads:[~2016-11-18 12:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CACsJYqqakhuEyA2NT3=D1MkFbZqvu9PQ2hZg61syj4ntKYkEfw@mail.gmail.com' \
    --to=devendra.rawat.singh@gmail.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).