From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0058.outbound.protection.outlook.com [65.55.169.58]) by dpdk.org (Postfix) with ESMTP id 623C8DE3 for ; Tue, 26 Apr 2016 17:20:52 +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=cPLXGscVgQhdNjpHCIVE8Ff7tnwUnq+By6/5MjY4iH4=; b=a3lPSpVDoJTHFx7eYzkobqXYt+CM+LwqqBOu4jwW3hbPLBvrx24Tx3knEdT/O8pJTq3i4T5lMUja8NqAvTYgiQyCp5KLbv/m8zkjbfN68toM6kn0Rhdd9guHVRSf+/MhhYkirXqXu8I3o/rM+Xchnr2PKfWOrgaQDN/upig3blY= Received: from CY1PR0201MB0827.namprd02.prod.outlook.com (10.160.141.28) by CY1PR0201MB0825.namprd02.prod.outlook.com (10.160.141.26) with Microsoft SMTP Server (TLS) id 15.1.466.19; Tue, 26 Apr 2016 15:20:50 +0000 Received: from CY1PR0201MB0827.namprd02.prod.outlook.com ([10.160.141.28]) by CY1PR0201MB0827.namprd02.prod.outlook.com ([10.160.141.28]) with mapi id 15.01.0466.025; Tue, 26 Apr 2016 15:20:50 +0000 From: "Wu, Xiaoban" To: "users@dpdk.org" Thread-Topic: Questions about IP-PIPELINE Thread-Index: AQHRn8nw8gyBmpAKUEWE4Z7HVbPgTA== Date: Tue, 26 Apr 2016 15:20:50 +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: [24.147.193.112] x-ms-office365-filtering-correlation-id: d494c784-0575-44a8-6118-08d36de659f4 x-microsoft-exchange-diagnostics: 1; CY1PR0201MB0825; 5:ryMYDQPmPa+R3xeftGuoPTue4HYQ09yPx1IS4MLoUtgqvL9yT/r5SgIgrhrm7rVLc2FCO7gsDOafneEGresoJk4YMPYLG1KJKa47xDvSmTovjzdn+tt/gAr2VUC6obYaQ/bsnkN4qv73T/zyZR8y1YAt+Be8ZnM+BeMSuVlRjfy/0QjN822QP7ZzGc3hcFBj; 24:eW3yseX96ueMVPOltqSJqpHtSYpa/knhtVLoCtrQllv3xOzYCNIWm1Gggh91O60FTwt4vJrxJRuvQd6rWNV0GtChLIKoqRwO9I/qML5O6SM=; 7:2tGW1Wd4wpYcy7vVJQtX1ELZybfwL0PfKhm1BOMmQPr9KRInrxERLlAzNH/6brDtRjUUX2F5bd5v1KmqCQTBa4JReuIvZpe4mMhTYS1ERCL7Mx4A18LeKBrFF8lzX8cp+0jDYpZuQLIVsKQUj/2Wpu0q/l9kDd/oylO8gb+B52oiXxFj0V6579meqbxrgssYbkRvPGaGtu54M4tGVfNgcBuQhfEfkgSDKbK3UrYg7aM= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0201MB0825; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(9101521072)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:CY1PR0201MB0825; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0201MB0825; x-forefront-prvs: 0924C6A0D5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(74316001)(11100500001)(9686002)(106116001)(5004730100002)(2501003)(2906002)(86362001)(99286002)(81166005)(3280700002)(92566002)(88552002)(5008740100001)(19627405001)(19625215002)(50986999)(76576001)(75432002)(5003600100002)(54356999)(229853001)(5640700001)(2351001)(33656002)(5002640100001)(110136002)(3660700001)(87936001)(77096005)(107886002)(6116002)(66066001)(3846002)(102836003)(586003)(122556002)(189998001)(2900100001)(1096002)(450100001)(1220700001)(1730700002)(19580395003)(10400500002)(89122001)(16236675004); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0201MB0825; H:CY1PR0201MB0827.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: 26 Apr 2016 15:20:50.5184 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4c25b8a6-17f7-46f9-83f0-54734ab81fb1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0201MB0825 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] Questions about IP-PIPELINE 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, 26 Apr 2016 15:20:52 -0000 Dear DPDK, I am a beginner of DPDK, recently I want to work on IP-PIPELINE. I am readi= ng the source codes by myself, but I think it could be more efficient if th= e following questions can be answered. Question 1: The ip_pipeline.cfg is parsed at runtime, what is the data type= or structure that stores these information? Question 2: Suppose the configuration file has been parsed and stored, wher= e and how these information will start to have effect, like in which functi= ons, could you please list some of these functions? Question 3: If multiple threads (cores) are running at the same time, can t= hese threads send or receive packets at the same time? If so, are the packe= ts stored separately in each own TX or RX queue, or merged into a single da= ta structure? Where are these data structures defined and used, can you ple= ase list some functions that explicitly involve these data structures? And = moreover, which functions are used to send or receive the packets? Some other unrelated questions, but they could help me see the picture Question 4: What is igb-uio driver? What is the purpose of binding the NIC = with igb-uio driver? Question 5: Does the "hugepage" uses physical memory or physical disk space= ? Question 6: In the codes, there are both physical address and virtual addre= ss in the struct rte_mbuf, struct rte_memzone, struct rte_memseg. If virtua= l address is the memory address like a pointer, what is physical address an= d what is the usefulness of physical address? Thanks so much for your reply and help. All the best, Xiaoban