From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 8ED822C35; Wed, 15 Mar 2017 05:45:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1489553108; x=1521089108; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=lTAOwuhEBgcBecAA7kbEfs/MidppPVLXd4ZxnK5wS4E=; b=nYPQqng6z8Kuk2DGEiqR7PiF2St15gazcStxVj0c1RgSR36ojcg5P/hz Xdlkrycoi/WKLKXE6HVWhzZv8dNILA==; Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2017 21:45:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,167,1486454400"; d="scan'208";a="76947016" Received: from bricha3-mobl3.ger.corp.intel.com ([10.239.204.188]) by fmsmga006.fm.intel.com with SMTP; 14 Mar 2017 21:45:04 -0700 Received: by (sSMTP sendmail emulation); Wed, 15 Mar 2017 04:45:03 +0000 Date: Wed, 15 Mar 2017 04:45:03 +0000 From: Bruce Richardson To: Ferruh Yigit Cc: raman geetha gopalakrishnan , dev@dpdk.org, users Message-ID: <20170315044502.GA7360@bricha3-MOBL3.ger.corp.intel.com> References: <8a209536-17fc-790c-527f-5354a185c2e6@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8a209536-17fc-790c-527f-5354a185c2e6@intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.8.0 (2017-02-23) Subject: Re: [dpdk-dev] Reg DPDK with unsupported NIC X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2017 04:45:08 -0000 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