From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0075.outbound.protection.outlook.com [104.47.41.75]) by dpdk.org (Postfix) with ESMTP id 0E0E6201 for ; Wed, 7 Dec 2016 07:41:48 +0100 (CET) Received: from BN6PR03CA0012.namprd03.prod.outlook.com (10.168.230.150) by BY2PR0301MB0744.namprd03.prod.outlook.com (10.160.63.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.13; Wed, 7 Dec 2016 06:41:46 +0000 Received: from BL2FFO11OLC015.protection.gbl (2a01:111:f400:7c09::168) by BN6PR03CA0012.outlook.office365.com (2603:10b6:404:23::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9 via Frontend Transport; Wed, 7 Dec 2016 06:41:45 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11OLC015.mail.protection.outlook.com (10.173.160.81) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.734.4 via Frontend Transport; Wed, 7 Dec 2016 06:41:45 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:979; Count:13 Received: from [127.0.0.1] ([10.232.133.65]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id uB76fdeC007462; Tue, 6 Dec 2016 23:41:43 -0700 To: Ferruh Yigit , References: <1480875447-23680-1-git-send-email-hemant.agrawal@nxp.com> <1480875447-23680-10-git-send-email-hemant.agrawal@nxp.com> CC: , , From: Hemant Agrawal Message-ID: Date: Wed, 7 Dec 2016 12:11:39 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-IncomingHeaderCount: 13 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131255665059128795; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(336004)(3190300001)(199003)(377454003)(189002)(24454002)(4326007)(5001770100001)(2906002)(7126002)(86362001)(68736007)(33646002)(47776003)(50986999)(31686004)(92566002)(76176999)(54356999)(65956001)(8936002)(81156014)(8676002)(230700001)(36756003)(23746002)(97736004)(106466001)(4001350100001)(31696002)(64126003)(7246003)(65806001)(81166006)(104016004)(105606002)(65826007)(38730400001)(50466002)(120886001)(39400400001)(39380400001)(77096006)(39450400002)(626004)(39410400001)(39840400001)(229853002)(7846002)(83506001)(39860400001)(2950100002)(356003)(5660300001)(39850400001)(85426001)(6666003)(305945005)(8666005)(189998001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0744; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC015; 1:e1URur3IHZRuPvrEkRk1mHNszFkrHosw9F51VgvmFtGdjhwrRRbEGkrV/OiCclOnRv77C57VbwaoOIMLHxar6nR2NacLruGGuXs8o27m2X4JbxnT8aK5ep6Fe7YrFkfM5HuzKBDOOQjL1T2S18fTCBJ97LWu+T8RGQJM7g781ZhC5t9y1KFfQPxfjkVy9JKBKmE/2rd8btxbXP1AqJhF+aSPpTzBuri/nXaxhP21qs37kU+TQ0idsirxC1PRhzSEMIPwiCr6qfVq8/BcOqLzunBW1XMv4YpRqtGvkKBuGPl/ympM9yIKL9qZvz1pCEQLioEZGvuk2Xrr2HtW87OgEv+9qYiFR3wh11capKQh9t2Cu1ZHceax+QXHAI7vwXCDx7CzNw9v6BUK/z3hTAR78YTHCGYiFUsff8RFeODF1YA43MwNvtrY+1y9Mg3Jyh5lKaU6eB5P4ktNubiRLo/J+B01VL+BmfQkeJtJcbMkSiIcJc0Adm3tP5+sQ8CPJjOhoXnYDafHjSHaTiEEfd3SpFCyPXhD601Gl78v+OUK8cYvDRSrxkp5IQNcdju5tHFUyQRrFVqVYW32wtVwTrGFikQdCUukoW2imzI9OHnUeObHLEDNYX15AvAYCknTEeRqCYHW+MxvmNeWdZQLnetPkzd3gyRuNOsmICo84hN1wx4= X-MS-Office365-Filtering-Correlation-Id: 0d2683f7-0bda-4a41-65db-08d41e6c1d12 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY2PR0301MB0744; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0744; 3:v7OMzfanJYn+ScQ1X8OqXLl2kA95XKcJfoQm9J8dKtT6UJFtxT1GSN04GesTN7m5HWbTbPY5w3GiV5Cg6uEyJ87uRjIEpGdsUyT2NfveUAPG3dNWRGh8srBOLEy2kse/rhUUXt6VUR9mmqeM/rowJP2hv1yNfct5zKiLT7T1CDZ/tXRtiT24z+e/+IhdCBC4047PeWb4jeXuAezf+BLTN2UegqFdhWVUWufymaRZ9fdN1lwWshnyaeZET2x68VVdkpboXNYLmewf3oh1XqcICXjpifHSh22mZ3+L0atlLQvqGp1x4cllGHon/t4gC+I24ZHVxajMtl/S0M0uPapsi1lkUQCukMAq6z+0ex0VoosNV5uJDTnh9rWerWwyk+a8 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0744; 25:iyQ76DoDURXqgueBzzUApS1/g2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sv9aTG4ZqxIvcTzWScQnMX1zEu/43nDm7w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(8121501046)(5005006)(13017025)(13015025)(13023025)(13024025)(13018025)(3002001)(10201501046)(6055026)(6096035)(20161123563025)(20161123556025)(20161123565025)(20161123561025)(20161123559025); SRVR:BY2PR0301MB0744; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB0744; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0744; 4:obxLILAVa8Qo6b8K8znLUi3VNCYL/uLaaPCFXoIKPPWuvLPyVQyqXVfBXLqAdJqwPHVhJsqGr86Tsjmhz9QzlWxMOnkqPQhtetd+/K0yZaHggaHquc1fZ//ipPo+pcCmYqNmVfZsORPz6oEmEAkTvTS06pjczyRMusndgDpC8lxdxxA8FNH+3G1rMvqaDJ7KIEbEuHp24X0DyHtSYt0jgtK1E/9AJzb7pEDEddBv8HxGP1Eb2V4OX44U+TorZScT5BohnfhkioKr5fQ1O8LChIm4utdpW+HNyq5SW3aOXp5gsYj/j+7Wji5Xp3wqIrBB7f/prBTO1PTMy0La/GvYvrNjWTT/0zhodOFW359cAPLKt91sNpt3vDeO8qPfITQhJV7KMN1W0wrl4ZN4q1bhyqwDyVkkpXveJcNRoK/Qf01J9qD1RZurDpqOOF+z7b8u3cyuOs8q/UlHTWFd6uHHfov6UQvx71VsxLBipwetCgj8DCaIMGNm4m+DTlCHk3V0d8/BHi+EacuQEVNbltwCDMVnzpHZ3C7Eer43xdM2DO8/BEfXsDRa2Gp4l/f3/NuPFmBVoYtFQAFHNEvCggXgUoypmOys2WIlLHwL8Z6YbR0YMDpPCtdsJHcz+Xby84G6QPlKEXyNkCmoAP9mVtUAOqw/ecnua/pUjOAD7VRFUNn6qgk66XdZ/LH7WrOgamTN4QlX7/tWcZobXmlO7JvzjPrmlc7B1SaFsjnpB34mnLxb6JIb9ms/e7HXwYmbgUaR X-Forefront-PRVS: 01494FA7F7 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BY2PR0301MB0744; 23:hxFL25J0dqr2nNFmisbzdgblRIu+N/OU1id?= =?Windows-1252?Q?gX+DrOaPp+h80/eCiwTN/H5rkPUOcslLtLetoWKtK3ZDjpOs77LGtPou?= =?Windows-1252?Q?vAWsbHFN9NrT5cXCOsfDKAnIzLl9B+smnyAD5tEEVznc/CpW9On29IbZ?= =?Windows-1252?Q?09mUU738/rp8JoEUew2HpB9QV9osEkWeMrjaNfENlIe/JhC2QpFHd4BE?= =?Windows-1252?Q?95VjAgSRYatyDELGNir7OUKgb118BV+SuGyFB2YXjY1dYI+q8irsky5V?= =?Windows-1252?Q?mYn1et/8fgrur3jWk6Q62ih/+9nBKzG30MjHF4EDIaA+1LGn0id33gkN?= =?Windows-1252?Q?TdUCCV3NsF3TD46O2UBhHgRLW3kdV6VGW/Y2Q0UV2RE0Cf6BhQmmGHM6?= =?Windows-1252?Q?awwuBGYHv80Wp+FUO8C4rQsUYpIBiafCQXKGk5ni93uVyvhHtFDWnTlG?= =?Windows-1252?Q?99p70KfChBZ2PuKubzNItHg7VGEx445vEt4UFAN0NJEmStaKUy8OpUMv?= =?Windows-1252?Q?HLdi9K7rQNPaP7WyBaKyXiDNaRZjMdn0KvQsHlFN5jfLAkD60+xhSTlJ?= =?Windows-1252?Q?/vfKdkK+Z2FWii3g10Erv3UVj0UtCwYcX/x8n5otJ2CJHrEhjKwCHkxF?= =?Windows-1252?Q?vDDELqGa85AeP4+kdfTFhacyRAURpLfi1OAqKeBE+hRT/rRCdCgna/wt?= =?Windows-1252?Q?zYZrJ/0aaDU5wRbfv3posCi1VfWupUQC0J17FZ7PqVcYgjrejiy0FE31?= =?Windows-1252?Q?Fos2MwweLz8SnOsu3cRI2fHFWzOe4H0cXDm6QvC6Eih5rAIHlkB8kt2e?= =?Windows-1252?Q?Q+70Cz3tpJ5RCUDU8rhKcfbkgPN/TRN+3ndyytljl1fZvqwg5uKBuQYd?= =?Windows-1252?Q?v9I+0g3KG+zLholZQ60INbw3+9Stunx9JqLUaMeclRciwCwRnseS1lQp?= =?Windows-1252?Q?hgqoeA1Mt1lAOqbUcG++p/wtPH05+8JNADhYVsrZTJ2CeN2QM43nk1Re?= =?Windows-1252?Q?8x6MGLsDGm+jV0QFTR6MaQdiDunMCtY9h/0VrcrjugrcM4PqtAnpcff8?= =?Windows-1252?Q?piOCWIE9MGiAncAIUzQcBoNRGuyW4ig6LVv4PNlX60ouSUrH1rZeAGAj?= =?Windows-1252?Q?86nCSOeu4X9fGYYfSX7l26bzmsOv439wXmrVZrIVm0i7qaikQ9qUl19U?= =?Windows-1252?Q?+lY03/CaKKeYGPzhUPBIfrSo1qvxL1H+YIc+49EMW5odpWaL/Dyd1ECe?= =?Windows-1252?Q?LUf3N7Swpoz4MxYGPb56iSet0sf8TefjPw6jJ6/fmysvHjLNL9P2Kbsf?= =?Windows-1252?Q?h3U6BaXK+0sMSrhlHYrrjCW1PJ1AknXH1PiZX8f0jq6UrJA4Mjfyo/s3?= =?Windows-1252?Q?lPBU2wpjZM8Y+SFQktiOpq8T3agePqPyufVlS4qYhm930v5XYKNsdzY9?= =?Windows-1252?Q?kfiPmxBJ2HDIvUkPIKk5UHlTQJv5MIJ6H30p3xCZgbbuFDURLmEz/2a+?= =?Windows-1252?Q?JYwVUt1vPjG9ojRWUWwpZDnDCeIEoHyoqImkXCPZyG97EFBRaxyDTBS5?= =?Windows-1252?Q?nizbqmBLTKMJxNgjrdXN3Kd/r9DHBbkfaKO+86yJ1Hkn02qtTGKCMH3G?= =?Windows-1252?Q?YlDNPPLM7swvyqoWhUxeD4dH6AGxHpPp2yzwZzeUo48HcNlzVZ7js4Jd?= =?Windows-1252?Q?HWZxcQKb5O01+xllYeOexXIOW+YpY/3POP0Uyj5dN4iDwhun8Y4J/?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0744; 6: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QkBhcPt4LAq0KJqMVsCURrxwD3BKESCnGiuUjbMC2mvtjP1YFs34D42YIfgZ/hLsnnG1S+JspeQI+lnmCDSKeTtT9wqSWniL4jVYGLHO6lEwJ7u9SNq7Y6LVa4DqlqemFx0viEyodIKv6YHnIaiFj2MOIPvjSwgqV0kDQ0fj7GvlwQMH4nFns5LL3zsPBPilYVmSD/Tmr/epbE1MEgzvD9u5lc2hCxUBOq5fb5Q== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2016 06:41:45.7412 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB0744 Subject: Re: [dpdk-dev] [PATCH 09/32] lib/ether: add rte_device in rte_eth_dev 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: Wed, 07 Dec 2016 06:41:48 -0000 On 12/7/2016 1:18 AM, Ferruh Yigit wrote: > On 12/4/2016 6:17 PM, Hemant Agrawal wrote: >> Signed-off-by: Hemant Agrawal >> --- >> lib/librte_ether/rte_ethdev.h | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h >> index 3c45a1f..6f5673f 100644 >> --- a/lib/librte_ether/rte_ethdev.h >> +++ b/lib/librte_ether/rte_ethdev.h >> @@ -1626,6 +1626,7 @@ struct rte_eth_dev { >> eth_rx_burst_t rx_pkt_burst; /**< Pointer to PMD receive function. */ >> eth_tx_burst_t tx_pkt_burst; /**< Pointer to PMD transmit function. */ >> struct rte_eth_dev_data *data; /**< Pointer to device data */ >> + struct rte_device *device; > > I believe this change should not be part of a PMD patchset. This change > is more generic than the PMD. > > Won't Shreyansh's patch already do this? I agree that this patch is not a fit for this PMD patchset, Shreyansh's patch is not yet doing it. He will be taking care of it next. So till Shreyansh provide the support, we need it. > >> const struct eth_driver *driver;/**< Driver for this device */ >> const struct eth_dev_ops *dev_ops; /**< Functions exported by PMD */ >> struct rte_pci_device *pci_dev; /**< PCI info. supplied by probing */ >> > >