From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f174.google.com (mail-qc0-f174.google.com [209.85.216.174]) by dpdk.org (Postfix) with ESMTP id AF68458F7 for ; Wed, 14 Jan 2015 08:58:17 +0100 (CET) Received: by mail-qc0-f174.google.com with SMTP id c9so6114434qcz.5 for ; Tue, 13 Jan 2015 23:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DLKkry5VbJ79J/GwNCqXA+UlI7vFgKMjM5FX/Kc10eY=; b=RDYoQs3ieNPXA10fiSSX2ZjJuborCNEGxeRBSRi0wRg57U3sV6CGplW9O752HpkqE0 /6zftTF1brzHIExlkpbPFjMW9/xZfMI0v1rjc//Mc6G5QuhcqFUAG6ApXCSdUqhk+YeX QVG04pD5bhqorRD7GYG7l8WZmw6jv+5XDNM1jY0PYsIS4v7gmH2wOZ7gn2bHsicPpgu8 97pEO8LD1d1C9x5D48AtLmwZhRaHs9kw/U5+mbd1gRnvQQExNa/rO4dI+XLQvvLLxfgT 9rrKX1/K7YKelY807msZWW8XOmDshsjMQU+koQhgeIe4KGiqhv0Gd0Q84lFO8gUYOsM6 /+HA== MIME-Version: 1.0 X-Received: by 10.224.147.197 with SMTP id m5mr4370068qav.51.1421222297220; Tue, 13 Jan 2015 23:58:17 -0800 (PST) Received: by 10.140.91.132 with HTTP; Tue, 13 Jan 2015 23:58:17 -0800 (PST) In-Reply-To: References: Date: Wed, 14 Jan 2015 13:28:17 +0530 Message-ID: From: Deepak Sehrawat To: "Zhang, Helin" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Fast Path Query X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2015 07:58:18 -0000 Hi Helin, If we use exception_path or KNI, which extracts packet from Linux kernel (for DPDK application processing), will it still remain fast path? Will it not impact the performance; as Linux interrupt framework shall also come into picture here? On Wed, Jan 14, 2015 at 1:17 PM, Zhang, Helin wrote: > Hi Deepak > > If a NIC port is controlled by DPDK, all packets received by that port > will go directly to DPDK, and Linux kernel doesn't know those packets > anymore. > But, the packets received by DPDK can be put into kernel by two special > ways. They are exception_path and KNI. Please check the examples/ for more > details. > In the future, a port may be co-controlled by both Linux and DPDK. Part of > queues will be controlled by Linux kernel driver, part of queues will be > controlled by DPDK. Check the DPDK roadmap for more details. > > Regards, > Helin > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Deepak Sehrawat > > Sent: Wednesday, January 14, 2015 2:16 PM > > To: dev@dpdk.org > > Subject: [dpdk-dev] Fast Path Query > > > > Hi All, > > > > I have a use-case where my slow path application (control path) is to > run on > > Linux where as my data path is to run as DPDK application. Because both > > control and data packets are going to be received via same NIC card, how > will > > these two flows be separated and passed on to Linux control app and DPDK > > data path app respectively? In short I want to understand how NIC > received > > packets are separated between Linux Eth driver and PMD (poll mode > > driver) of DPDK? > > > > Thanks for the help in advance. > > > > Thanks, > > Deepak > -- ====================================== The Harder I work, The Luckier I Get ---------------------------------------------------------------------------- DEEPAK $EHRAWAT Senior Principal Engineer Hughes Systique Corporation, D-8, InfoCity Phase- II, Sector-33, Gurgaon-122001 Mobile No. 9818228349 deepak.sehrawat@hsc.com ======================================