From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BFD25456FF; Wed, 31 Jul 2024 11:18:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB7F142EDA; Wed, 31 Jul 2024 11:18:36 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2062.outbound.protection.outlook.com [40.107.102.62]) by mails.dpdk.org (Postfix) with ESMTP id 9C29440668 for ; Wed, 31 Jul 2024 11:05:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JBevIkR/R9V2G6PgS1bqEXyIv/sAbGxLmezv+oHPGUCDThTcRgKtk1ZYx+c339DLdDLEPD035tOZrYs91LtHRKnLmYoZuKx+t7XoIzS0aUtT3toQhp+nym4zwZ7Jxqg5EvhxnIEumM1yaswS7/UYilv2XS0SamGlXPEyZ1dJutzmSzg/KU3gaCynNIOGsZMQ7hrFB84YOLG75AKwAH9waZ/Vdh0T1SKuIybLLkhKbJlg4NNbaHd7GzTCZPlOgOwIVSrtyNopyV6EYVe6FWcoTTH9gPJBdrWT4Z98WMCW0Ta238WhrOdtOv+b6y9vjzxc20GEQ07UPOIp5XmHmhotCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KvV9FsBYFWzfSbMg7f8kevvsswKElHv9HktOcVZog50=; b=V+tFKLIYDy1iDT7XGNqNf/BS2qmetsD7FMHiCXF/yOUptsaRWK+zUcN4di5sQ6XAgd3MB1ua1nO5Pr5kHPCo9ry0/bFao554nC33AvlcYemVVVWbNOmMRCGeWKh2+lJk9MLpGXCvAMdz7co55+H8o3zsV3S4jRUhuSdB6TD9l0uGIZ7oWlRdkhJTd0divZWhQLr2U4bO69BOrse406a5qP8TKM+OL2nbEzuFTnWiDncOhQXXFhAuq/DR3SXoRVJOJBXDFj/pD6qJDepZ0oFZveSPBzYAQ5dNc5onDYcwY1GQEhlg0TF8qddU9O6MYbFeoYRoKmxu39uab8iPRJ30AQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KvV9FsBYFWzfSbMg7f8kevvsswKElHv9HktOcVZog50=; b=ZJROWw6MuvDfzJbcAiDdIyCOYDABu9+aY/Zwe2gI/jRSLh5lqwqJFB4Wo/a15W8QwFNrOXERoNSyOk0Pw91cNBcBrXz3RXeGOXFDCHCkzprC6tgstvV/ovV2/qAonIYGlL+PcSQjvgKMTa3HoxfHEFZ/S3amKLmG0/aQjyGtyoQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by MW3PR12MB4347.namprd12.prod.outlook.com (2603:10b6:303:2e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Wed, 31 Jul 2024 09:05:42 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd%4]) with mapi id 15.20.7807.026; Wed, 31 Jul 2024 09:05:40 +0000 Message-ID: Date: Wed, 31 Jul 2024 10:05:35 +0100 User-Agent: Mozilla Thunderbird Subject: Re: Regarding port numbers assigned by DPDK for PCI devices To: Prashant Upadhyaya , Dmitry Kozlyuk Cc: dev@dpdk.org References: <20240729204329.58b888fe@sovereign> Content-Language: en-US From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/kEp49aIUhkRnQfmKmNVpcBEs4NqceNCWTQlaXdEwL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content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:60::19) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MW3PR12MB4347:EE_ X-MS-Office365-Filtering-Correlation-Id: 01c0b599-b13e-4a8e-f801-08dcb13ff2f8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?M3FKU0hTY0FqZTUyTnpYOUdWTXFqbnN1eVA0b2t3NkhjSHpucXdmRHBmV1JE?= =?utf-8?B?dmVnbENzbXNDbmtxTC9rNU51VFNsMm1DN29BT3ZKVVhhWEZIM0xLUWpXK3Ay?= =?utf-8?B?WW1NM2txSDMzYTdTL3ZZMmp4Y0M0TEphU3FJV1VNQ2xBSTJQVTVUK3hCQzNz?= =?utf-8?B?Z0d3R2xQQ1ZQQXlLZXRJT1NabE1VWklDV0pPQk4wVVNqUHZiMHgxNU4zUnkv?= =?utf-8?B?QXpoKzZPOXNBSHFQRUNkaThxOUNieWVIYy9kOW1wOUk3L1plM3JrdFFNdFQx?= =?utf-8?B?UUxLQ3IrQmoxUnRYQmZ5eng3YVRaSHRWZnJoK01WbGJTK2lCSzNBMVFjRi9H?= =?utf-8?B?S3IrOG9nTzIremZEam9RbGJVK3hWRTk5OU5pcXg0VXhJQmpzQVdSSHEvMWFq?= =?utf-8?B?K3l5MGFyYUZjUU9xMGRySlhDWU5aMWpERjhWdmlYSTl3MFJIaTYxcEZYN1Y3?= =?utf-8?B?K0VRTGpsTHJaMiswR2NTRVpLVjczZ3JaT3Z2eUs5WWI2UkJ5ZEdwUHBVTXY0?= =?utf-8?B?TzRwci9MT3N5cEM1SFFuUXBuNE1OMC9xa2xmbGl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85cC9yVy9UNG80OUpxSHEwRDVDUEhEUHBMLzhD?= =?utf-8?B?cjRsclJMT2lJTXZ3Zkl6c2R2YUV4ZTMzaktwQ25EVHcwelBCcFJZRGVRNVJa?= =?utf-8?B?Y2MwRnZYMkhLQkx5MnRUdkUwb054VTlyNytYOS81WXlVY0kvWWVDMk1BV05u?= =?utf-8?B?ai8xNVlrRG1uSkZPdzdmdnAycDdIYklOaE40cUhXV2JlQ3QyZ2J3YzFQaklE?= =?utf-8?B?c1JaeDhGOUNLVGZyTlg3SW1IaklPdlhIYVdwYjZkWC82NnZvTDJ6VElTOGJX?= =?utf-8?B?c0ZiT0lvNnpMNU4xL0RhdWRrbmdTSVFON1JQLzduN3EvTytEeG9lK1RReXlI?= =?utf-8?B?SlhMSmFCNUlkUXdOOGQ4dz09?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bm9Kd21HUDVXRG9MQWdlTDJhdlZiZ3ZPd0x6TlllVjkzL1hYNjd1ZC84VDZo?= =?utf-8?B?Y0cvRVJtUlo3bGNmYjJTWG5DbWtyVDkrUkJ2cUZTYXF0YUFzVDJKZEdRdDNz?= =?utf-8?B?OE5ZUVo2VlNsZk94allaUjZSRmlvdGQvbFpFZzQvajlIckFjT2xNODJGRWE1?= =?utf-8?B?T1BPL3BoNlg1ZEhJUFR0b1BtRGFURVI5TUVCVkJIVDBYb1lLSDZVeWhYR1hP?= =?utf-8?B?RVhWaXgzYVRLVDN0MTVpeFlHZFJlVW5nbW81TjVCMGV6aXNSQlphLzJWQXR2?= =?utf-8?B?WTN1VThhcVpvZWxxUzhhTnYvOGQ2dkw3VjJIQzRYalRuaC94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2EohNPGfdi?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 01c0b599-b13e-4a8e-f801-08dcb13ff2f8 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2024 09:05:39.9906 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WvbfoMKnHCuM3btL6U4lR0m7iEHO2yVhAut1M/bGR4YceSjRNcPwEY3lIpSBW7YX X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4347 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 7/30/2024 6:36 AM, Prashant Upadhyaya wrote: > > > > On Mon, 29 Jul 2024 at 23:13, Dmitry Kozlyuk > wrote: > > 2024-07-29 22:18 (UTC+0530), Prashant Upadhyaya: > > Hi, > > > > I have 4 ethernet interfaces available as PCI devices. > > The PCI addresses are known. > > When I start my DPDK application, it starts up properly and > assigns the > > port numbers to them as 0, 1, 2, 3 expectedly. > > > > However, is there a way I can force that a particular PCI address > should be > > identified as port 0 by DPDK, another one as port 1 and so forth ? > > Does passing the arguments like -a -a to > rte_eal_init > > ensure that, or is there any other way, or is there no way ? > > > > I am on 24.03 > > > > Regards > > -Prashant > > Hi, > > Why do you need specific port numbers assigned to devices? > > If you're going to use devices for different purposes, > you'd better have an application-level configuration > to specify PCI addresses to use for each purpose. > Iterate devices to match the address and find the port number. > > It is also possible to disable automatic probing with "-a 0:0.0", > then to use rte_dev_probe() + rte_dev_event_callback_register() > to add devices and to get their port numbers. > However, this API, strictly speaking, does not guarantee > that the numbers will be assigned sequentially. > One advantage of using hot-plug is that you can build devargs > from within the application (or from configuration). > > Refer to "rte_dev.h" in any case. > Multiple "-a" don't work the way you've described. > > > > Thanks Dmitry. Ok, so if I have the port number with me, and I know it > corresponds to a PCI device, how do I find out the PCI address of this > device corresponding to this port number. I believe I can > do rte_eth_dev_info_get to get the struct rte_eth_dev_info and from > there the rte_device, but what after that ? I saw some references > to RTE_DEV_TO_PCI but that macro isn't available for compilation after > DPDK is installed as it is an internal header file and thus not a macro > for application usage and wouldn't compile at application level. > > Hi Prashant, For PCI bus, most of the times ethdev device name is PCI ID, so you can use 'rte_eth_dev_get_name_by_port(port_id, name)' API to get PCI ID for port. But there are cases this is not true, like single PCI ID creates multiple ethdev etc... for this case, PCI ID can be get from device name: rte_eth_dev_info_get(port_id, *dev_info) name = rte_dev_name(dev_info->device)