From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 5C36C2952 for ; Tue, 5 Apr 2016 11:04:34 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 05 Apr 2016 02:04:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,443,1455004800"; d="scan'208";a="948280983" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga002.jf.intel.com with ESMTP; 05 Apr 2016 02:04:33 -0700 Received: from irsmsx111.ger.corp.intel.com (10.108.20.4) by IRSMSX106.ger.corp.intel.com (163.33.3.31) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 5 Apr 2016 10:04:31 +0100 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.239]) by irsmsx111.ger.corp.intel.com ([169.254.2.127]) with mapi id 14.03.0248.002; Tue, 5 Apr 2016 10:04:31 +0100 From: "Singh, Jasvinder" To: "Talukdar, Biju" , users Thread-Topic: Need help with dpdk ip pipelining Thread-Index: AQHRjsH2MAIYBEx11ke0Ul7sPovsl597CbOg Date: Tue, 5 Apr 2016 09:04:30 +0000 Message-ID: <54CBAA185211B4429112C315DA58FF6DDEBFFC@IRSMSX103.ger.corp.intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjlhMWY1NTMtN2U1NC00NzhhLTljYjQtNmJlMWViZjJiNGIxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX1BVQkxJQyJ9XX1dfSwiU3ViamVjdExhYmVscyI6W10sIlRNQ1ZlcnNpb24iOiIxNS45LjYuNiIsIlRydXN0ZWRMYWJlbEhhc2giOiI5OW9FQ0NQNDliTFp2U3o0TWdYWkRUa0Y5NFwvRHBkZko1K3JZVnJiWnM2az0ifQ== x-ctpclassification: CTP_PUBLIC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] Need help with dpdk ip pipelining X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2016 09:04:35 -0000 HI Biju, > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Talukdar, Biju > Sent: Monday, April 4, 2016 11:33 PM > To: users > Cc: Talukdar, Biju > Subject: [dpdk-users] Need help with dpdk ip pipelining >=20 > Hi all, >=20 >=20 > I have two questions. Could someone in the community please help. I reall= y > look forward to some guidance in these direction. >=20 >=20 > First,I have a application which implements a measurement sketch. I w= ant > to accelerate it with using dpdk ip pipelining application. But as I read= through > the guide in dpdk.org, I realized that it has hard pipelines for say Rx-= > flow > classification - > ip routing -> traffic manager -> Tx. Could anyone plea= se > explain me how could I integrate my application in one of the pipeline. I= s it > even possible. Please help. What do you mean by hard pipelines? IP Pipeline application consists of re= usable modules (pipeline blocks) which implement data plane functionalities= such as flow classification, routing, firewall etc. These modules are imp= lemented using dpdk packet framework libraries (librte_port/table, librte_p= ipeline). In configuration file, depending upon the application, we specify= various parameters of the pipeline modules such as ports (in/out), tables,= core affinity, and their connectivity with each other as you can see . You= can pick any pipeline module if it exists to build your application or you= can implement any specific pipeline in a way existing pipeline modules hav= e been implemented. Please see sample configuration files such as l2fwd.cfg, l3fwd.cfg (dpdk/ex= amples/ip_pipeline/config) to get more idea on ip pipeline application. Som= e other configuration files illustrate the use of various pipeline modules = towards building edge router upstream /downstream packet processing workloa= d. =20 > Second, I want to use a dpdk application which can schedule packets t= o > different VMs depending upon the src ip (or some logic, which is > programmable).Is there any dpdk application available which I can use and > modify in some way to use for the purpose. I have used OVS-DPDK for this > purpose before. But here I am looking for a lightweight dpdk application= . > Another condition need to be made is once I schedule and direct a packet= to > a VM, it should be steered through usersapce only. Any pointers in this > direction will be very helpful. Please see load balancer sample application if it suits to your scenario.=20 > keep hacking >=20 > Biju