DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] running KNI application causing seg. fault
@ 2016-11-18 12:48 devendra rawat
  0 siblings, 0 replies; only message in thread
From: devendra rawat @ 2016-11-18 12:48 UTC (permalink / raw)
  To: users

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 ?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-18 12:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-18 12:48 [dpdk-users] running KNI application causing seg. fault devendra rawat

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).