From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wipro-blr-out02.wipro.com (wipro-blr-out02.wipro.com [203.91.198.75]) by dpdk.org (Postfix) with ESMTP id F1BFF5690; Sat, 14 Mar 2015 08:55:09 +0100 (CET) X-AuditID: cb5bdd58-f79ed6d0000022db-14-5503e95ab227 X-Invalid-Recipients: Received: from DLP-BLR-EMPR2 ( [203.91.193.76]) by wipro-blr-out02.wipro.com (Symantec Mail Security) with SMTP id AB.85.08923.A59E3055; Sat, 14 Mar 2015 13:25:07 +0530 (IST) Received: from BLR-EC-MBX8.wipro.com (10.208.51.118) by BLR-OUT-EDG03.wipro.com (203.91.193.33) with Microsoft SMTP Server (TLS) id 14.3.210.2; Sat, 14 Mar 2015 13:22:12 +0530 Received: from wipro-blr-tls01.wipro.com (203.91.193.39) by BLR-EC-MBX8.wipro.com (10.208.51.118) with Microsoft SMTP Server (TLS) id 14.3.210.2; Sat, 14 Mar 2015 13:22:14 +0530 Received: from APAC01-HK1-obe.outbound.protection.outlook.com (207.46.51.123) by wipro-blr-tls01.wipro.com (203.91.193.39) with Microsoft SMTP Server (TLS) id 14.3.210.2; Sat, 14 Mar 2015 13:22:12 +0530 Received: from SIXPR03MB0605.apcprd03.prod.outlook.com (25.160.174.147) by SIXPR03MB0606.apcprd03.prod.outlook.com (25.160.174.148) with Microsoft SMTP Server (TLS) id 15.1.99.14; Sat, 14 Mar 2015 07:52:11 +0000 Received: from SIXPR03MB0605.apcprd03.prod.outlook.com ([25.160.174.147]) by SIXPR03MB0605.apcprd03.prod.outlook.com ([25.160.174.147]) with mapi id 15.01.0099.004; Sat, 14 Mar 2015 07:52:11 +0000 From: To: Thread-Topic: [dpdk-dev] PMD architecture related to code Thread-Index: AQHQXZ1A3KuuJRmdiEi3KOijjvGEDZ0bm1NA Date: Sat, 14 Mar 2015 07:52:09 +0000 Message-ID: References: <20150313145149.GB11352@bricha3-MOBL3> In-Reply-To: <20150313145149.GB11352@bricha3-MOBL3> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [103.16.70.14] authentication-results: intel.com; dkim=none (message not signed) header.d=none; x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SIXPR03MB0606; x-microsoft-antispam-prvs: x-forefront-antispam-report: BMV:0; SFV:NSPM; SFS:(10009020)(6009001)(24454002)(51704005)(377454003)(92566002)(2900100001)(54356999)(76176999)(2950100001)(50986999)(76576001)(110136001)(5890100001)(102836002)(2656002)(15974865002)(86362001)(122556002)(46102003)(19580405001)(33656002)(87936001)(106116001)(19580395003)(66066001)(77156002)(62966003)(40100003)(74316001); DIR:OUT; SFP:1101; SCL:1; SRVR:SIXPR03MB0606; H:SIXPR03MB0605.apcprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(5001010); SRVR:SIXPR03MB0606; BCL:0; PCL:0; RULEID:; SRVR:SIXPR03MB0606; x-forefront-prvs: 0515208626 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2015 07:52:09.1455 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 258ac4e4-146a-411e-9dc8-79a9e12fd6da X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR03MB0606 X-OrganizationHeadersPreserved: SIXPR03MB0606.apcprd03.prod.outlook.com X-CrossPremisesHeadersPromoted: BLR-HES-EDG02.wipro.com X-CrossPremisesHeadersFiltered: BLR-HES-EDG02.wipro.com X-CFilter-Loop: Reflected Cc: dev@dpdk.org, dev-bounces@dpdk.org Subject: Re: [dpdk-dev] PMD architecture related to code 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: Sat, 14 Mar 2015 07:55:11 -0000 Thank for replay Bruce , I am looking code related to NIC to DMA mapping and DMA to user space . Suggestions are welcome . Regards, Kuldeep -----Original Message----- From: Bruce Richardson [mailto:bruce.richardson@intel.com] Sent: Friday, March 13, 2015 8:22 PM To: Kuldeep Samasi (WT01 - Global Media & Telecom) Cc: dev@dpdk.org; dev-bounces@dpdk.org Subject: Re: [dpdk-dev] PMD architecture related to code On Fri, Mar 13, 2015 at 04:45:47AM +0000, kuldeep.samasi@wipro.com wrote: > Hi Developer Team , > > > I am trying add new functionality on Poll Mode driver . > But I don't have idea how packets are coming to kernel mode and going to = user space and doing packet processing DPDK . The packets never go into the kernel when DPDK is in use. Instead the DPDK = PMD configures the NIC to DMA the packets directly into userspace buffers. = Hence the high performance. /Bruce > > I need suggestion on which file the PMD architecture defined . > > > > Regards , > Kuldeep > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of the > addressee(s) and may contain proprietary, confidential or privileged > information. If you are not the intended recipient, you should not > disseminate, distribute or copy this e-mail. Please notify the sender > immediately and destroy all copies of this message and any > attachments. WARNING: Computer viruses can be transmitted via email. > The recipient should check this email and any attachments for the > presence of viruses. The company accepts no liability for any damage > caused by any virus transmitted by this email. www.wipro.com The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and ma= y contain proprietary, confidential or privileged information. If you are n= ot the intended recipient, you should not disseminate, distribute or copy t= his e-mail. Please notify the sender immediately and destroy all copies of = this message and any attachments. WARNING: Computer viruses can be transmit= ted via email. The recipient should check this email and any attachments fo= r the presence of viruses. The company accepts no liability for any damage = caused by any virus transmitted by this email. www.wipro.com