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 E4B784237B; Mon, 9 Jan 2023 09:51:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D868440687; Mon, 9 Jan 2023 09:51:48 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 091924067C for ; Mon, 9 Jan 2023 09:51:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673254307; x=1704790307; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=vJW1l47yIcwlzCRFHs/xTW2tUBSRSXQRvCyCbXJuy/Q=; b=TJD9oxC+mH8NNp4O5GKTxJ8UeY56cZeA8YFdDjYTHCCEd4B7CfrEf+Qi sBI734NCVbsS/Dt1AAEi71PUVj3eqW4LAJzNxZiCVQArMw7/FknWj2aXA E171fHvPPHIsDmTIykSTj+Trrwz7pLKdnjmmsm5nBm5r1B69tXkzARlBd EK33GK4NCwkRVCD4wuSPGsVs95nIil7dTqUcrw9ivimzWyh/QfOPQTQJD xVOMbv4o+izglsV0Cl2oABXdLTAsY1WICicMj+LtlhCZbI4z8yAO++G7j h5CsZ++q211ZzRvIS5V37OKXpGQl6O7Frq3RqXK+4oARZeNlSNN24mAEl Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10584"; a="321529116" X-IronPort-AV: E=Sophos;i="5.96,311,1665471600"; d="scan'208";a="321529116" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jan 2023 00:51:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10584"; a="901932740" X-IronPort-AV: E=Sophos;i="5.96,311,1665471600"; d="scan'208";a="901932740" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga006.fm.intel.com with ESMTP; 09 Jan 2023 00:51:45 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 9 Jan 2023 00:51:44 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Mon, 9 Jan 2023 00:51:44 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Mon, 9 Jan 2023 00:51:44 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ASRsQR4Yoo6qHGQEAD4fFzEOjZ/otNciqMe82sfgE+Kt+z7ldNxaxhvYdga3tlXUmdK/6PQzsBQBgQtyw6a6Km3KnRb/kB3kauVbR5JtUc7w7gUY6vNnuFDOLIc6N0n5E0QyT/1EFbDFhzqrIoCkAQ8Rymi+0/fCTsUlyLwmtjn/ZghgcEfmo69SFfm77c2Ha0hR4/SciktgVMopH7nW12J1jqH0Z3s50nSQno2/N8oe94tfpFvpSyeo0xN6GrRlbjJtADKeLymD9oPl5WRr8o3pyOiMwZhKjYFWV+2JMrPfDEiE6Pi9bfDg/YpLZTkbJ6RgKv6p8C40fZ01fDoVMw== 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=Kt+bN4tez8GKp4ApV3XkcQv/U8xlS4K2AhmkDOA2Yic=; b=PNSH7pVJ6RcSQe0tLoeSetwbSQNuXpbbz3a0fcC6t8eAGWzYzm4CCgpqy3ZenY8P5cf7Dji2wrfolyKmKg5d3CqfK8DyIpAI6uhIrD8YuEp3sRY0p/O387pF1PYiVbjUmTQNFaNoqAEw/CocMQL8mH44AKn0zHBr6TD2zgOj9wzwdNbNWJ8rBVwgKJa9g/oJSeABO5iV4oKacV6CWdEtzkSdrxJ3e/bHTGA4VMJrXSBcXzlXqjYbHISxZ+funwMARwn16SyFznw2NEeuVtLrTkzvNEEzduBsborI3qKYkL9v4B4vpfwMIzG6ihJX9GgaO7P3Q980ag52Z7WEhJtcCQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by SJ1PR11MB6106.namprd11.prod.outlook.com (2603:10b6:a03:48b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Mon, 9 Jan 2023 08:51:42 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::4d9f:6867:2d53:9ee]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::4d9f:6867:2d53:9ee%8]) with mapi id 15.20.5986.018; Mon, 9 Jan 2023 08:51:42 +0000 Date: Mon, 9 Jan 2023 08:51:35 +0000 From: Bruce Richardson To: Tyler Retzlaff CC: , , , Subject: Re: [PATCH v3 0/3] eal: provide leading and trailing zero bit count Message-ID: References: <1669241687-18810-1-git-send-email-roretzla@linux.microsoft.com> <1673042505-756-1-git-send-email-roretzla@linux.microsoft.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1673042505-756-1-git-send-email-roretzla@linux.microsoft.com> X-ClientProxiedBy: LO4P265CA0111.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2c3::11) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|SJ1PR11MB6106:EE_ X-MS-Office365-Filtering-Correlation-Id: cf460e20-6e18-45c2-35e8-08daf21ebad6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fuY694CFxQWu7MkGawdtpG/PdtSogOWykan9s+nvulryR0o9yh2PVObZL3QMfke3FBXkw62h7kWrcKXYsvj2yA9fzZgeLWm3lmPhsaeQPJw+ZGzRvp83Eave17VegjIpm+W738Yf5dTFQryWIi9zX9k40i7Syq4c6WmctAH2o6qbZR//B+cqX1EGPnDfsdN+AprYKiyr4v3hBzcFyJu9QV/WdovKY1kkce/thxDwCi5qUBEmX3sLlFakeUhfx+bvXXCGMolSWdc/Kn1SiURpV6QVBRTovi9atYh7XYTsTmVwUbp7DE9JrmUZ0yUOz7j3C8UabRQ/C2pAQL6i7hA7OpXdwO8UxSbuGBNjX4fHIn1g3aHQo2hO9vmKnZiHu0fypbtCGKcxFjZZonDRi76E4iTd9Z5094YLQ66fMM9qxZz5G4gOaGWD+XQD1JtKk7etGsr2+FgUZ7UjRQFxYGOSpKHB4i5xItJWXldY+mvwcQWp3bIAaMlwnOkUgmpX0nlqqN8y2Ouo9MECe8NDu4Fn6bJYW+nLCh4n9HbuA2LDNJ8wpKfPoSWCWcbDAY7o6dGgYcx9FPhMUb2MRtbK2/peHXk3LRCJ89etmP5mh7hRdUaVCSrR0WZJ41yuvhUVq6YwUXXTIMVG0WTSZLPZzt4XMg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(346002)(366004)(376002)(396003)(136003)(451199015)(82960400001)(86362001)(2906002)(44832011)(41300700001)(8936002)(4744005)(5660300002)(38100700002)(186003)(6666004)(6506007)(478600001)(6512007)(26005)(6486002)(8676002)(6916009)(66476007)(4326008)(316002)(66946007)(66556008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?HdrIpGkjigJh3Npd252gR4A1g+Wr61KMPl3/bd0kkMHiXTOMUUex9tTfjVha?= =?us-ascii?Q?G5wHWn9lM9VgPVK6o1UBxamleJC8xHEhkXIKVBPqU4tGKUqMAvYQePd+PIEz?= =?us-ascii?Q?2RwX77xOZifKd6Tay4L0zySU/orFH2ErTNlX1W/iUXFE+RpwS48Z3SKRtsRG?= =?us-ascii?Q?orohon+kQFgECTX/2KQlnnkfDnplV0D7Glo5+856WZyHw9zjI57KwRyZvuc1?= =?us-ascii?Q?IfX8wvaZHhLYaNiweq08/A+r/Jzo3+x4PyOSUItTAue1w3nG/joRX6wonGhR?= =?us-ascii?Q?fXi1+vAtKXIwBl+i9axDdw7W5SEtqBNNEhdTer/FxUtvKlK3NMvKQH1/oauJ?= =?us-ascii?Q?Nl+EljmmvhSha4Jo2wRVW9jDFv9yHHlDKZ2O5xM7Sb/yMzchGULM1I/m3asZ?= =?us-ascii?Q?L1KvOcxKDpSHeb7Ajqa60hLobuhZiKLwDiRqQ4vodst3jPF0iakAPNB73Ear?= =?us-ascii?Q?OoDNzknWeUQsYDcQumsGO7VpLgcTUE06kHSsJTQet1+mDmHwG9WGTX+59VoL?= =?us-ascii?Q?cX1uSk3iNrl0PLcGuIR7HJTSWPXghlS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ascii?Q?TxTZpsJdVdp6wNJoKYIVqCL1vXmwPGw8ZRJmuSljH8Pd00irvIOOHOtmPYSr?= =?us-ascii?Q?IMALteC/7tLmn0CpTmTHbh0RcdLsD3iOLAvto7FjEOg2FNmZIu/vUZyDsyxB?= =?us-ascii?Q?ixXmlYS+3Wh6E+l03/x1CbdsRCJXD9DI9iwkLqeSKqpaQBfbMGH1ORhFyITa?= =?us-ascii?Q?ng=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: cf460e20-6e18-45c2-35e8-08daf21ebad6 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 08:51:42.5137 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6BKH+nzgeHd2sRBfjPytbNLSNz1lEeqYN1+THcmi8aOvkHFIVwyCBQ9jNlfL+plVkDZOHUf7fLpzgcAUgoWI1LfIuSiwL9gYuHOaz7PxLQQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR11MB6106 X-OriginatorOrg: intel.com 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 Fri, Jan 06, 2023 at 02:01:42PM -0800, Tyler Retzlaff wrote: > Move existing bit manipulation, log and npow functions from > rte_common.h to rte_bitops.h > > Provide leading and trailing zero bit count functions to abstract away > compiler specific implementations. > > Include basic unit test for new leading/trailing zero bit count functions. > > v3: > * rename to use 32/64 instead of l/ll suffixes > * add new functions to rte_bitops.h instead of new header > * move other bit functions from rte_common.h to rte_bitops.h > Series-acked-by: Bruce Richardson