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 009C4423A4; Tue, 10 Jan 2023 14:56:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E961142D15; Tue, 10 Jan 2023 14:56:23 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2058.outbound.protection.outlook.com [40.107.93.58]) by mails.dpdk.org (Postfix) with ESMTP id 1B4C842D11 for ; Tue, 10 Jan 2023 14:56:23 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JBSBx41GdpJp5afyakEnfbw1rly4UlKwkk+VtCEy/xtvKPE/s7GFBCKQKe7b4UmTRcxmnEJLXLLZsvAfqVG4tntL77DM/HT22tuxg22CgopV1LPkAiv3BckFnZRM0RoX2mnVwveTYB+5V+r4ik4XAKNgnCGip4izW/YfLu5yPBqgvClw4uMuf4GGsVEH4VaFylifMjZ+ImQg9JgL6YEBFXF/5D/NxIrYKYD+Ohb1VqbC7BkvMNkvw1TD3/g/7qxheB5pJXH2Gxn9NNMSKDx2zcWIg9dggCrUOhYCuW3cAwqrwvlzHLOmpNCh+vi/C1YCvplnrl+XLeY3+6IbudbZKQ== 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=+UmDEQ0l7geID+/XTcxTlqgxc0K7ocMyVYCVP1SrsD8=; b=m1ZFkA4XOOXV81YHy34Rn2D0b79FYY5qN6fseVZk0Dyqy/KewHxQHb9D8zDvSpBuPKN7aZNkQUEgACTZHVxpH9Z2bB4woOniOjuqY78HGlDye0Si4lTlIDiQ1VivuBkyXHfTYjjbUc/qYTkvxGrcb19VnatryV41Mo5NRhdDfmkUrIzu9FGZaIvz8dfek6Omnbd99UvzTjl3YTp6qHT30r5QykHtoIaF0qnRsa3Rwb926lW6btBY2tGbkc4vf5mPS0dhnNRDEaDZ94OoldNrqCAnuu/T41shnfE9vuphFdkpfYfzr09nw9hgQR11kcSXPVKsjZk/1pdQN9TXwGLD8w== 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=+UmDEQ0l7geID+/XTcxTlqgxc0K7ocMyVYCVP1SrsD8=; b=AfZ6wpwIChnc5pLP3Cnr4O4uObfUQash2erSdiy017aWs3aKotEpEstwMf5JDXh+zmkb07zJwh5U7psSjqZ8834kQFGgvI8reu9vi40NjpdTa+VZyt298XjvqIFGpqmcTzVQxZV9cVmL6bZ/a9oAgGeUKZ/OxD6HmIaaAO2TexE= 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 SA3PR12MB7877.namprd12.prod.outlook.com (2603:10b6:806:31b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Tue, 10 Jan 2023 13:56:21 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a%9]) with mapi id 15.20.5986.018; Tue, 10 Jan 2023 13:56:21 +0000 Message-ID: <137fb47e-acc2-5779-09c2-1b9e60e9cfe4@amd.com> Date: Tue, 10 Jan 2023 13:56:15 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US To: Tyler Retzlaff , dev@dpdk.org Cc: thomas@monjalon.net, mb@smartsharesystems.com, bruce.richardson@intel.com References: <1669246997-30592-1-git-send-email-roretzla@linux.microsoft.com> <1673285784-14394-1-git-send-email-roretzla@linux.microsoft.com> <1673285784-14394-2-git-send-email-roretzla@linux.microsoft.com> From: Ferruh Yigit Subject: Re: [PATCH v4 1/2] eal: move bit operation functions from common to bitops header In-Reply-To: <1673285784-14394-2-git-send-email-roretzla@linux.microsoft.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P123CA0050.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1::14) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SA3PR12MB7877:EE_ X-MS-Office365-Filtering-Correlation-Id: 6d2bb20f-4838-4f43-f38d-08daf3127450 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MU38+qRJQveI0BesdJexSRo5qyT2asbko84kSfKgaeAJj60idbW2moYdrl7m8Z7RmKg6o56PQugOhj7R6uc8D8fuGZFxLM/tlANSRvvOFfnDl4kNCwOw1dIK/NUVHKYLvkwUw6XplS7kA4eU2VTyK3oqLT2mRF4yJuABKr2KRJSKZWieKFKYVcBGPuV1r0SsnkZnAdb14Bw9loi7rggBmr7oWmwsAGwpgJ8iVkKTdZfugCe8aj5eD8Y5Got4C7a7uRsYzCNukwS590RmdN2T6y2qtpIKoOX91LSgvBRLbHfkmvk6BSUTBY9tGbV/wROCvat94ZIWNpz2ovaF73W/ozeQ6PtXzzQ7dNB2E+w8gyhnatIbnFmoVS89yS3BxP8cP2vFD+fkttVqsZuF/RtSUOgSw7OBNIxhfOsFy//MXEwS35B963oHghW2psLPWcRzTGWBeddZGO9ItfwxsOKHaE2qHGHMM1O0e0u1eEEaEoN2NmlWYt0LbWPtjf17HJ0YkS193V6f+b/8+wybjILXjXmo7ml2u+aPWFYKsUomzQiiNA6j49STQqgah08aTJA62ATV2p6bZqysh06olobgbsIhJSZF/1+PEbTLDYnQr3UIVP0v3mkgFXfOgY+Rx65yvWDZKIEBLe47Nk5G4WOhaKLnTgvoNZs60M1YrFtXQbQfOUh2gbFQB48GY+PO0Aw/3clUusatSholQSkmiqrVlVs/YDyC6Glk6aoOhNru7Qw= 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:(13230022)(4636009)(136003)(366004)(39860400002)(396003)(376002)(346002)(451199015)(53546011)(31686004)(2906002)(6506007)(6486002)(6512007)(26005)(6666004)(186003)(478600001)(8676002)(2616005)(66556008)(36756003)(66946007)(66476007)(316002)(4326008)(41300700001)(5660300002)(4744005)(38100700002)(44832011)(31696002)(86362001)(8936002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZWVOeXNiVzM0Y2FDZFRZTFJZbmIrZ1FkS2dXY3Z5cTlzUmR0dU9zS3lpY0Nz?= =?utf-8?B?SlM1dTFtQWlraWF5cFJoZFFqWGdXMkY1MW9mdUJSRW5iN3dmY2VRUCtlN0tv?= =?utf-8?B?SkM3ZS9IV1dJdmp2eDZvUWwvMDY3UUZROXVHTHdCTXV0bCtKOC9ZSkMvWWd2?= =?utf-8?B?a1JBMkxRNGVBeFMxckxQZWlHOVNEOTBMU1hCKzVnTVF1UXVPVWd2dXJoNmNl?= =?utf-8?B?Mkg5dHZTQjZJTVUyeV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rTkpCYjBhb3BuMDV4Rm9p?= =?utf-8?B?V1lReWlWUUZFSEgveW1YVWRwLzcvMXh6a3Ezd3FZdkt2YVNBaFlQUlJubkE1?= =?utf-8?Q?6jaTOTnARxkTsFt495xhZPlAc?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d2bb20f-4838-4f43-f38d-08daf3127450 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2023 13:56:21.4657 (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: HbyW2Dq2hDaFwlARHeNHYYAfR8sJhNB4wzQTZsCki1eUG0AXFKvX/lCP2KXqN8QG X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB7877 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 1/9/2023 5:36 PM, Tyler Retzlaff wrote: > Move the following inline functions from rte_common.h to rte_bitops.h > > rte_combine32ms1b > rte_combine64ms1b > rte_bsf32 > rte_bsf32_safe > rte_bsf64 > rte_bsf64_safe > rte_fls_u32 > rte_fls_u64 > rte_is_power_of_2 > rte_align32pow2 > rte_align32prevpow2 > rte_align64pow2 > rte_align64prevpow2 > rte_log2_u32 > rte_log2_u64 > > Signed-off-by: Tyler Retzlaff Acked-by: Ferruh Yigit