From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0074.outbound.protection.outlook.com [65.55.169.74]) by dpdk.org (Postfix) with ESMTP id EC89C2C10 for ; Tue, 5 Apr 2016 21:11:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=studentuml.onmicrosoft.com; s=selector1-student-uml-edu; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=rM/7z/VPb8nqWUIHiM3+dkOrAROWEDrJ2TM8fTlt7cU=; b=E3BUIPqQ2Ozq4eY4r6S2IIYSay0S7yUUcEfcRF5c6tEMXgTSPzIig5cYimzZAuVShIMb5uaY7ufLAmRdwLcvlgBmQb3EPqQD8r52H2H3i5EMkS4Z4g9PJ9Qk3U3XvRZQM9ovilt82ex22lkYfY7an3Cv5RDkCTluJzAUzmLu1Nk= Received: from BLUPR02MB439.namprd02.prod.outlook.com (10.141.81.20) by BLUPR02MB438.namprd02.prod.outlook.com (10.141.81.18) with Microsoft SMTP Server (TLS) id 15.1.447.15; Tue, 5 Apr 2016 19:11:43 +0000 Received: from BLUPR02MB439.namprd02.prod.outlook.com ([10.141.81.20]) by BLUPR02MB439.namprd02.prod.outlook.com ([10.141.81.20]) with mapi id 15.01.0447.028; Tue, 5 Apr 2016 19:11:43 +0000 From: "Talukdar, Biju" To: "Singh, Jasvinder" , users Thread-Topic: Need help with dpdk ip pipelining Thread-Index: AQHRjsH2MAIYBEx11ke0Ul7sPovsl597CbOggACp6g8= Date: Tue, 5 Apr 2016 19:11:43 +0000 Message-ID: References: , <54CBAA185211B4429112C315DA58FF6DDEBFFC@IRSMSX103.ger.corp.intel.com> In-Reply-To: <54CBAA185211B4429112C315DA58FF6DDEBFFC@IRSMSX103.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=student.uml.edu; x-originating-ip: [132.245.17.53] x-ms-office365-filtering-correlation-id: e6264578-0968-4c29-c27d-08d35d862065 x-microsoft-exchange-diagnostics: 1; BLUPR02MB438; 5:VUk8C/WyfxeIEDxmgHLQjCdEJAvsLXEhNJnDy5K1fP/Nwaip8KcUWabJfs9Rxu9hcoydhwqd/sT6clqni07bN1ejsLD+Dp2P6sXUfBDxA0OwH7ELO96wYboIGd42eTeadP5/3dRfWM9G2ZJS2AbfwQ==; 24:yImCfyThOg4U0aZMnR8p350qMe6oDUpatju8HdawEJeJjO6vCDI0dBUd9rcS4ef27b0do1Clzxw2xrTeK1R/scMR9e+hzGz/8AS1BmykbeM= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR02MB438; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:BLUPR02MB438; BCL:0; PCL:0; RULEID:; SRVR:BLUPR02MB438; x-forefront-prvs: 0903DD1D85 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(53754006)(377454003)(13464003)(45984002)(5003600100002)(2950100001)(2900100001)(3846002)(6116002)(102836003)(76176999)(54356999)(33656002)(189998001)(75432002)(50986999)(586003)(122556002)(76576001)(89122001)(66066001)(10400500002)(5002640100001)(77096005)(86362001)(81166005)(19580405001)(2906002)(19580395003)(3280700002)(88552002)(3660700001)(3900700001)(554214002)(1096002)(106116001)(1220700001)(74316001)(107886002)(5004730100002)(92566002)(99286002)(5001770100001)(87936001)(11100500001)(5008740100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR02MB438; H:BLUPR02MB439.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: student.uml.edu X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Apr 2016 19:11:43.8975 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4c25b8a6-17f7-46f9-83f0-54734ab81fb1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR02MB438 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 19:11:45 -0000 Hi Jasvinder, Thank you very much for the quick reply. I have gone through load balancing= application. One question I have is, the application output is given to the NIC ports (= for e.g. NIC TX0, NIC TX1, NIC TX2 etc.). But my aim is to steer the outpu= t of the application to a VM. Could you please tell me how can I achieve th= is. Or as a matter of fact is there any generic way to hand the output of t= he application to any other usersapce process. Thanks a ton ________________________________________ From: Singh, Jasvinder Sent: Tuesday, April 5, 2016 5:04 AM To: Talukdar, Biju; users Subject: RE: Need help with dpdk ip pipelining 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 > > Hi all, > > > I have two questions. Could someone in the community please help. I reall= y > look forward to some guidance in these direction. > > > 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. > 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. > keep hacking > > Biju