From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: Reg DPDK with unsupported NIC Date: Tue, 14 Mar 2017 22:24:02 -0700 Message-ID: <20170314222402.1648a719@xeon-e3> References: <8a209536-17fc-790c-527f-5354a185c2e6@intel.com> <20170315044502.GA7360@bricha3-MOBL3.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Ferruh Yigit , raman geetha gopalakrishnan , dev@dpdk.org, users To: Bruce Richardson Return-path: Received: from mail-pf0-f171.google.com (mail-pf0-f171.google.com [209.85.192.171]) by dpdk.org (Postfix) with ESMTP id 28C5B2C74 for ; Wed, 15 Mar 2017 06:24:11 +0100 (CET) Received: by mail-pf0-f171.google.com with SMTP id o126so3918593pfb.3 for ; Tue, 14 Mar 2017 22:24:11 -0700 (PDT) In-Reply-To: <20170315044502.GA7360@bricha3-MOBL3.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, 15 Mar 2017 04:45:03 +0000 Bruce Richardson wrote: > 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 Other than development environment, why would you want to use DPDK with AF_PACKET or TAP? It will be slower than kernel networking and with KNI doubly slow.