From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0076.outbound.protection.outlook.com [104.47.34.76]) by dpdk.org (Postfix) with ESMTP id 114EB2C48 for ; Wed, 5 Jul 2017 15:26:35 +0200 (CEST) Received: from CY1PR03CA0012.namprd03.prod.outlook.com (10.174.128.22) by CY1PR0301MB0601.namprd03.prod.outlook.com (10.160.142.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Wed, 5 Jul 2017 13:26:34 +0000 Received: from BN1BFFO11FD002.protection.gbl (2a01:111:f400:7c10::1:151) by CY1PR03CA0012.outlook.office365.com (2603:10b6:600::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11 via Frontend Transport; Wed, 5 Jul 2017 13:26:34 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.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 BN1BFFO11FD002.mail.protection.outlook.com (10.58.144.65) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1220.9 via Frontend Transport; Wed, 5 Jul 2017 13:26:33 +0000 Received: from [10.232.14.39] ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v65DQVQN023550; Wed, 5 Jul 2017 06:26:32 -0700 To: Gaetan Rivet References: <3cedddd79f0f518e412431526c9e2b3058d3220b.1499211317.git.gaetan.rivet@6wind.com> From: Shreyansh Jain CC: Message-ID: Date: Wed, 5 Jul 2017 19:05:40 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <3cedddd79f0f518e412431526c9e2b3058d3220b.1499211317.git.gaetan.rivet@6wind.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131437347939994864; (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)(336005)(39410400002)(39400400002)(39850400002)(39380400002)(39840400002)(39450400003)(39860400002)(2980300002)(1109001)(1110001)(339900001)(189002)(377454003)(24454002)(199003)(9170700003)(356003)(23676002)(104016004)(2906002)(230700001)(31686004)(65956001)(47776003)(105606002)(65806001)(106466001)(76176999)(50986999)(5890100001)(498600001)(54356999)(33646002)(305945005)(4001350100001)(64126003)(4326008)(626005)(36756003)(31696002)(50466002)(65826007)(6666003)(229853002)(81166006)(85426001)(8936002)(53936002)(575784001)(38730400002)(6246003)(110136004)(86362001)(8676002)(83506001)(189998001)(77096006)(2950100002)(5660300001)(6916009)(37363001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0601; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD002; 1:RUQbcjNSMk17avD6D7HeOoHYZfRk45AANQM+eUpTUeBvNK6ph0wA9UoV1wo79q3IPYDKRJUIUfGaGvLNomYjVf4/gEqVmL19jtXBz1SL1EdpLglwtnH4VxvjAel1rMKOnPMVIp3p34M0bdUO2n7pXrP3Ih6KaJBd/PFWbMgZNAwiQIuwLBx6dOf8WbqZlh+om+UoF/LLnmdH6FJoYhvuD/zh1ZGCr1F04JKTIlvZKPXSNfuT/22hEVqQQeXSTKwxUyH3iwe2l3CnGzqIPG7U1BIYqUoteQdPerhhAcFltXISeOFw6qtl+944m5TY1vj3KhDjEMMes+/06/rAfaNj7DdZNw8+bBXZPDJb1qv3R89fv0Ua/TMuxFGeTtp49oashOBfhZ3AvNWS1uQBVxvGO1JZ6KYt/zpMPR9vlwKlL+iMM4WcN9CprpoKmjEhSHFVntSPho1+t8Al6DQJ/zzpdJAUFO0KwcTgeQfnVtbQ4tWyOT5pWFaNVNU2I58BfQz1nXAEtHOxqYlis8aGnnDLQRCeoKdDoDQ/9qqyqIlJn5/LTx2zFkHkPZ7G8aa8qn0mcjnJ4zN+YAMlaMfF97Yq9fANwHKcsPTozpRVEPQGcoooPrWkuqo3dblN50zgRjCY1SOMJ1zj6jxGhigO30ym/FTKqYdglDtecVM2r0cTSyqNxpr9v5wEPUkVnsrxufzniUyOZ/DBk9wAt4H7IKqi1fjRXVUK7EMDsMOZIMKM7ScLNBEhmYduLPR3YFjMjW0+USXXmZU6KTgSRBL9JtPyFGoOOJ4xQA1FJs09C+J2yrq8ASUqMQlSlaC5yOutTh0AlNN+BgLS+2ROaVrUEUQIyurhEnxb/YAn4GZcCIKf1Oc= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 41456f3d-65e6-4ea9-c1f8-08d4c3a97492 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:CY1PR0301MB0601; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0601; 3:2biqNwus14EhUMw+szxCUYfSju4dI7TqNR71dQ9x7bwrTQVzvVcqEFhRVpElfCEYziOyyglpxUvmWaI0pYixDRNqetv2qQmqHjZL/dfU/odQJ45pOZuZii3m5SjhpGf0+Ni4a04/Z414O2LyZcO4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Q10ju6KncTcKuU75cUUvu+VpiO3DzkZz4rsfSZ75z0Np3AYi0NzDYDw2EMv5kYtDESXqyulY+o5ZrFRDC+rpHBCZt6Fd8sUNnBHODHYRmdB8v1rQMqc4rWCBpwzrycaKIsSl3AykYBxhZbjJBKpYrCGQ/yY3//LZuBxaZkZq6mg74KLpvPqVHPfN2KSZl7fVOnZfEL50jEF1OmVkElK3MVmzAAgK0hKFzBAOlxFx+59AeTsAYRD+VBtxb5bYg9PFq3pH65nFsG44btskhJvJgtTfygDSzhmXnHuggOAxW8x9MWDI0Zrk5xwCVDJgTVYV9AMtqL2X6WoF0LNyNC4T42rTDOuMjT7PWWpF904jx58akENfaqNVqDZlsA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(48057245064654); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(2017060910033)(5005006)(8121501046)(13016025)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6096035)(20161123559100)(20161123563025)(20161123561025)(20161123556025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123565025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0301MB0601; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0301MB0601; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjAzMDFNQjA2MDE7NDptQkhwVWZFeUwyVEw2cFFaWHYzUm0rZkFo?= =?utf-8?B?U0VPQ1IrNEFETW5ON1JuZGtxeE5SZVVaWUwwSUsxUVRWWmlDR3NkWVhiaytv?= =?utf-8?B?eW13ZHdJb0FjYTFLN0ZCcHJaM2c0eUhIV0dLQldwb3dFMXkvUFpOQTN2eWpS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milYaiDYXJpQ3ektZCFiI0bgR+mDiMtrdU6l63HJPkkqtjNbct2KkVo65v6Zvkt+dZUyj239xDmb4cXauxCfIAmbTta+mllcg2uPq2jwQuU/RwyaHcqX6slO3R52H0y7AtH0/CibjG8nX128uxul2SlL+0IPhKXqvW3rB3VUmaGErbhtHucyG8+bRvbHThOEIoZ1ygd0d8PWQjt1Ih2k1xKuZbKeCIHBv1oW/ydQ4Fw1c3Ym3Yq4knqtG89vTf5SvTOL4algEIBD+MDeH5QXoBn4= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2017 13:26:33.7030 (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: CY1PR0301MB0601 Subject: Re: [dpdk-dev] [PATCH v7 5/6] bus: add helper to find a bus from a device name 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, 05 Jul 2017 13:26:37 -0000 Hello Gaetan, Some comments inline: On Wednesday 05 July 2017 05:25 AM, Gaetan Rivet wrote: > Find which bus should be able to parse this device name into an internal > device representation. > > Signed-off-by: Gaetan Rivet > --- > lib/librte_eal/common/eal_common_bus.c | 21 +++++++++++++++++++++ > lib/librte_eal/common/eal_private.h | 12 ++++++++++++ > 2 files changed, 33 insertions(+) > > diff --git a/lib/librte_eal/common/eal_common_bus.c b/lib/librte_eal/common/eal_common_bus.c > index 87b0c6e..34fcfa1 100644 > --- a/lib/librte_eal/common/eal_common_bus.c > +++ b/lib/librte_eal/common/eal_common_bus.c > @@ -204,3 +204,24 @@ rte_bus_find_by_name(const char *busname) > { > return rte_bus_find(NULL, cmp_bus_name, (const void *)busname); > } > + > +static int > +bus_can_parse(const struct rte_bus *bus, const void *_name) > +{ > + const char *name = _name; > + > + return !(bus->parse && bus->parse(name, NULL) == 0); > +} > + > +struct rte_bus * > +rte_bus_find_by_device_name(const char *str) > +{ > + char name[32]; It is possible to use a constant here? Basically, I am not sure why '32' has been chosen - or maybe, it might remind a reader in future the reason for this value. Just to clarify: is there any documented limit on bus name? Until this point, the name (and length) of bus was responsibility of bus driver implementation. eal_common_bus.c doesn't codify any limit - so, this may have to be advertised, even if just within the code. > + char *c; > + > + snprintf(name, sizeof(name), "%s", str); > + c = strchr(name, ','); I saw a lot of discussion on the naming assumptions/presumptions. Though, I am not sure I have an understood conclusion from that. So, this might be incorrect/ill-informed: Is it assumed that ',' is not present in device name? Do you think it would be better if this is documented that ',' in a device name is reserved (as per devargs)? (or, is this already known?) For example, in case of DPAA2 devices, I didn't consider this as a case while generating names while scanning the bus (though, I didn't have a ',' in the name). But, if a well known fact, bus drivers can normalize their device names before creating device names. > + if (c != NULL) > + c[0] = '\0'; > + return rte_bus_find(NULL, bus_can_parse, name); > +} > diff --git a/lib/librte_eal/common/eal_private.h b/lib/librte_eal/common/eal_private.h > index 6cacce0..0836339 100644 > --- a/lib/librte_eal/common/eal_private.h > +++ b/lib/librte_eal/common/eal_private.h > @@ -338,4 +338,16 @@ int rte_eal_hugepage_attach(void); > */ > bool rte_eal_using_phys_addrs(void); > > +/** > + * Find a bus capable of identifying a device. > + * > + * @param str > + * A device identifier (PCI address, virtual PMD name, ...). > + * > + * @return > + * A valid bus handle if found. > + * NULL if no bus is able to parse this device. > + */ > +struct rte_bus *rte_bus_find_by_device_name(const char *str); > + > #endif /* _EAL_PRIVATE_H_ */ > (Apologies for commenting so late in series - feel free to ignore if this disrupts your cycle or sounds out-of-context.) - Shreyansh