From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from BAY004-OMC4S20.hotmail.com (bay004-omc4s20.hotmail.com [65.54.190.222]) by dpdk.org (Postfix) with ESMTP id E6CEB2B9B for ; Fri, 20 Jan 2017 18:12:40 +0100 (CET) Received: from NAM02-CY1-obe.outbound.protection.outlook.com ([65.54.190.199]) by BAY004-OMC4S20.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Fri, 20 Jan 2017 09:12:40 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=98uSpsq4nY+5muLvJStykbmNBvwBcmpzEKnrFFOnsGY=; b=ugW4L0jxjKjEuPMbVmwMfD10reKJDGmsSFMsX8yrfa8o9KgaSQd2C5eu3l+Cm9TpAV5Z1eBRCYzPv+kQc2GhC/UG4S0SUEcVW99bXnDb6mPDNGP3qkTrQiohkaOBptJbiPOVHUr9f9lhIRVuuQbHc84Z79FyqmHbLUnacY0/SnGJWqg/09h7wLi98pU/d2f56Kp4hQtZ0xvOLZ0ef3BRhpVK3CGw3G0LpNBM8aMzI5BmqV1yr7iyMZRYFED3/WBRQ0MP3s0PHxNSj3jWPk2W8N2xy+qd8ElynZoG+oRGTQT5fz86+Pd56MS8xL2+BdZquW3k02tCP1wxf9Ghwjg8Bg== Received: from BL2NAM02FT022.eop-nam02.prod.protection.outlook.com (10.152.76.54) by BL2NAM02HT146.eop-nam02.prod.protection.outlook.com (10.152.76.233) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8; Fri, 20 Jan 2017 17:11:51 +0000 Received: from MWHPR01MB2429.prod.exchangelabs.com (10.152.76.51) by BL2NAM02FT022.mail.protection.outlook.com (10.152.77.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Fri, 20 Jan 2017 17:11:51 +0000 Received: from MWHPR01MB2429.prod.exchangelabs.com ([10.168.202.139]) by MWHPR01MB2429.prod.exchangelabs.com ([10.168.202.139]) with mapi id 15.01.0860.012; Fri, 20 Jan 2017 17:11:51 +0000 From: Sridhar Pitchai To: "dev@dpdk.org" Thread-Topic: RX/TX call back Thread-Index: AQHScz6+UOyGmFq5a0eW2/uETW/TzA== Date: Fri, 20 Jan 2017 17:11:51 +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=outlook.com; x-incomingtopheadermarker: OriginalChecksum:5A4738D9538DEC8A2F4C56D9A3AE0064619278EFA2D4930F5EF37F12D558B310; UpperCasedChecksum:5B012CDF07DC9FB73D5BF30AAB706B544F06665422C2A196C49A7DC49B664CFD; SizeAsReceived:7363; Count:36 x-tmn: [S3gXLo9JTX5TQH4ohdJO1t7yK3PII9Ha] x-incomingheadercount: 36 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1; BL2NAM02HT146; 7:V3Gk6+V7CLUwe4xFo84Mu+Grarkcabp8jMRVv2JActW+48avlY3zwTWVnQn3QvrytXcD8ArC0kUSWsLI9BDM+1iYJh19wybPeRvCkgPO5j22zr3X4Z0K4Sw6oRuycKqtgivWsOpEdblecASVwkGX79wjq1DKTDkB4++p/ugn5/KMR/6u4iNrtKK6mi2l5w7jj7wo5CnXVouWfxByG7F7Pa9FAY6mMGXKq3isX2xuNJWlIqDH5qa7fHyD8GRDh0f2AC7KO+K26xQ5KJrx4pQc8nzStF4aNENDRFrz+ep4w6MHa7ieKMBVNmohiA8neFO6OQPqkYEN52LXKj7Chxvm3woYLfe1oDfNYTbAAZsLXv1NPYO2Hpa25Ko4wWzeaOnL4Gx+M+rkkxu9K24qWo0BMQKCieZCEfFeD4GPOE3gQvKQ8zRsUalPFKGpCTxzwZrvm4pQgAwh34b3IhWzWJqFYA== x-forefront-antispam-report: CIP:10.152.76.51; CTRY:; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(98900005); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2NAM02HT146; H:MWHPR01MB2429.prod.exchangelabs.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 8ca028a4-0c00-47a2-021b-08d441576d36 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(1601124038)(5061506344)(5061507293)(1603103113)(1603101340)(1601125047)(1701031023); SRVR:BL2NAM02HT146; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444111334)(444112120)(432015012)(82015046); SRVR:BL2NAM02HT146; BCL:0; PCL:0; RULEID:; SRVR:BL2NAM02HT146; x-forefront-prvs: 01930B2BA8 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jan 2017 17:11:51.5788 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2NAM02HT146 X-OriginalArrivalTime: 20 Jan 2017 17:12:40.0255 (UTC) FILETIME=[67BA9CF0:01D27340] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] RX/TX call back X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2017 17:12:41 -0000 Hi, I am trying to implement IP pipeline for the slowpath (punt to CPU path= ) for a forwarding vendor chip. I have a TX/RX call back registered for pac= kets punted to CPU from the vendor chip. I want to implement a driver which= will be putting the packet into the dpdk eth RX/TX ring buffer. I would like to know what is the best way to do this. ** I was looking into vmxnet3 driver and modifying it with the tx/rx call b= ack. I have the *.ko which is set with my call backs, but since i don;t hav= e the PCI bus involved here at all, I am not able to invoke the driver. Kindly let me know the design choices we have here. Thanks Sridhar Pitchai