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 CA7A342B49; Fri, 19 May 2023 15:56:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F54D40A82; Fri, 19 May 2023 15:56:00 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2088.outbound.protection.outlook.com [40.107.93.88]) by mails.dpdk.org (Postfix) with ESMTP id 959AD400EF for ; Fri, 19 May 2023 15:55:58 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JPx0xe8c6u9B5Q7osRMns9/KQPUFLDB8baQOi0oHJGL5zArh4a7ioOLPRN2cAjRclJuopUJ0E+2qwwDrmILcsbJs9w3KvEex/mDZeBqTW4mGSTqS8hTkUwHWlH9m92kov6r2MarS8v2vuWtMnIsduZNUCKCZL2UdM8Uh/QL+CbHJCKhc+BhK27nGNATF5AGgCYf3mEfW43tRST2fNLG7yGjyscWHuaXelM3VX6wSEDQ+i0KnQ3ZKuEPSvKgIyE7DxNDcpBKzqc8yqkSSdOX7LkylbgU7bvScP/v2Uh3kSWVpXB11xZ0mi0HiLkdisZRAz/hsY2O4nUAwojPdU9ze+g== 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=tCV1tMGZO16/+r3j8Eqaa0oARsRFgy7ElbnqF0uoT7c=; b=gMJG5oLIkAlUHlhes+ln250Ffp7pU+vjKb5W4YFfaTYRdl7worsGogXF2mpOnW19YBx8sexDuB6qLGqChICSLDVlkkIG7MavAVYFpGmGxQ1dfIRRs34hRlMRBmlQ2t4pyO8dwfkPncrPxYgt1x/wYm7A5cB87ouIXvSHiZF+wZvEABGKbZ6l7qM8RduIwNwYZm37QyyvmO16Nr5pyKbP2YZMRjWshk+zHAI2AmJaASFzcFdd8fcu0VfYmoreGEIsLgvM30nIfjFOcHVEN1nNidMkDrtX0D/YNyEk6wD791Xtnfo1pyAoCis/u770RRrSwD8eCI9KTlA9gaSk2a8B9w== 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=tCV1tMGZO16/+r3j8Eqaa0oARsRFgy7ElbnqF0uoT7c=; b=VaXW7iWhaYYansVR1HBD4/NOpGcm8aeEz6hObrFjwDfsGZPSBGRPUc+qB/L/aW9VEaVxNIsETmXfq9F3zuWAshhhHnD+lnGRhzCPpTEhRiBk2ma8zoYeXUygz1qLmASUGP+r0SAMhu9LmSTqP/wDi1bWpngGGo8MU1SOaDZ0+zE= 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 DS7PR12MB8202.namprd12.prod.outlook.com (2603:10b6:8:e1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.20; Fri, 19 May 2023 13:55:56 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::7957:641d:6aba:3f9a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::7957:641d:6aba:3f9a%4]) with mapi id 15.20.6411.019; Fri, 19 May 2023 13:55:56 +0000 Message-ID: Date: Fri, 19 May 2023 14:55:50 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 0/8] make the logic conform the coding style of DPDK Content-Language: en-US To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com References: <20230519025950.1642943-1-chaoyong.he@corigine.com> From: Ferruh Yigit In-Reply-To: <20230519025950.1642943-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0273.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:37a::10) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DS7PR12MB8202:EE_ X-MS-Office365-Filtering-Correlation-Id: 33928174-53f4-4fe5-8db4-08db5870c47c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KfRFJNNg+IqGMm5ZoYNvV5iiYdB6EseZEvhGyoSVSx2QajAhfK0Si8dMglWj7CiqO99LvcMe6s8+GRjuOBlG64mmmJl8GJ5zbvCt1rFhukM9AOLic3Rm8+poPrDYeXFsoSuj8+KU8m8k1Ze3hUPg7IElhl2RJZD2kzqt0QY84B/JrDjDNeakPWjFfCNJh5jbRsRfZF0QJavTYNZnJ9eom4JP8DrQOwwzoKVZc78ho5Ka3E5RtkexOig9ia2YVg8/KsYR4F5A6fc9YqYtGAf46VUeuCW/C5cQwJ8kZ6SZGuWiRjHFW61iXpJxzazv4EgdohGpMnNqTymOsw3gvT3tsspuNiCFNJJc1Ga+FPxtxamCb1OLb4pMb8NXpyq2WaN5d6bouxsAXd6etmeFhDGkPrvvOKnhIuF7t0V4FIIIRWDyOFK3EPvMQIXEmF6bs+rug5UjA9aCUojD4kwlcqSTjrs5tvPOmUhm0Y+XTEppSO2O3jJkLSjdY7CLcowydH7tMqZc/lRrF152nPXonuJ4RCrWM3rXI+dk3NzJny+WC1s6o4OdHNOKrbloeshU64Kfet/ayGce9a/JC1Ixk1FqaPJspLnOT/o91o+Z57BZHD158yqbVNd5mcx35a/WUadZ3D9NEm/T8pQPDwo1bH9TFg== 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:(13230028)(4636009)(39860400002)(346002)(366004)(396003)(376002)(136003)(451199021)(86362001)(31686004)(41300700001)(8676002)(8936002)(66476007)(66946007)(4326008)(31696002)(66556008)(316002)(38100700002)(44832011)(4744005)(2906002)(36756003)(478600001)(2616005)(6666004)(6486002)(26005)(5660300002)(53546011)(6506007)(6512007)(186003)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QmVNTWZGd1Z2aFErdG5SYUREeFlnb1lOTEJxRmpmU0VVVTZOOW81VGNRUnRu?= =?utf-8?B?MGpRK044NDdSZmtaejQzZ09jT2FmZlg4NkkybnVsdmErdTFyMVlXa1pZRkNu?= =?utf-8?B?Um9CTXlVampSR203OGtCb3EyR2VZZXVuYm8zUFpMWTdoUkR4eVRIRG9NUkNt?= =?utf-8?B?cTBXWWp4bVlYdFZ4bUJEZ2xnYnlxRXZSK0dSdFlWdzY2VEdydUhJdEpBenBE?= =?utf-8?B?SFYwNnFsYWpsdVYzUW1HdTY1bGtvRUcvYnR2bHlNZTBRQlBjYjZodTJDV2hr?= =?utf-8?B?UTAyOFpUeXcvYVVheDJUVWQ1em9jWC8rZmExR1pBYWo1aTVwK2hyMlh2blUy?= =?utf-8?B?VnJhQ3JYSUZqeTJhQUV2RVJJTXVzVmM2ME1EcFFpS1J1YkRsWHAxR0ZzelhK?= =?utf-8?B?QUhxT2ZYYlRpTGN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RtRHUrUU9pcU4zVWdoUmhVQTVBdXlyaHpNV2c4NFd5OWl0NnZ4VlRScDJv?= =?utf-8?B?R25NU003V3lCdm9jTXVsaWRwdVhMazFaRjlKVGlscXBlRThFdWhxYW1LSnhM?= =?utf-8?B?NzhhaXVLTnJ4blpYM1l4UXJlQTVQQWtnZmhjc0E5NTcvVGg3RTQ0cU9yTm5P?= =?utf-8?B?SEdIZUEycUtUSHZSdkxEak8yRTBKK0docVlYT2JHcWZzRXhWcGswOE5RS0Fh?= =?utf-8?B?VTVHcXVJcjNnRWhSazc2NWcwVCtDNmdyUjRMSkF3Y0E2UVdSdEpOc21OY0tl?= =?utf-8?B?a0tXdC81bHJKMkFiZ0FPUzl3TUdicnZIdGJkWW0zeEVQamFRNG44bDNuNGR4?= =?utf-8?B?RWpUSTJZMk1YbUloaW1DWSs1V2RkT29RSGNudEVSQW91OXNZR3BrSHliZlF6?= =?utf-8?B?R3JlWWlEUG9nMUc2TnFVdnN2eE1QdVBsRitKN09WM3NnYktCSWo5Q1dkUnhm?= =?utf-8?B?YlRHRE9VRHFEQWN5NjNwd2hFTWxkUlQ4Wk5RaExRM082UWYzQzF2Z3JPNkEy?= =?utf-8?B?TmVFR0R3NVFSVkNJL1A2d1FmaXVXOENMUXJGZURhaWI0cHJqdHl5anExcEd3?= =?utf-8?B?ZG9NMHZiYkNvNnVmNkVLMC9mby9INGN0ZkIvci9XQmdUTEUrUlFqVDBqUC9U?= =?utf-8?B?Y2hjb3I3M2xWemcwT0ZvUlgzMDE4Q1Zabmk1dEVuVlRkVXVIOFlwak5RVmdu?= =?utf-8?B?dE5OV1NQU25QaXlPeUphNFpOSmVibngvZFZkQ2M0S2xDT2RDZS9tQjJaTkxh?= =?utf-8?Q?aQ+yCQNx4E92uDT6JnFkL0iCR?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 33928174-53f4-4fe5-8db4-08db5870c47c X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2023 13:55:56.4071 (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: xnaj34+ot/3bqd8dkSHdJJUMu1j2B+x0/eO4dLERVaFFCupUTm7qH4KIEUVrkCGO X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB8202 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 5/19/2023 3:59 AM, Chaoyong He wrote: > Modify some logic of nfp PMD, to make it conform the coding style > of DPDK. > > Also remove some unnecessary macro and functions which DPDK has > already provided. > > Chaoyong He (8): > net/nfp: reuse the ring buffer struct > net/nfp: modify the rxq struct > net/nfp: modify the Rx descriptor struct > net/nfp: modify the txq struct > net/nfp: remove the custom round macro > net/nfp: remove the unneeded comment > net/nfp: revise cast from void pointer > net/nfp: revise the logic of MAC address Series applied to dpdk-next-net/main, thanks.