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 E975342E47; Tue, 11 Jul 2023 17:06:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 755DA40A7D; Tue, 11 Jul 2023 17:06:01 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2087.outbound.protection.outlook.com [40.107.223.87]) by mails.dpdk.org (Postfix) with ESMTP id 033024003C for ; Tue, 11 Jul 2023 17:05:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XYqxROV8c12sV1r+NFuP5yHHuyPYD2hyaS+S1Q1jCK1kOt3HRXrZOI/3zd2N9c7ynNvrXbFmbH8o7ZEeNOuMo6rmAsc5Af0A0uDf/knDkW55pIY9sK2em/Pk26UqwrpVl5HdseSxb3L9Ci8+dQvJzhKfaEKwSUzuYKduaN34ufhhVMw+pR3wJEAZNNSp/HxKVsrdFAvcctb7Hw4Lx2e935kKsQyF0i1Hg9wNenCN4qJP3PwOTPU2sQLcE7pxtrbDGJ5jMS0U3X057Z/cFz0TTf7ni4hpwwFR7FufFNOPd/zSKndU3G8ZlDjI0TjrK8EvuZ3XJJwAAudbEWW9WaWqxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=LOC+P+aQaamJL5GjUHUGtnLYEUmVB/WHj5dU7cCicsI=; b=D8tgeFxsUwKGLYnah+dwq49n2hBqFgxX0Va9/Uc1/sjkunXORiV128i4UASJqifdNoN+y3ENhIKaK/zg8O/F++ZwbxNwWHco1Fvqh5LOqRu9ApBLysAzavENv27tqyFFAxVi7XuS0MDi2ZnW1EWiz0QkO8gjW9ryhFp5pjZym9t7pNffgsXG7SpIqwPkOFrGkHvLoxCdxuLJ4Yw7rJJOJWmo16VB9KiROXk2t/H3RIpdPMaanMeEfQEn0GjJ0tEXek37TjdLJKU44N+4sMIrmtPkbd8eZakMdPICQLcsFstlr78/Mwt3uHdx3Cfazsern3k18w0JZ6GR60bLYoxk3g== 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=LOC+P+aQaamJL5GjUHUGtnLYEUmVB/WHj5dU7cCicsI=; b=TdRjHXQJxDVMbmi9wTQDgZOQp+uDSh6WX51U/MuwXxSTQBGdO+PuoI/VGQbCKAfscWK6hWK8EwGPD/RVDunfw9hKUX9i7Js6K8eq/e0g6hHKnIkmj8KlWgi9aak0z2w7vusfuUzjfccE8cw/pI5Gxpqfmt52xlw1vuZ2Y3BQsO0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH3PR12MB8308.namprd12.prod.outlook.com (2603:10b6:610:131::8) by DS7PR12MB8417.namprd12.prod.outlook.com (2603:10b6:8:eb::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.33; Tue, 11 Jul 2023 15:05:54 +0000 Received: from CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::94b1:423:1e2d:d6f9]) by CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::94b1:423:1e2d:d6f9%6]) with mapi id 15.20.6588.017; Tue, 11 Jul 2023 15:05:54 +0000 Message-ID: Date: Tue, 11 Jul 2023 20:35:41 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v3] bus/cdx: provide driver flag for optional resource mapping Content-Language: en-US To: Abhijit Gangurde , nikhil.agarwal@amd.com Cc: dev@dpdk.org, david.marchand@redhat.com, Ferruh.Yigit@amd.com, thomas@monjalon.net References: <20230705065235.4767-1-abhijit.gangurde@amd.com> <20230711055147.872889-1-abhijit.gangurde@amd.com> From: "Gupta, Nipun" In-Reply-To: <20230711055147.872889-1-abhijit.gangurde@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SG2PR02CA0013.apcprd02.prod.outlook.com (2603:1096:3:17::25) To CH3PR12MB8308.namprd12.prod.outlook.com (2603:10b6:610:131::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR12MB8308:EE_|DS7PR12MB8417:EE_ X-MS-Office365-Filtering-Correlation-Id: 5d2dc862-f532-4bee-d94b-08db82205259 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vK6tJ0/Y87d8OiDpE/0rKOsw6cFWyjLNcHmD2vUrP/zc0QImyktn386kFR/pYxKwNQ5D8U13lzLUf8ZAL/qRwrw7EXHhkh52AEf7bXvx7WpGNKL1BkozGuLosOL6hfFI2ZCH0OwLfRwFmNNkvOrfYwuIa7C9LjSqMbW0rn/q/m85VO2ECqRWmmI1zs07Q8dbLQO3guKg2MB62XHQCCKKvcOAh+zEsIjvtitNtKWfkjce7SdYw1jfVFYnBnsIV8fl5YWZW1bEVm/DOSO/rbimkIf0mdVtiCUSIcL0d5QryISu3pYUGyE6tg6rIXD0qV5tx4kqV4ux9Lx6EtosyB0McaREqkNYxunGcdxuRtD+rq4Efrpehi1uxDrgosPc+/ZffU7tMYmdXaMX2cJXRXjulLx09ZhcxeW/zLlfHLS9p5+U949qQX7YrvxwpnBCrEBjS6tRaTW8YpEhJ9bKPSq8uWd2Z2pME/eV6HDBi2Ook7a9ceBh8QNHWlEsSMxHEO9akobBUn5fcA4sgx5MO5ve3K9Gz0427o09E4tPYubbIrqNsXEJmAMm8OJEm7cFNcqYnGEwVHl2TU/xhzO5EI9LUDWl4KcfoWTSPa3us8GIxL3QYdU8np8g8w1sp+y61szT2jmsz0GorfDQuCB43KkGEw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR12MB8308.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(366004)(136003)(396003)(39860400002)(346002)(451199021)(31686004)(41300700001)(2616005)(4744005)(186003)(36756003)(2906002)(38100700002)(5660300002)(26005)(4326008)(6636002)(8936002)(6506007)(53546011)(66476007)(66556008)(8676002)(316002)(86362001)(31696002)(66946007)(6512007)(478600001)(6666004)(6486002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WTBJVU1uamhuWnBtVjc4bVdMQS9KeEN3dWtsRXU1cWQrSGtwNkM5bElGVVNF?= =?utf-8?B?NDQ1dTIrZWxLYmJ6WWNMWFhVV1FWMEhXaXEwYkE0U3lKNWN2VVZSSUpldmsv?= =?utf-8?B?cTJCVktiV2RYOVQ2VWc5WlZpT0JPRzZWRFhWMEttQU0vU3N1SXEyWHM3Sm9w?= =?utf-8?B?cFJGSm0xUkFHNy9qeHArN0lacGhlNStZMjA0Z3lBcmpudDRvQ0wxMHZCbDF4?= =?utf-8?B?amZRcDZtcUZqOXRsVGl2TUhpZWh4QmRwZk4wWndzdDNYc0lOaWVPemdKSG1X?= =?utf-8?B?VXZCOFRtZFp0cVpOUVNXWjRCcU5MRU1Db1VtZkYyandhWmdJUS8xYlowN1lo?= =?utf-8?B?Tl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X-MS-Exchange-CrossTenant-Network-Message-Id: 5d2dc862-f532-4bee-d94b-08db82205259 X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8308.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2023 15:05:53.9543 (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: 3UZD55eHPpQ44V2fbfivWW26/fXQkpLYFxPRIdaHOLMILtDGL8OuavfQNpW9GLf8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB8417 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 Please use 'in-reply-to' of the first submission when sending any subsequent patches. On 7/11/2023 11:21 AM, Abhijit Gangurde wrote: > Provide driver flag which gives an option to map the cdx > device resource before probing the device driver. > Also, make rte_cdx_map_device() API as public to map > device resource separately. > > Signed-off-by: Abhijit Gangurde Acked-by: Nipun Gupta