From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0074.outbound.protection.outlook.com [104.47.37.74]) by dpdk.org (Postfix) with ESMTP id C7A99FA30 for ; Sun, 4 Dec 2016 13:44:03 +0100 (CET) Received: from BN6PR03CA0013.namprd03.prod.outlook.com (10.168.230.151) by CY4PR03MB2471.namprd03.prod.outlook.com (10.168.165.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.13; Sun, 4 Dec 2016 12:44:02 +0000 Received: from BL2FFO11FD028.protection.gbl (2a01:111:f400:7c09::164) by BN6PR03CA0013.outlook.office365.com (2603:10b6:404:23::23) 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; Sun, 4 Dec 2016 12:44:02 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; 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 BL2FFO11FD028.mail.protection.outlook.com (10.173.161.107) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.734.4 via Frontend Transport; Sun, 4 Dec 2016 12:44:01 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:715; Count:10 Received: from bf-netperf1.idc ([10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id uB4ChXbC032240; Sun, 4 Dec 2016 05:43:59 -0700 From: Hemant Agrawal To: CC: , , , Hemant Agrawal Date: Sun, 4 Dec 2016 23:47:04 +0530 Message-ID: <1480875447-23680-10-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1480875447-23680-1-git-send-email-hemant.agrawal@nxp.com> References: <1480875447-23680-1-git-send-email-hemant.agrawal@nxp.com> X-IncomingHeaderCount: 10 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131253290421773810; (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)(199003)(189002)(2351001)(356003)(4326007)(68736007)(5660300001)(36756003)(48376002)(50466002)(81156014)(81166006)(8676002)(8936002)(7846002)(2906002)(39400400001)(38730400001)(39380400001)(39410400001)(77096006)(39450400002)(626004)(85426001)(6916009)(2950100002)(110136003)(6666003)(50226002)(47776003)(33646002)(104016004)(97736004)(189998001)(92566002)(5003940100001)(106466001)(305945005)(105606002)(86362001)(76176999)(50986999)(8666005)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2471; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD028; 1:hMvQKc+dbhhW1U9fyb8j2ehANb4P5wmku43Tto/PdubbtTrXDZ3DiEKy0M82RPJ7rPCTyDZti5Mf4dKSqScmxC8nnfeJae6b3YX5OOVcPk2jFyHMwe+MhqWwSEqC3RFG2lgdwnT3jp3jzpbywSFxMlEF4xFzYIf0od5iPcpcL3LnG/zY6TuB/Di7qwzJvTFCy1R5T8CqxEeipSlJYe793emQTlzHShIEV1RxL8E2C9uJy4lmiid2vj3shtM/0cBQ1iq2lwJgXLX45ICovejvHqIVflmSpotm64bW7m5lJmIz4Nf9PqPZIfbzSAuwZasBzciuI3FVuy23086/iIpKTk1AWnDskSnhJM/7+ijx5cy/VXzSFIfFmt2tPVcU45V93ugd4FUsnYpWgp1Pjgc3bYI8P6T1rkPPT2h7naRsFLnd71lyLuHS9jot/UyJa/d3MUMUWER17MjTq9hBG9oqoKVbDVVxjd8if+YbzXP0oxwh6y+q3/d7ceHHOxr9lGqyZ8acPcxagwEB1iVTYoVqb2o1hKa+OBP3LjUlceTHwByPulNScTkqskENgOY77w6gqbI/KOOzbpSHLhwkRUJDKTm0CEcbBjMn03SRIjbBRPH9El3cXp9Tpjlq+wMBxEotABLcOrYA4KLNyHwxQ7rtYDrU6trlrCGXj6sgw7JEwdEJDasKC0b9kXNP/m/TliWNzPnJQcuXuyqCMKTNiZKWIJBTgxWpmCNtK0waAjVo71q9CttB+BcW9N4JpL41D0N1WPrfURRu07Jt0P/3+s1nKg== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: c19d1634-5e8c-4820-7989-08d41c433992 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY4PR03MB2471; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2471; 3:gyi+eJ/Ytt3kwontUGzUHHzDDP8h6KAnjRCJSDT32ormZiij1GUjh3KqGzMhUIPRQjYeOPyjY7fU5hE3UHe9fFl7bIetS5R/bQrAhSTCZz3wxpfhFAbA9FqPodP045t3D9GuxyQuPfSsrXpoxZq89SIlqQCJpEfkMOGgk4Pen0gwfP0sy5yMiwyPfkaIm7QgC70b9/o5BFjhEjrnYaciGjAPI3v7Q9Q0TI4Hf8EByzcIWgRdNqpus4kBEJhLY1NaLRIShEIUXau60Xqm80LYQWqhG6rPKPbq/mckcZ39t25V0LcD6dPY3KX6Isx7sIAgZcPfrthcZ69Imj16yOsSUIY/8WMy/zmbYECU4EXYLfx4atkgQft9JcLDyD0EZEG4; 25:/QbKVXQivT9a7/K/YASYpK32jWsrnQ4MkCObPJW7fpVSm/R68iHsTHl3LlEY9l9fF1X7gM4MzlIfdNAIvL/6sX2eQ1+Urhn68q8MLOsgXnm1DB4LE1YRrDya1DuB8v/LWsNFqrwzUqiz7kAnxilcYc8yCznWLtqO1zj0P50Qf9ePlimtbF3+FQQNoWAvO2tiRS+q1p+0IwiYBLVTFd2Vjcgcta6tK0bc2+cc8gZo913SrXqLbaRiJOGa1gWJk8qhtWuy7Oc86b5GKCCkAyo0DFFYiR+tz4zdIpUpsD7jc6qKGrWGTXeQxFeRbAztdmHQ6SsZ47Wpk+nLyXH3IbC0upa07iy3v3vjY6Q1k+NRLbKEHZkTNOEfqdVtMO3JtdhaYa2kqxHv6JuouQA4ojJyE9Wf5A2P8JltAatU6riU4uubfdZNQI51jWSEUEIderIdXKj8xC5gAT/i3QMtwloxmQ== X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2471; 31:VrQnXp9niJlEUCNvaOVAjxM9Z7cUnxqUPPSmaHdUDMHojLC0wDyaf0KjgZOl8DggrLmR9ySOjADTUhG8ifzDR+dtYFQLptjiDaYn+/K7MA0pOoarwbfMveZ2cAmiWaWQAyHQhMnPzLX3FMXrvUPzwI3dmgjdLSIyLONmKaYI4ZpX5yi6YSovscdRvBsVHME4DCyxPPwOxsdIhyIiqPSl3t2hb2Ft9s8hrNmIECA5P9D0HBiWBfbq6a8hJDEyX9U0BKGo6c7LRvzsCou0M2R1FA== 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)(13017025)(13023025)(13015025)(13024025)(13018025)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6096035)(20161123565025)(20161123561025)(20161123559025)(20161123556025)(20161123563025); SRVR:CY4PR03MB2471; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2471; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2471; 4:iycBO63DXrNV+NtqDjSJxNYTUuJxOqkpivNu8xb2Yt3/yq+FhdAZQAG+nLdpVWJTOunpH5TCdsHrR5+klQaduI6NT1T9y0EVze+/Unvac/AVBCtqG5VYYWGeReZqvTYTX9eNtIwtQwehtSbmKJ/5elIePjG24feqfFEV+kV324Un6A6EwgBYHs1xLKIPJUNsZpKJEDZL205uOl+qwew3RvBEQTGoUFadTRfcw/HvMozq2q/V6QYwwHLvMAzF18/oWjRYmM0Z9BdTHngvqfGWZRp5q0glZTIAYvWLWatZrxN/jNUpKRma48N9JpPn9Lvvx87VjGXorWFYQMuCNqziGSFFdmT2zLPD0IxLlx6kwHGzLy4+FSPRNNQ6G0PdqbXxAoplThyof/ePfrbX+K3Z2ODclF6NzKcuni6QcdH07LW8nngfhX3dawunIlkvjPC2zbc4TuRTUgQ6fFLykjSXkFXDwdLw+6kBv0yi7vO7f9dy+uJS1GD8B9VLZe3GTAhOk/cqkGuHC3B15cBOZNeJCv8CERta6pZHUxQ9T3dG6ZlmeOp4P85QpJ9KEpRJhY5k/WTg5/5pMfRxUtM7bjeTjrMZqeeFsjArqqtWf3+4H603PqcAkkX/x58UcE2fxbhPn9GQFTUpW3I440VTix7VT4l46SGBI4b3D3QHNs6opufBFhEWj6oopZ4RUo5u8bpzf+JL/06l8Z4uI1Mdojf6+V95ffc1pBfeMJWvQIKhIvEpiArEPwQcZSrwgD8DPS2y X-Forefront-PRVS: 014617085B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2471; 23:D5HBdZMydHDdi3bZ+t+mnOu0qKwLol+v6pOnKCfa5?= =?us-ascii?Q?k2gK3l4LEL1loLNcvHWt+rlYOhPkzMC0Az0Nw5VNazQCn5BPe5B9hTntS8fD?= =?us-ascii?Q?Ii9blzXc8BcYESoE1IrTafPtTZ/qDc4RBQMHl2ukPYbPUVovzaZgWc3GYqeG?= =?us-ascii?Q?D33My3vBv4onyZ0uUBen/E3iIf3l1zqyohaP8RRmAL4KKvw59cvzl/7AlPum?= =?us-ascii?Q?xRGBJRkPnis+46dxRLCVZl522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us-ascii?Q?IW9fLl2PDUUUQR+42TNnO+xkVcSn2IF3eF3jSKLA4ZQ3UASuB32gWF4zX3Di?= =?us-ascii?Q?VFh7SIg0oMLiuen52EUrDbw++omcXGMNIdzAGIH4CqYmQ+FC6zd4/g8iA=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2471; 6:gzip97Hxs7Jma9SnSnPA5yO3OB0Ft2lH0V/UjQz44DYLST3CsnsZ2G6CMQL2MGvNg86mp4caGJZxfK0tApczL39mdJLv3JwbOaQoh7PCqPZL05gwBDdX6brtsYTpPdQMI/vJHP4Mxvw0ZfsknCytEPmnjHcwtQFGZ7qDOHBPS14gRsRyUTN1LsEh90YsBassw+mbIHqiVkwkhntFKZh30FhM3D8OjkGb0K2JckKj/uzMKcS0WLu2v548l+jqIteox4rFtQCx4aEJlOIojljK3JIMB3RYZ1WLMM5a+GremaCP3c15a7+d4MQOG2nUx3R1JeEtzPARW5lMW1qpbBB+xsGaxwbZnfBs7kt6wRDETNBntC6tsB1l8XyU9E+aT+fQBfkbIV4vqMpzc6MkCWrtOz8dTsDkr+n8mhke6UDqGoy6yCr3gKepsY/TGqCktsf+; 5:Aore9sRreU1K29XpRjg2UwW9r4kK4/jKtmEb0ZawRTMqBk9/EWr61A+xYrPvzOBCnfMBsTJwkStk1ns2fZtNYRi8+veLlQe6Oaqbw8S99Y11Qf7UPFXeX3+cqWaFR/BqgwhaChk4FfYKFymKglr3ARJzLJrfrc5yS6a2LkHzbJFdoRsPobhgOMjLvE1Pbd3B; 24:dgAZ3qTbtldm47RHrzvMtEMTE5eZxCdhNWHmGAr30Gq539wcsW/EfOSoSbHcBnMZpHcBTi+zl8ZS9HdxaI/vVdfbuODwy0a5C2AMdmbYLU0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2471; 7:jnV+LurkjTt6HkR/tiD1Qqr2P2sPA6/Ifa7z2PXTkvi5yvuAvKzAoL88NIifDeJk88dAVpkJY96UzQtCwDcGKtiPW05S01BiqTEamSNeWrIohgYAGAKrr4KAslBJs4dmhvfmSQlcTzk7FQvNBHvUYl4udlAGfxDAvTywhWXkmLUzOOkKKAWHKkAW2w1gJe5Q591QbGWbI9NQmDapo29sPqC+2gdZ6iTAMJCDp2jgX9EML97C6gZyogiLPA1H0JouBTOwotEU22QmRMCQZXQkWFCcMNSOlNlfW57UZwHRUhPyRtII05myk5JmUlN67UApPNqzTaBxw16uO/vdAWkS7mCNWhz46E86p+DNXTiS+0rNI92yVR/Ze+vERF1VTwBNzbYDDXz9oNuGUl0FEpLBivjiHySP3bhE75BcnFVjpAAT1nVzyszqK2MTyP/vkIXLFcVeg5Ra5xb1l5kmOnJIOg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2016 12:44:01.8497 (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: CY4PR03MB2471 Subject: [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: Sun, 04 Dec 2016 12:44:04 -0000 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; 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 */ -- 1.9.1