DPDK usage discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: raman geetha gopalakrishnan <glowingsun@gmail.com>,
	dev@dpdk.org, users <users@dpdk.org>
Subject: Re: [dpdk-users] [dpdk-dev] Reg DPDK with unsupported NIC
Date: Wed, 15 Mar 2017 04:45:03 +0000	[thread overview]
Message-ID: <20170315044502.GA7360@bricha3-MOBL3.ger.corp.intel.com> (raw)
In-Reply-To: <8a209536-17fc-790c-527f-5354a185c2e6@intel.com>

On Tue, Mar 14, 2017 at 12:07:42PM +0000, Ferruh Yigit wrote:
> On 3/14/2017 9:28 AM, raman geetha gopalakrishnan wrote:
> > Hi ,
> > 
> > Please find my query, Currently i am planning to develop DPDK APP (linux
> > env). I do not have DPDK supported NIC. Till then i would still like to
> > develop DPDK APP and want DPDK  to use OS interface to TX/RX packets from
> > NIC. How can i make it? 
> 
> > I went through KNI and my understanding is you
> > cannot use it - is this correct?
> 
> You can use it. KNI does not require a physical device at all.
> 
> But with the KNI support in main tree, you need to use KNI specific
> APIs, - which KNI sample app shows.
> 
> With the KNI PMD in next-net tree, it is possible to use KNI as any
> other device.
>

Just my 2c. While you can indeed use KNI here, I think I would recommend
pcap or AF_PACKET as my first-choice options, with TAP also a
possibility too, as Keith has already suggested.

/Bruce

  reply	other threads:[~2017-03-15  4:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-14  9:28 [dpdk-users] " raman geetha gopalakrishnan
2017-03-14  9:46 ` [dpdk-users] [dpdk-dev] " Thomas Monjalon
2017-03-14 10:13   ` raman geetha gopalakrishnan
2017-03-14  9:52 ` Wiles, Keith
2017-03-14 10:13   ` raman geetha gopalakrishnan
2017-03-14 12:07 ` Ferruh Yigit
2017-03-15  4:45   ` Bruce Richardson [this message]
2017-03-15  5:24     ` Stephen Hemminger

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=20170315044502.GA7360@bricha3-MOBL3.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=glowingsun@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).