From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0097.outbound.protection.outlook.com [65.55.169.97]) by dpdk.org (Postfix) with ESMTP id C193B8D95 for ; Tue, 10 May 2016 09:25:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=9ZGQQMCyeAUkl8HYU7FcoZpmqvYh0D9ZhNL67BTi6q0=; b=ZZdHZYfm4hEHX9wCIenI6So0tnqM0IlXdySa4BXTFIDfRgrKm978wDb45oDdLYrc8Uni6+jhlvHHrNsfCRaQIXWHhXE4In6oyqVIN2/25vbxmvwZQhLP9gOdRhzDty13rkOkayVK37RiIwh8GHl5BQ/9TrAocRD6R5zHrQY5XwQ= Authentication-Results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (122.167.194.36) by BY1PR0701MB1721.namprd07.prod.outlook.com (10.162.111.140) with Microsoft SMTP Server (TLS) id 15.1.492.11; Tue, 10 May 2016 07:25:47 +0000 Date: Tue, 10 May 2016 12:55:28 +0530 From: Jerin Jacob To: Stephen Hemminger CC: , , , Maciej Czekaj , Kamil Rytarowski , Zyta Szpak , Slawomir Rosek , Radoslaw Biernacki Message-ID: <20160510072527.GA18442@localhost.localdomain> References: <1462634198-2289-1-git-send-email-jerin.jacob@caviumnetworks.com> <1462634198-2289-3-git-send-email-jerin.jacob@caviumnetworks.com> <20160509104122.5c65f12a@xeon-e3> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20160509104122.5c65f12a@xeon-e3> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [122.167.194.36] X-ClientProxiedBy: MAXPR01CA0051.INDPRD01.PROD.OUTLOOK.COM (10.164.146.151) To BY1PR0701MB1721.namprd07.prod.outlook.com (10.162.111.140) X-MS-Office365-Filtering-Correlation-Id: 11d58cc8-aa02-477b-ca42-08d378a45152 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 2:d7WH0JU6KBwvd2FlSevFltOg1NP+2t+zC16GBer8bpkOyBQHdxzLiThhaLJZva96I48ZVCjwud2zBNYSwblvMQAjIlJguKw/7CcdcbzPSpZrpf59M5tNESUrPZvVgXBKv47kq+zEek5m4081FMQPUHXR69iQcVwCTSz1vM6if0psf41jPwrtGj0dKIOQK0Wz; 3:KwSFyuPbjP0P7GR5cW0cO/3PT0VDNZPqeeFWGj7nJ5dlWxo1Yhcd+bcPh/3Fhu/5sS28u7BTywgUaSefwAIVKmeb4W1HeIUoUu5rKtnt0+uYuexL/VOMeae+usWIGWgr; 25:ur40uiPLNMyN7W+nFsbs/t2m79/ST4XYso8lz+6ZaKPxlL9xGP/Nua4Pe5XJ4YgosZVEsGLvbCjzxC38lBEqN/CXJ0F2sokFGdFrbc3GajChhqXtqggXHPtoSmJr1N6Su8QoYwTJiMqtVH65+CkPZH0xRNMGDMNnzeLd4c+8SZBqYCv17mivIYjxSY6E0rwoTnvdyrNB38SICrYyKD5P/Bj19bSh3Fu9gVQYQhr259VQDglRdXrFZfhHGYqUF4VrbAj94v90vQFOz+yZs2/bVQR5xzj/kQ43E0/hfQtDZ23a5YIz6JzzGJDvuO3HnrPg8OcbSMXczuyNQW+qxpwCLZTlL8YajsGxBbaP9C7f8BsxbT3Ig4e/TMyBc/kC0uHBia9R7cKPLVBtCT0SDpeCrled5CGuJVWYW4oOAH9cJ6Iiqm6/GWWQCYu+vTL4RrzK X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0701MB1721; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 20:Y8YldhnifRJ8FlNViLoq0YdKBqiA2aMnb8wKp1KuBTFnRJI6Ric57MqfMRosv0MCq63aXs7G5+XaMkEQAK2WOh30SeE5c2wRPdSy0jn+D6DVSkjMy4QjFmN5qWsWwqaZJ7A09XvUIQVXOv33pBnRMn/HRbT6+11zib9ZrTQpAik95aEUB17kxJpl4Gp2jaTsHRfwmUj2fScEPMl3b7xY5bGMmHeGfC6THS0lqUuGz4YwhY+iQ5QZjBjEB7z+nKcNTpf+iCo+pmOzu0m8qBJNJYzdi/unKIHrdqjQLOpHJR0bHniLrZ7OUeGJI6Ci95asCCRQ9nxyZsIVnlWBLxQfewKjyS+BnKsLBsybLcaQIcN3WuC7NZ1jJytTTpFc+wg5rg1wPGzhmaT8SpfX9Tfm48laJmV/ET3wuqglTTC29rd8wVs+1l93uSlu1pwx4cuYTaCF+UptNXKe3zvZN0O3MmiWub5O7f7bpVQxvKyJTMPP0cpu96lHX02sTjsPkB7OT0U2C2U1IUXS8ry0kdVogmq52f46PBrJjQPglIdTMkZ1NuZpBpRqEFQ7vmJKJTCm7Cy1TzyGjeI3gfBxYb84XPXueZZIdYTIZrwO4js7vK4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:BY1PR0701MB1721; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1721; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 4:fAA0t/Y8QP+BzTF189OcxdJqMx4MLlgxY/vTV07aioorEsXWHO9SbhyJ31n2BTELHCUl7830JGi9GJ8SGDSYOaTCbWN7/EADJgZ3BvlvbdW55cKOMmecCP0wLmwsZTzmVZntXRaOumT3wxCTrr48GjFxUmAGz/YJW0IPaoRHLH+UcnOYqvO4aC6tzGWO3Pl4LsYwMSYzQGVSuOL2BlqdcKal1YSuWynRu+yvCkZgBMvrJc1wKbACarGVL6cSqQNvNbPe5ogtgU6+OSCT8bDG3rZObywkAx4ucxS9sM/itMhwBB4Id6236+L0igRigSZLavc97J6mmEWHVigBnSk+sAcVLziA5jQkFN8W+VmxXl3CqjQ5I4RluMVY2p4y9iu+ X-Forefront-PRVS: 0938781D02 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(24454002)(19580395003)(19580405001)(50466002)(2950100001)(77096005)(6116002)(92566002)(33656002)(83506001)(2906002)(46406003)(9686002)(4326007)(47776003)(23726003)(110136002)(189998001)(1076002)(42186005)(97756001)(586003)(76176999)(50986999)(5008740100001)(54356999)(81166005)(66066001)(61506002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1721; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 23:pD6ML3o1p8bp2LB88BokqGNvO1IvLq0+bp8rwpbpMzNAiv26qCm3+YR7174RIpkfLQjnC/G9jDoM/leWLceOUx/ZNzT0NkbvPqWBFaQBmPf7Q9R/N/9j1ta0sxE/97fVuy9bbRaS3b22iqkD3DbcqTRONCy5HlhLCaCskv95pMIe2qYnSBbOCGWBKYTFz6mosbGPFBY5lnAvdn7g5FK2QfFRit42/0xiDg1PfmQUm5bi2HN5Hh+AiLzJnEeGeTBvGeB1iuwOnopUgZgZVFibl4P4b76Egx+1xHKuhXs1SmfIH7aqCBlzge0DS7c2Qmm+nB5uz1BO/sPH8z5DnFYDpecj6L+PnNSjuifVoqO4ku6lS/Ht7VmWLiDTRVFGGS1GKYc4y0bNCWVDwLV8K+79APgy1CRjyP/BE2NVJCBku66vnijBK+z2wf11+0dG+Rq0LQTU+5QnyWIkHR101LZP1yEQKJimcTAXi6um2HjZ3PpZ8L+ptT2pG6zf5StFptKip7lkor/vNo/eMWTQ260XSwfyjBew8xWCVP83dc1zwsu1zy2EezU3WyZVgNxIRFXjCXojXINoBqiGj2PY6WgDgbxPFDGfza8qHG/PAvW+CPgLgPAYC7JLvcqJ6j6Y5ziyAwv79+8gMF4NRC6FnUyohtMawRMDesKVBKhT2sMlSRUT2LqE3SrrRuj3E//718VJM7DWbSsQ7hsKNpPbwscveUCEbhVe/t8gcXuiXptYbjfmyoRq70Tz9Wl+KA7R1BP4xGSVkzF73rwQIpsnJvTbCQARn+f5urX089yjSyVjItEHY1U9EiK/WLk5tvEOxthNML1pjqEZPAd/c8CdCTM2lDnpGSZkWHLAXRqYOHyDj6k= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 5:uYUIQ7lrqt4pq06G+GDC/Yntywg548dpBL0kYw7w2mreMRatFei6JSuWYlTedMrvZCzif1mGbEsvNF703smhipgozleQeOSbG38MgRvLK1buO6Jm7hcnFVSrj/w6MRs3wHf42zY7R9z11BYHaCkFbQ==; 24:mIun2SsZc76MfGazpzh7VV0odP1QFHC7m0JOqFlpz4dBxI4b6lcz9r0osUNErEL4clXKDO+5fxlpa8WexGpnIFt5SPky2iYR5Ov9yaeHbco=; 7:RKx7JgY5AGSi2w7kZaupDy9mQZHRbjSs0IeqGJo3MWkL+Sq1xt6UkHOhErBDAJuFyJ5WeP5wwxq0tqYYpZUALwDMcC3xj0IcybZN8H5Yg5wRioRazXkKOsbJd/d/8ci4m4pZ8TNYhvvqNelucdV9lzh5ABVr1F/lPP56sh7JpyzXw+ZcbPfP7a/FYOr6trZr SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2016 07:25:47.2782 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1721 Subject: Re: [dpdk-dev] [PATCH 02/20] thunderx/nicvf: add pmd skeleton 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: Tue, 10 May 2016 07:25:56 -0000 On Mon, May 09, 2016 at 10:41:22AM -0700, Stephen Hemminger wrote: > On Sat, 7 May 2016 20:46:20 +0530 > Jerin Jacob wrote: > > > + > > +static inline struct nicvf* > > +nicvf_pmd_priv(struct rte_eth_dev *eth_dev) > > +{ > > + return (struct nicvf *)eth_dev->data->dev_private; > > +} > > Cast here is unnecessary because dev_private is void * Agree with all of your review comments in [PATCH 01/20] and [PATCH 02/20]. Will fix it in V2.