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 139C242C07; Thu, 1 Jun 2023 20:10:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E555640FAE; Thu, 1 Jun 2023 20:10:44 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2084.outbound.protection.outlook.com [40.107.223.84]) by mails.dpdk.org (Postfix) with ESMTP id 2445A40DDC for ; Thu, 1 Jun 2023 20:10:43 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JS6Zixh8tvbtXDa9dxKAyQFDVlBumSbmGKtKBANOj6KZyB5snuE/6g36DPzQRPyfj02ZvSWMXUXs88ubG4ESqqcENmSRMj/5ikBPxUcQn/XmRsxl6srWDnI/iA0ZUnEdFIP0njCIypNkHdxvOYYT+h6FFkp5lfj+xGW7i6WKWa2XNs/FXiuF3AvGE0mU84UlgQ/+pfiIqWHiur1o8/yy0t2tO0I71XF/Go0YoHC26gE0TUA5y0fVdrtz56XlsIBuiPxtNKZHF0qBJwBwyO30q+ddvYWvTRAPkQjtzU2gGJ1BTXAZHoq7FLvCecUvNrwY09aLSUncZIXSgsUc2brvyg== 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=WFclEGOmqMajfcDRFV+/2gaJFoCWgxpzzBuNErodsg4=; b=ehBCEcx8fbj1pUEWkX/pjckFGEfgqaNCZ1XqYL1IxcJTnn0wPRwPffOeLBB0QRJX7NW55xlmCZ4BYGmFwao+HQabDh/R/cQN5D6JwYep6ADwl5ZY38n6ONBiZEyGtfAgKA7dYMiDOSKcOgK2TQ/pG571bYOYir+ZVz3hYRMHFp15BT4qw74ZyGZXIOvFynI86aoZFsWsb1riVi7TM4/FanL2c1xv2YD/G2dG9z4ewQyorsNWWYIFIdKpDRZudHW8aAvSe05khz4H3G6j62vntuDC2+rTtkRsENOGft4zXJY0DQVqOfOoSLHBnm2OaisGvFw3Wxr0qHcCRhKLpXOOIg== 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=WFclEGOmqMajfcDRFV+/2gaJFoCWgxpzzBuNErodsg4=; b=ricyPL7aLIpI/M9yAekSfaLncB9qzwj1nx2+F/tVDQKJ7eVh6YqRVkZNO8zzdvcWjIsEAfvl70/jziFV/iuHJK9t8FFptnlLFK7Wi6nzhDgTbp3vy6wnmOz3MgKkd5h7BruGbrLSULU1tfi1FfkGVRmLERJNNzFL/+4RF4nCw+I= 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 CH0PR12MB5370.namprd12.prod.outlook.com (2603:10b6:610:d5::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.23; Thu, 1 Jun 2023 18:10:40 +0000 Received: from CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::e452:1914:1054:de79]) by CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::e452:1914:1054:de79%7]) with mapi id 15.20.6455.020; Thu, 1 Jun 2023 18:10:40 +0000 Message-ID: Date: Thu, 1 Jun 2023 23:40:26 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v5 1/5] bus/cdx: introduce AMD CDX bus Content-Language: en-US To: David Marchand Cc: dev@dpdk.org, thomas@monjalon.net, hkalra@marvell.com, anatoly.burakov@intel.com, stephen@networkplumber.org, ferruh.yigit@amd.com, harpreet.anand@amd.com, nikhil.agarwal@amd.com References: <20230124140746.594066-1-nipun.gupta@amd.com> <20230525100821.12148-1-nipun.gupta@amd.com> <20230525100821.12148-2-nipun.gupta@amd.com> From: Nipun Gupta In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN2PR01CA0088.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:23::33) To CH3PR12MB8308.namprd12.prod.outlook.com (2603:10b6:610:131::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR12MB8308:EE_|CH0PR12MB5370:EE_ X-MS-Office365-Filtering-Correlation-Id: 325d1249-6fd4-41d7-175a-08db62cb821f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sQC3xb13jjJr6CesEpThGPpMlNHiUPRAll6WCc/NGZBGRddsc+DvNWlCRmQGubRq2olHYtYnVA28vz0JYOMl4Dq9lPnAKvYTz0FRFgpcSpsaxFQomIn9xuPtgzyJQMSM7hZm23pVO6NlnTPM1mI9ubD5o/UNEF5RvJeZ6KYGE62WVuR6pSC0NizPWUGnxQpXnJdB3exRpvXrUDgF7tp2+gDAirx35BIwjNNRTFYd2hv3BN3T/va6No1XBhlFwkj4mejSUoooJpLlkrVH9SKT2WQw654NvAu9LTfV/kAc2IlkTEX5H9az+Mz/S6Uo4g+e2vRqXhpbFgH0lWrA6VA6B+leq44mKrxRo/T45F2SoExe5UcYWLjIIMhuL+e9y/1wl1Rn8Szm1s6L/ZRZlqc4fe8YxMj5Lte7sbUsMcB2R9xv55ugDegFBcZKvo6LaJaeIMBRm7czrN7o2C9gJ4N3+KlIPvUMOjcPvd3oW+GHpmQ58MuTMz6GUoKgzosi5pwuqekHpSJyiq9W6pI68VQ7SR3BJkoCxQaTU7ewdqHjFSmf5nxWvsugFuagSofJ43zsPECt1csFe7OM+mgSrBgjf3KxRiaHHil5nr7eTZhRLIXXyX1rDrA0ESRCiAC7c5lwzCLcNh+Jk+lGiUGmUg3ClA== 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)(39860400002)(396003)(376002)(346002)(366004)(136003)(451199021)(478600001)(44832011)(8676002)(8936002)(31696002)(2906002)(36756003)(5660300002)(86362001)(4744005)(4326008)(6916009)(66946007)(66556008)(316002)(66476007)(38100700002)(41300700001)(2616005)(186003)(53546011)(26005)(6506007)(6486002)(6512007)(6666004)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Sk1obWpkaXIxOTBnUUVsc3BUQ2xNY29USVk5ZUVVUTJHSWxmYjNkMm93d2Y3?= =?utf-8?B?MGZkTkdidDNLbDF6b2ltSjN4VWtpQmpBc3E2bkdZQkpCUDQ2aTRMYnpQWThw?= =?utf-8?B?TFkxUUx3cWVhN2JveDhtN1ZMNXhvaWxBWTZLY21FQTJkc1ExZ2lZWEhKYld5?= =?utf-8?B?dXRsbVRjblk2b0s1TkRSSzZSQXkxaWgrWTBRWHVuVVZTakQ1aVFwM0JHYkMx?= =?utf-8?B?WEVkdCsycnByTnFRWS9Cb2phazJVWnBzdUl6TkNmUGtsK3RPVnhjTCtGanJq?= =?utf-8?B?aTZRbWNKcVJtMWJodTVYUDdCZGo0NVBTS3pyTWxWZVB3cFg0MWwrck1C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= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 325d1249-6fd4-41d7-175a-08db62cb821f X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8308.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2023 18:10:40.5336 (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: mYqmueGr8BwWMU1LL3DHKXuyDV3ydiWD30S2UUSV6wgRK3IuysxuX8ph3mLwQWP7 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5370 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 6/1/2023 8:30 PM, David Marchand wrote: >> + >> +struct rte_cdx_bus rte_cdx_bus = { >> + .bus = { >> + .scan = cdx_scan, >> + .probe = cdx_probe, >> + .find_device = cdx_find_device, >> + .parse = cdx_parse, > > I see neither unplug, nor cleanup op which is strange because this API > provides a way to unregister drivers. plug/unplug are part of patch 5/5. Nipun