From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0088.outbound.protection.outlook.com [65.55.169.88]) by dpdk.org (Postfix) with ESMTP id 14F3F5683 for ; Wed, 4 May 2016 17:08:36 +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=8VRIup+R6b7tKuFB639scpOsgqyWbGiFZ6I+ckm1KS0=; b=rJ0vONp7rltahAhJvfaG+4PcIY2Ml166/hrRrqF/5NKXh2NiO/CPSR1l5+2SxnBkYf9T+cRPc9q+fYyb5QXZYM00cfXyWumxToYdn7CmOUR0hw6mHdqrky+rVPmQszca0UTKWxJe6oPIk1zKsnNJuRr/c29gN29onI1QtpaOVsQ= Received: from BLUPR02MB439.namprd02.prod.outlook.com (10.141.81.20) by BLUPR02MB439.namprd02.prod.outlook.com (10.141.81.20) with Microsoft SMTP Server (TLS) id 15.1.477.8; Wed, 4 May 2016 15:08:33 +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.0477.014; Wed, 4 May 2016 15:08:33 +0000 From: "Talukdar, Biju" To: users Thread-Topic: DPDK IP Pipeline query Thread-Index: AQHRphRxyMyDuRWjSkSEDgDEWfVqGw== Date: Wed, 4 May 2016 15:08:33 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=student.uml.edu; x-originating-ip: [129.63.205.73] x-ms-office365-filtering-correlation-id: fb5b7071-0059-444e-7ac4-08d3742df5fd x-microsoft-exchange-diagnostics: 1; BLUPR02MB439; 5:9lC3lGvYrhVE+qdzXvr2ZvuHEnyQmLgLYCs34/DSNF00huHEZKvxHcf1ItWKIOUkhRyg4VNplhAr0PgS4D9pvB396SKw2U11FxfobRTPg1mzEk2fRpaDMJJB0sUW8RxSLBMwEqyD/hPQmPwZiJJQaQ==; 24:57Iwx1HW+tLzLshCCOprigL66/SliX6R6dNKXRgP2uIG9dED4xCAhFpaOSt5Fz5z808JcOwQcPz2jLjn0/T3NFO9W6sbjFGhN3eJfZ5CV1I=; 7:0Hreg8IFPVcEfKvkPGLx0XvW0HMKJjYCYThYh9Z5eCZeb+c0EUK6nMAPVml4NfjqTJq5sT3WGFRhS76hn3gI6SX5hIJO+FXjy7SHBQ3rWkL6Vb4jcekNWxRZfLu8gH3SjeabcHqctG6jkYZNtc1U8HKSp0DdwSgiV/KrQUHmm3JbjymS9HZP4YaQvO/oQJBI x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR02MB439; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(9101521098)(9101528026)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:BLUPR02MB439; BCL:0; PCL:0; RULEID:; SRVR:BLUPR02MB439; x-forefront-prvs: 093290AD39 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(87936001)(74316001)(450100001)(2900100001)(5008740100001)(88552002)(66066001)(106116001)(1220700001)(8936002)(3846002)(89122001)(229853001)(81166005)(5002640100001)(99286002)(6116002)(19627405001)(102836003)(76576001)(2906002)(3280700002)(3480700004)(5004730100002)(11100500001)(16236675004)(122556002)(50986999)(19625215002)(86362001)(33656002)(92566002)(110136002)(3660700001)(10400500002)(107886002)(54356999)(9686002)(77096005)(586003)(5003600100002)(189998001)(75432002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR02MB439; H:BLUPR02MB439.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: student.uml.edu X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2016 15:08:33.5627 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4c25b8a6-17f7-46f9-83f0-54734ab81fb1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR02MB439 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] DPDK IP Pipeline query 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: Wed, 04 May 2016 15:08:36 -0000 Hi, I have one question regarding DPDK IP Pipeline. We are trying to use multip= le cores and multiple queues using PASS-THROUGH pipeline. We have one input= port RXQ0 and a output port TXQ0. Now we want to use several cores to proc= ess the incoming traffic. We want to instantiate several pipelines and pin= them to different cores. But we are not able to figure out how the configu= ration files should look like. Please see the following configuration file = we tried. It gave us error saying more than one writer . Then we thought we could use RX0.1 and TX0.1. We got the error saying LINK0= RXQs are not contiguous (B). Our goal is to use more cores for the incoming traffic from the same port. sample configuration file [PIPELINE0] type =3D MASTER core =3D 0 [PIPELINE1] type =3D PASS-THROUGH core =3D 1 pktq_in =3D RXQ0.0 pktq_out =3D SWQ0 SWQ1 dma_size =3D 16 dma_dst_offset =3D 128; mbuf (128) + 64 dma_src_offset =3D 278; mbuf (128) + headroom (128) + ethernet header (14) = + ttl offset within ip header (8) =3D 278 dma_src_mask =3D 00FF0000FFFFFFFFFFFFFFFFFFFFFFFF; ipv4 5-tuple dma_hash_offset =3D 144; dma_dst_offset + dma_size [PIPELINE2] type =3D PASS-THROUGH core =3D 2 pktq_in =3D SWQ0 pktq_out =3D TXQ0.0 dma_size =3D 16 dma_dst_offset =3D 128; mbuf (128) + 64 dma_src_offset =3D 278; mbuf (128) + headroom (128) + ethernet header (14) = + ttl offset within ip header (8) =3D 278 dma_src_mask =3D 00FF0000FFFFFFFFFFFFFFFFFFFFFFFF; ipv4 5-tuple dma_hash_offset =3D 144; dma_dst_offset + dma_size [PIPELINE3] type =3D PASS-THROUGH core =3D 3 pktq_in =3D SWQ1 pktq_out =3D TXQ0.0 dma_size =3D 16 dma_dst_offset =3D 128; mbuf (128) + 64 dma_src_offset =3D 278; mbuf (128) + headroom (128) + ethernet header (14) = + ttl offset within ip header (8) =3D 278 dma_src_mask =3D 00FF0000FFFFFFFFFFFFFFFFFFFFFFFF; ipv4 5-tuple dma_hash_offset =3D 144; dma_dst_offset + dma_size Thank you Biju