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 D927A432C7; Tue, 7 Nov 2023 15:25:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6419C40698; Tue, 7 Nov 2023 15:25:47 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2062.outbound.protection.outlook.com [40.107.94.62]) by mails.dpdk.org (Postfix) with ESMTP id A82D2402B5 for ; Tue, 7 Nov 2023 15:25:45 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qy8nlQZpeY1PuGVEvsqDHXQ2SKzfSH3SnKwN719wH0ByO2u9mM4sZkRLCWI9GgfBSNxKQOSlXIQaF/jZruflzZeTx0giIN2DTi6on9TvC3a9tBaozuIYR16+plK/2R5SJ6GOdaweoxvXhbYwRpuOMirkd3spFt7gsYBqqNXhR+hqcQoQmnp3YDYJCsA8qEeXruBenDEP3NBZRICjhJ9H12f+fhza7N5TD7kU3sj0QiU/rcn9oZ4D1cHzmjrWn31IISQiPs9txZ1S0HQ8qAthP1HgzuEOronLa2Jj2QJbdZxTVDigocjoX1KHNf9k38ICEX1HRzds7/hD6+8/r/+pXA== 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=k5PItiNm70MkevnWE0d/Ehk34OJf2DgGaJKe+GjbCEs=; b=cTU7eVH6UTKZRnfMKjXNqHxFRMiW3OZxFfccAgUQPZ2ebP4swpSt6BcUn2ILPdq7HSkjbGKg08pUT6kOVL2cHiubCxstEo0OzHcg0zshYZRVjqPmR35ACJ32QnSoFKfribEEh5pwoczFojXap+HDftZqdrk7zNw1HuV4n58ED9PZkbSBg/umHsmUpNmMdWklqLCSVfv1jQV2M8DtoY2+8m8huVTxP2gLETetnksplLtUwJQ6RZzXGownFXWO6rAbiGoB4+n3RrUlH0g0c3wXz3oEmB/r59SEc9gGdgl4Ye1dA16fBLYfbGCJmBPp317880VvHix9Mba++WvJivnO2Q== 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=k5PItiNm70MkevnWE0d/Ehk34OJf2DgGaJKe+GjbCEs=; b=jG9IJveygEXRZ4bCI51SGqdt+7dqngFOwbCmr6JyZ+m/fYtZUk6wz5zpHXzOxQY2m1zLKpeIhzrasKvLNLHAWoHDa4mz3cw2mQ/pgqH+pG+NtqFYgiTHuTEVswL8wk7A5BuBKbtkYYDphzToHKYLfsDm2mc+HreB8XV9wOJaVL4= 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 MN0PR12MB6125.namprd12.prod.outlook.com (2603:10b6:208:3c7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.30; Tue, 7 Nov 2023 14:25:43 +0000 Received: from CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::1ff1:d311:1f3a:5b42]) by CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::1ff1:d311:1f3a:5b42%7]) with mapi id 15.20.6954.028; Tue, 7 Nov 2023 14:25:42 +0000 Message-ID: Date: Tue, 7 Nov 2023 19:55:33 +0530 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/2] bus/cdx: add bus master enable/disable APIs Content-Language: en-US To: Shubham Rohila , nikhil.agarwal@amd.com, david.marchand@redhat.com, dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@amd.com, anatoly.burakov@intel.com References: <20231027162212.3353973-1-ferruh.yigit@amd.com> <20231103112016.1945684-1-shubham.rohila@amd.com> <20231103112016.1945684-2-shubham.rohila@amd.com> From: "Gupta, Nipun" In-Reply-To: <20231103112016.1945684-2-shubham.rohila@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BM1P287CA0001.INDP287.PROD.OUTLOOK.COM (2603:1096:b00:40::21) To CH3PR12MB8308.namprd12.prod.outlook.com (2603:10b6:610:131::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR12MB8308:EE_|MN0PR12MB6125:EE_ X-MS-Office365-Filtering-Correlation-Id: b5581d5d-0716-4519-ff34-08dbdf9d6c5c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DAbokT9wjCre2MVIIy6bDyFRlNh5QSUJiQjs+MP8DoAdBi8qNLTuJfCuKWPY/pkxnyIGdSAfJzNSARlAmD5IKZo5+JvheaJMLzcYrc8HyTlP5/l/H3wq8qnKZolYvIND4q7GqJ94K0Wdf9x+QeMaePj3bchqcgyY1DXb57Uzsvx7VaRk9tBzIm75KRBBT+4QW6n8JSvJ9CwuSq4rGgiRD4TT69irKSOGF1ZohUn9V5vSNQEnugre/9NCMIQ7YGJJS1i0KHc3PIqWsu7NB1hub3Zv7Bp/+Mt1LMW2J2w4vIBqqHKZ8IbQ07aq3VQue7Yh8EATNhKlRoBcZEgrkrybVxGNeK8ScZ9ijJtgAYXTJVBsazJ1R2hkBb2AIDz6SlvZ1tp9wB6+gMhb0Z3/5L9Wr+KDZVZkpVicvQ16rWSdODLLJ9EYlG3AEB9XbzpLMGWzZ/jzdP22rhsrX+z0BTFenMXtPcwWonX/SPzefjaPe20BgdhnbdgZIWiMvxycm6T/ZO290/Ya2Xl1zgni6/5r3UhfqdH4eB/uz5HWOgLjnpMymHibfqff/O2YVOJCGEP1X+rLVLMqIe+/7SVRezetRjV1DyYXFmX2Jo81zvF0nrXPiN2Jjol0BAEHJizhY4gTBdlkFfffWGqd1KdZk0vEwA== 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:(13230031)(366004)(396003)(39860400002)(376002)(136003)(346002)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(38100700002)(5660300002)(36756003)(2906002)(4744005)(31696002)(86362001)(41300700001)(83380400001)(8936002)(8676002)(31686004)(53546011)(4326008)(6512007)(2616005)(478600001)(66556008)(6486002)(66476007)(316002)(26005)(66946007)(6506007)(6666004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TzVQQTYrTGRVaTVuK2JEU2VpV09yRGhsdzF0elQzWjBGa2VkWFliUTY2N3p6?= =?utf-8?B?RUJUdmU0bDRMUWo3TkVkbGV4eVJXWXYyZXpta1N3UnY4YU9CT1BvcWpkRUVC?= =?utf-8?B?alpIWnRXNnR3Tm9Sc3dIcFBxTldKVDdBTU9iRS90Y0Z3UGFkbmFoa1Jlalow?= =?utf-8?B?Q2VVbmNneFhSazZrWFJHZVlUbi9LR3hlT25qVW9XcVBZVDY1MFZTYjhZQVdY?= =?utf-8?B?Ymc2UjVYbDZ4MlRJeHFMelVWZUdtakVuQThZRzdsWktSdWpZT2FnWTBYRjBo?= =?utf-8?B?YzJ4Skx3b3NDOTl5TTRMbXNOejFYcUZoN1pTQnRmUjNzOHpDR3d5L3NzZFg5?= =?utf-8?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= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: b5581d5d-0716-4519-ff34-08dbdf9d6c5c X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8308.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2023 14:25:42.8359 (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: cyOsgz0l7N2N4i53CGN8/GMOexUc8yVTb/gWbzkHytEC5uCz+voZ9NuRMxttpYdO X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB6125 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 11/3/2023 4:50 PM, Shubham Rohila wrote: > Define rte_cdx_vfio_bm_enable and rte_cdx_vfio_bm_disable to > enable or disable bus master functionality for cdx devices. > > Signed-off-by: Shubham Rohila > --- > v2 > - Fix indentations and alphabetical orderings. > - Wrap checks in parenthesis for readability > - Assign argsz before using in rte_cdx_vfio_bm_disable > - Remove unecessary variable initialisation Acked-by: Nipun Gupta