From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0053.outbound.protection.outlook.com [104.47.34.53]) by dpdk.org (Postfix) with ESMTP id 04A162BD5 for ; Tue, 30 Aug 2016 06:38:54 +0200 (CEST) Received: from BN3PR0301CA0057.namprd03.prod.outlook.com (10.160.152.153) by DM5PR03MB2442.namprd03.prod.outlook.com (10.168.233.12) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9; Tue, 30 Aug 2016 04:38:51 +0000 Received: from BY2FFO11OLC009.protection.gbl (2a01:111:f400:7c0c::183) by BN3PR0301CA0057.outlook.office365.com (2a01:111:e400:401e::25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9 via Frontend Transport; Tue, 30 Aug 2016 04:38:51 +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 BY2FFO11OLC009.mail.protection.outlook.com (10.1.15.0) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Tue, 30 Aug 2016 04:38:52 +0000 Received: from [10.232.14.87] ([10.232.14.87]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u7U4cmSk020153; Mon, 29 Aug 2016 21:38:49 -0700 To: Ferruh Yigit , References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1472219823-29486-1-git-send-email-shreyansh.jain@nxp.com> <1472219823-29486-26-git-send-email-shreyansh.jain@nxp.com> <57C46892.1080103@intel.com> CC: , , , From: Shreyansh Jain Message-ID: Date: Tue, 30 Aug 2016 10:08:48 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <57C46892.1080103@intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131170055324029952; (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)(3190300001)(377454003)(189002)(24454002)(199003)(305945005)(5660300001)(68736007)(33646002)(92566002)(23746002)(85426001)(50466002)(8936002)(47776003)(11100500001)(7846002)(2950100001)(83506001)(8666005)(64126003)(65806001)(65956001)(36756003)(230700001)(31696002)(97736004)(106466001)(4001350100001)(86362001)(189998001)(356003)(2906002)(87936001)(81166006)(54356999)(19580405001)(65826007)(76176999)(4326007)(77096005)(31686004)(81156014)(105606002)(50986999)(5001770100001)(586003)(93886004)(104016004)(8676002)(626004)(19580395003)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2442; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC009; 1:cVk0CG9vZyQ3lNzQGG9vwbkCd9687wLBWbzBcdLGJ/wi6wDB+9ea2QTf26/mO2cJdrjgLtd8Lbyv2j26nPC2NplVOqhjVgHXpp62ZQLkaXIpxDYTXxrhf64qB3ZXFmgYaHTDGdq4n4r0zwdv7Gc6EScAFWbBLWKfKbAYd7FtpT+nx+N3ZD2y93sWFit6Zcm7PZN8sm1Deh1jp+ih9f+UnsRrnJrqCt87+O2qxkcpMGIwef6vCaAD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rPJxKgLIDKN/uqUuxK2oPgNyx0+d5H8ekYRwBSfrwdSjHZUTChzd4IFU14kjoiCG6WXKcb++LYb16JEnpn9LiXj8cShSAsN6thu92Iiv9BNHfPJppbgYf1dlbqk6p9A38= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(13015025)(13017025)(13024025)(13023025)(13018025)(10201501046)(3002001)(6055026); SRVR:DM5PR03MB2442; BCL:0; PCL:0; RULEID:(400006); SRVR:DM5PR03MB2442; X-Forefront-PRVS: 0050CEFE70 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; DM5PR03MB2442; 23:lBq2cHEb94IWnyeCtU7QT7D0L/RGFpAA+UX4G?= =?Windows-1252?Q?h6+VYZRWqqkVh/kGsc5Ok4jnCSQPc73fkIhsKGTUjMfzbxBCESRxKF33?= =?Windows-1252?Q?ZtRMBowYZnIhBp0VWVsL3Yf6sKxdfnr2Ul4aBUJsugfPMDUa/+7SsA1v?= =?Windows-1252?Q?KrFcq7iSto4SYOjZukE/Sbgd5RujDGxgWLA0dWK4D8dGigILLy+ItlVf?= =?Windows-1252?Q?ztluWs5TrYJTbI21d76jLQrqA/AwzKiDEKS9jOUH7kRHdj5cycMpHk4G?= =?Windows-1252?Q?5zvKXU5Omfc1hb+Y3/SKCECMKZsrZIvIAcwvYlpMKUUG5tgMtfIQJ49z?= =?Windows-1252?Q?E6/q6PYhu6SdUqyWwrE/sLUhCKySBodDjOde7Slz+zsZf6jtFUV67CJP?= =?Windows-1252?Q?s+X62tyXPjPHlls0a/huiPHRrm6itRnZC9h6XXKRv0amP21ADOM0YyDo?= =?Windows-1252?Q?Pmfoz0drJ/kARMoXWGX7H1sbKaRmuIa76GJt3goBDEGbFcE+tDbhSnqS?= =?Windows-1252?Q?Xb1otxVvENu9ApXtanxzaYT3TW3FwtcJNjAURTXb3dPruqZL2f8W/21L?= =?Windows-1252?Q?3t/W+JBWN7/3s1zac8L+tX5haVuXiJpLOQWlliq08dpG4U0sDQGWBr5J?= =?Windows-1252?Q?Izqfvy7PV/ygRrCpIFgO9peOXBNiEB0eS5QyG4AKBobfXoHH7WLJS0D5?= =?Windows-1252?Q?5iBQ4Utv/KPzpsjs78EoCkZ/6R6PffWhr7C7UzN9PQ8rXzLJOFjUAi5d?= =?Windows-1252?Q?V8vKcVc5hBwV0OoO73AuXNohYzrXaYccPaISnesEcdp/dcA7ryrYJf8S?= =?Windows-1252?Q?v1/jkoZIBGu9/GuoGYUReeD9OEbDQJ03rI1QQTCH7ZaWfnkC+JVFBCSW?= =?Windows-1252?Q?Kj/f8DjoQdAQjf6sYcCSNU0d946BQLiLTxYtze9TJPHuO9FjPohBVBpG?= =?Windows-1252?Q?a0fpxUGw3rLB51JBL+YTEAGFFxLTaC0FBi7QWyzOkA+wn5wB4HjDzu05?= =?Windows-1252?Q?9I+UqTDOG1FXZ5ARocWnWScZrkgRlJ0TTCLwVxXqIuxBWMNeoB/Rx69I?= =?Windows-1252?Q?Nte/cb3yEpsMMVNKXQVIF8m8S8Uxim4RjWGlvvnE2UbhiJABzfUjbAzg?= =?Windows-1252?Q?UoVqcZQZMg08dEZhWEpTtQGJdtDpXCcs5lTygSZ7YBul7SdiKdPsLAOi?= =?Windows-1252?Q?q5+xESUTKWnOssMfRI2+CNhALh7F4YN25zo9/CkL7iq69GMUp/zJT0A8?= =?Windows-1252?Q?EubOAoa5t8kGCy04bf0hN+2/ENDKQ81fAjIOHU2bruCvE2xLDa/PFG8l?= =?Windows-1252?Q?/SLuMMJu2khD92lxxwjrpG+aboY5rttiwCFON4JPy1b2zjaMzzYwjTrH?= =?Windows-1252?Q?yMljOz76MMghKuYUQ00NuGbll5IjUhaQp3QJxSggpXYl9Ft7bieu5pb+?= =?Windows-1252?Q?QJbM69gpxEIeQz404xLmN4f3v5gADO02yVQiQE6iCL2SEHvZE8uQakZV?= =?Windows-1252?Q?z6VV2tkp70GP3XOr/p2ajCnmz17b5/CiBCq6kD2naCyHDjnYg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2442; 6:bGODoh1Rjx0sA2UM9UnrLy5JG15NrL2wqVFfVbokbBQxYVcBF7cUcvt63r+z4PxZ9QhFUC7Rk3VSDGmgC48WsemcLy0A+ANjdKyLutGisbw86ZWWVCHphtAimYZXhDiFB4PDKoHiXNH53etwz+ZlVwL0kPTxxdISQNJlE/H8AnixJwWOC2xx5E1f8qNRjUZqwmbLVDkXbdwYFQ2poIpgW+2R7sv8Ok3jH9Smwg8dWU8kQ8/AWJHJ1SSrUuxtrFF6YW5aciEbW6PZ2Y8K0pvfoL/GUuOj4MLXdSQ92Bopp9s=; 5:jZ9+MKdPfJSHflm9D446xiD2KJA8CXuLk/w7yljHwm78m4mKs4Vj+62f2oi/WdX4Zg2tiUsSmgpj54fwVbn5quIXkb1Id8aD4dRT0lPQPcltWxcfdJwr5HdLV9+WicqGGQrDD4oeb4u1/Hn2xPu257grr9eGOU/Vj2LP8MMHkqA=; 24:rFOtuOodrTX01+Lzc/t9EbHzBKbBPYxNM61apnwAgG/gTkrNColy8vc6rTfe0Pv1m99NyAFaIxsjjjRWN8cSBJRpxkfk0ts9ObZPVQNC+vo=; 7:oGTqVXUthJVn63w2nS+11tq5OMACAsbJbN73H9Um72hp1NxYfo3feWewyKfB97J6xH09e7suUfdE3bmMhocqfA+6Q73Tdo/48ACGhJPkj75hUWVAQQDGOyzScU1AlWUnuMqLWJkb/XTsLez7bUhNaQc7qZciZ+zeVpFHQHdOQgGKtgrTOn/4SWBrO3aOXD3U3V1LKwJrPFregOapRO5QJzvCjw7O6K6NfpS83oVQ2XN0onDwCO7D/hCL4YLVxN+s SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2016 04:38:52.1533 (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: DM5PR03MB2442 Subject: Re: [dpdk-dev] [PATCH v8 25/25] eal/pci: Create rte_device list and fallback on its members 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, 30 Aug 2016 04:38:54 -0000 On Monday 29 August 2016 10:23 PM, Ferruh Yigit wrote: > On 8/26/2016 2:57 PM, Shreyansh Jain wrote: >> Now that rte_device is available, drivers can start using its members (numa, >> name) as well as link themselves into another rte_device list. >> >> As of now no one is using this list, but can be used for moving over all >> devices (pdev/vdev/Xdev) and perform bulk actions (like cleanup). >> >> Signed-off-by: Jan Viktorin >> Signed-off-by: Shreyansh Jain >> --- >> app/test/virtual_pmd.c | 4 ++-- >> drivers/net/fm10k/fm10k_ethdev.c | 6 +++--- >> drivers/net/i40e/i40e_ethdev.c | 6 ++++-- >> drivers/net/virtio/virtio_pci.c | 5 +++-- >> lib/librte_eal/bsdapp/eal/eal_pci.c | 2 +- >> lib/librte_eal/common/eal_common_pci.c | 11 ++++++----- >> lib/librte_eal/common/include/rte_pci.h | 3 +-- >> lib/librte_eal/linuxapp/eal/eal_pci.c | 7 +++++-- >> lib/librte_ether/rte_ethdev.c | 2 +- >> 9 files changed, 26 insertions(+), 20 deletions(-) > > mlx5.c needs to be updated too: > > CC mlx5.o > ..../drivers/net/mlx5/mlx5.c:514:34: error: no member named 'devargs' in > 'struct rte_pci_device' > err = mlx5_args(priv, pci_dev->devargs); > ~~~~~~~ ^ > > Ok. I will fix this. Thanks. - Shreyansh