From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0048.outbound.protection.outlook.com [104.47.40.48]) by dpdk.org (Postfix) with ESMTP id 178782C48 for ; Wed, 5 Jul 2017 16:03:37 +0200 (CEST) Received: from BN6PR03CA0035.namprd03.prod.outlook.com (2603:10b6:404:10c::21) by DM2PR0301MB0608.namprd03.prod.outlook.com (2a01:111:e400:3c08::24) 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 14:03:35 +0000 Received: from BY2FFO11OLC001.protection.gbl (2a01:111:f400:7c0c::116) by BN6PR03CA0035.outlook.office365.com (2603:10b6:404:10c::21) 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 14:03:35 +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 BY2FFO11OLC001.mail.protection.outlook.com (10.1.15.185) 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 14:03:34 +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 v65E3VpB006369; Wed, 5 Jul 2017 07:03:32 -0700 To: =?UTF-8?Q?Ga=c3=abtan_Rivet?= CC: References: <3cedddd79f0f518e412431526c9e2b3058d3220b.1499211317.git.gaetan.rivet@6wind.com> <20170705134521.GI11154@bidouze.vm.6wind.com> From: Shreyansh Jain Message-ID: <71fa0d7b-a140-5d1b-f0e7-a6e87eebf85d@nxp.com> Date: Wed, 5 Jul 2017 19:42: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: <20170705134521.GI11154@bidouze.vm.6wind.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131437370146951297; (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)(39840400002)(39450400003)(39400400002)(39410400002)(39850400002)(39860400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(24454002)(189002)(377454003)(199003)(9170700003)(626005)(8936002)(83506001)(31696002)(64126003)(356003)(4001350100001)(47776003)(65806001)(81166006)(8676002)(2870700001)(575784001)(33646002)(65956001)(106466001)(5660300001)(77096006)(4326008)(498600001)(229853002)(86362001)(85426001)(53376002)(53936002)(93886004)(5890100001)(104016004)(76176999)(54356999)(31686004)(110136004)(6306002)(65826007)(305945005)(105606002)(50466002)(189998001)(23676002)(38730400002)(6666003)(50986999)(2906002)(6916009)(36756003)(6246003)(2950100002)(966005)(37363001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0608; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC001; 1:xMB4u3ChQr3GFfvS6ivdYNAXRE4b9QMr3hWvnd9p9FBZhgJjnImXbn/ZgH7KAFgFBH62InA5y1pWQRdNwZSkxAlZUVveMFJx0faVwLM/ZFoX9IJVaYIFuzslX5pDqUsB41Oz/AUEb8VP72RPYte0IoaPJP9skYywj2NhvMvEaYc8SeZLP4lPNOhQRuGVr9i5l0jV52HocKN0UFsTCD4d2LPjRnk0D3FNGcocuJf0rPhuNyHMP77HnH/RcGJYYWYMmqOuQHT/deafWVvj4AOknZrhsf6C71dWC09W6M9qibwVcdEs6P0/jQtFDw+sI3Im6kHQJHqVhybZYOCOYIlzAmjvMZHlpL2d92KhmtlQJg4ZgKQaueOh7yGEI4yDtpnH77/AXJzpjntEw0Uzlb4rtYT4zGJZdmqgibWanMif2sLQJdmTWbgsF+NuIKdkXaR5x4vPpgnRn+Z9aMmyRzciOzb1OfavduY1Aj9U4pugSkWYOUmlgfZ8GymVr73Yjr2v9DlRCIwTP9reEwEtMKihKIRb3SA3bNK5mkP5pdA4C5E434YFDP/XWsUBxoxKPeuiPHNsdT55HUVlrXcQCCJKha8nT7W/ikfLa+1Y8iGGVpvr2mCAhCo48HZC2ao4L0Zyf1eQzcaA1rSqB0nXaYej23e/yx5BzyECBlWnF4D3A6YNtVZQv04cJBGjTQY6aI2dsztHtKPTEKP5+f/wV1oYyND0KtRO81oo02j7jUVNGuyrwl5DvNFiF+N9N7D+lD+C5HWkPwT4WkVOjQ052qWz5SDH3gEHtoYssisiyf9g1tkShPH2TyATwz09jHxvvI68q/jeojymQBIeDGnGBJ/zLb11gzjo9Ew8shcGgXkowGZDER+rFQaDeA7VEUUhvi7Z X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a1d0be44-2433-44b7-4dc5-08d4c3aea044 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:DM2PR0301MB0608; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0608; 3:JUAu9r7v10jY+4yQKMYuL9rVnpEHsbOvttRT4afE7Vyan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Umb2HZ/THR7BsCvp39OSisX9FurzXMTQZMPdmkuL0/9rZ5l05hn89Zi58HbiytPm53QEGGofndgLDbiJu3Ogbii1qikPPuHt95jYGIff8HiCe4jOnbbM+2VwHR9nzPxe2oLEl0g/bUHxWvjABOQXbaDd+w1yr6Fz77s2XmrTUUD9Za6mhUnjRW3Hiutc50VquK0vvkPgVNHRLqSMq1FXLUGVAfLhz7szRwVLAhDJVIfZyckU1RrYDWInO3LOibr9C2iHzq3zbcCjmPaNDVKj/GRI0Mg3EAuRvo7B9QPXamdGslfRQ1PPUA8liqwO8SoYEjCJ94BF32vagjxWO7mBjcqqdIeN7Drq/nIGULwg5yb0okNrVaa5KvsW0kK9MKHonlEN5qT1JnKvER7pNpeFwgsC7fU+Ef0iPKqJOV3j0m1VqJkUzzBwuBxEKkX/rQqP061PWbA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(185117386973197)(48057245064654)(148574349560750)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(5005006)(2017060910033)(13016025)(8121501046)(13018025)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123565025)(20161123561025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123559100)(20161123556025)(20161123563025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR0301MB0608; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR0301MB0608; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTJQUjAzMDFNQjA2MDg7NDp3Q0xzVTdPWklLd0RxUE1Fd05oalliL3NV?= =?utf-8?B?SGZrczBabmN2SnpYRFg4YkJSQkE3TkwxQUllWUZFV1B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wOSthQ1dhQjVRaDloTjBMcVNWTUY1ZEY2U05SOFJ3eEFiNTJvck40VVF6?= =?utf-8?B?cnZzd0YxWG91NnE0SFMzSHBQbCtCNnFlTEFKRVZWUUY1RkgvVmt0c29pSmFj?= =?utf-8?Q?BjWy5VkDGOm/w2Ma67Y0IN0nAalhyn5pw=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0608; 5:VJJ1wQUQpumkmEmg+RmD8y4F7YciLTdSfjZvZ/vCwv2nvr7hWxyFLh6jx2evHEkbxbF+we437HjFrhOvy2DrYC9ZDfxRhKWzbhzhcSOIjK6gWzg+UVlhIkyM5LmtACYms4V6oOxVoDVFxOd6ywyKT8Ix4fidhncSTiKhuoXrLyvl4rr2lEUizlsNTvYuPBxJI3C8DEFw9Lqse9Mc22qtty0a2AERO0Zq5b4KIxK8b5VvcBEEi5T5XuF0GQ+nwycFchTyFfFSE2OfSlTxQHShdJIGsbY6dTtFeqPSy9x5cblYw++ehLVuxzShpE8gnF4llrvyb4kfpXKH4IEoFDVYgm9PFUekbMyz7BpT4ZPMEL81MzXMWjAW9x+8LKthVCSgtO72+Oy1lyMZ+F16tSGEz2cmAL5RrZqfQ4JCo0JSJD6GX+1XUJPkcgjgg0tMzmczz++HHjPzTnHojYpNhM5KJaZVfVIzMsviku0bnmmYTSYYW2c1plUqg6jQw24XeMDxbpzT5+qS1+ypnZW/K1V8rA==; 24:2PfxcDrbUEwJxMn9a6qbw7cTGjNN5GUIoSMNUDFc0uJPlm42yJUAXupir203/UtGjnZVV5C8SGBasxLBLQtFTKuamJx2cGpUSREfYPSua4k= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0608; 7:7W1IO6olFmyex1qND3WS33/0GTX3+AOnOvjhWABeLheC+FzA7GZVYVPoroBE1658hwYrEGHPpBbtt+pXABvxdeGinJV8ZsBkGJKmCSC3RH7azdGngEW+LOjevdiaGqRyYdTa9En0XhF4uWnYLzrWLu+NX1h8ZX3zjyEmYzB7f0mQTlxHRnKhs+ME5m/UtM2Cf8Ufu3ZV+Oo1OhehkdAklMtkgxefQJik31y0CKtf5lZ/hbwS3IQXmVJiuRub7/kIipWK+udQv6pGVWrjxugNXFGhRmlpPV5/ldrfOAm623b+gnmY/l8blS7vGthRy0h8PHQSD/VSD2BaVU3A5gQDS5IW44J1yHldu8eYOdbIkqfajRmI5O26VlYr12eC5qsvyl0Tp0Xe8Dxfxhdx+5c00URiizP1icLO/CkyHVBfucsxeqF4pB/MOP29sqmzhLeiAiSSH0Rdwocm+O+6YCT0eKj0hadK9q3LKNQeqBmv5E8XpGJ+wblWsW7Bh4rjqM86DgnHZ5daU6OwHFjtJe3phk3Q27qaIXBXuyhMtbIOUuVz+Vpn7Nej6rzENAjtFOR961a6VOBsZWK3ibkTfmbHwMhzoWPQKweHqBulYr41dIGVh4fVp01WmysokL7YRf1XTQD8nwyUx5zQrlrayriIUyc+CrxCwAmomG8f4OQKF8zH9LFNo6/ktsLrbGCljhsdKMe/GPIvc5fZ5rsCNK38ChiqgxCnCmfxJyp7kmltKILjHHgdQyhQaxYHcAu+o7XuqpLkktrFYhAZKQraFKSHmEyrP8u9HqNMqtr5f9RV+2U= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2017 14:03:34.4299 (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: DM2PR0301MB0608 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 14:03:37 -0000 On Wednesday 05 July 2017 07:15 PM, Gaƫtan Rivet wrote: > Hi Shreyansh, > > On Wed, Jul 05, 2017 at 07:05:40PM +0530, Shreyansh Jain wrote: >> 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. >> > > I agree that this is not clear. First thing however: this is a limit on > the device name length, not bus. Ah, yes, I see that now. I mixed up. > > This problem is fixed in [1], as a single common device name location is > defined. The problem is that it is in another patchset (even if both are > closely linked and were only separated to ease integration). Ok. I hadn't yet gone through it yet - so, didn't notice. I will look through that as well. But, if this is already taken care of in that series, consider my comment resolved. > > This limit was currently taken from the arbitrary limit of device in > name in the original rte_devargs for virtual devices. I think it could > be exported as a define by rte_dev.h, used there and reused in [1] to > define the new rte_devargs structure. > > Would that be ok with you? For the purpose of this patch, this is OK. I will read through that patch series and comment if there is something I have comments on. Thanks for highlighting. > > [1]: http://dpdk.org/ml/archives/dev/2017-July/070225.html > >>> + 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. >> > > For this release cycle the discussion was mostly about forbidding (or > not forbidding) characters in bus names. This character is one > limitation previously defined for device names, to separate the device > name from its kvargs. > > I am thus following the current rte_devargs API. > Not sure if that's documented. There are examples in doc, but maybe this > device name limitation is not explicitly said. I agree. There doesn't seem to be much devargs related documentation anyways. (is there?) If someone uses a ',' name (ignorantly), they would get a failure from this function because of partial name match. But its worth documenting - now that EAL (Bus scan) allows device an arbitrary naming (no more just PCI and VDEV). (I will try to write something and push as patch - that is, if I have enough understanding of devargs subsystem.) > >>> + 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.) >> > > No problem, thanks for reviewing so quickly this patchset. > >> - >> Shreyansh > Other than the 'device name length issue', which would be revisited in other patch series: Acked-by: Shreyansh Jain