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 7B39A45AA7; Fri, 4 Oct 2024 05:04:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3B6B5402DD; Fri, 4 Oct 2024 05:04:11 +0200 (CEST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mails.dpdk.org (Postfix) with ESMTP id 9363B402C9 for ; Fri, 4 Oct 2024 05:04:10 +0200 (CEST) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-20b7463dd89so18233555ad.2 for ; Thu, 03 Oct 2024 20:04:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728011049; x=1728615849; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=byQOWaVRFhCHe9QBvPvXoZ75oAYO1geP7w6AmxW2qsI=; b=Qy5+vszgPXLh7BPwVjnk6LGkxxAmWiMD1O24KzOceUTccsHm5fH/dgzkox5ErrfCHC 5TAU9VMpLsIVGACErD0nD9lIpdxDKLO+sL2I9SQhp/k8rvo2gXqHPKbABm9OoMt8wIU5 mY+1vZhEkvQNddS1f4tI9no5qvtBUC5BMl2u3erInjzif9tLKHWSFQUezEyEapK7SF2W PtrqjqiflJyoB9qsWWusWISmf2R28RDkrt/cI7dM7I2nUq0NNqvdndq3q7JY8LwCz1bk YVu10QQEYUNYwjYz6Ogz7TZWd7N+iT0tJCeAKFqy7DcYqzMVZ25CerqKzkY6j4e1Xq2J aiWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728011049; x=1728615849; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=byQOWaVRFhCHe9QBvPvXoZ75oAYO1geP7w6AmxW2qsI=; b=aRlAAiafpffAtzsx9A1UjRLHJ066u8nCPBCFfz43HooFBnTNC8eijrvxagU4F1Qzse wZqp4i7JCYKW+WbqgXf6meDVRXvsemTW8/kQOm9UoZc+bc65uBY/BsPZdK7Uq6bLCOcm wClrU02SbMgxrS88Pky2dlUO4sf1jSSGlY2DxmYCFl61p76DT/92H8Hd+i+nateXITJ4 HOnsWznvP7Q7MJMvu5cOO+VfdWnKrjCFi1X8EfCllVETRAMeS+9Ff23Ihzd/H1fSA58e 4p0rRkuOvz6foth0QU97Mm4y2krvnjxaU1webvhiPnhQJepeSnQ3ZYrbX4lRuGBhBT/r 5Trw== X-Gm-Message-State: AOJu0YxwmcCgwXYBifa8YYhvw2flpcwlVJaQjYB1kYLeGzwckBEmlrqH R03ihT+mLaA5lxDdBeXoa6+Go/XNl01m1Kl/ZNrdkJiFuebKWe8n7VX/0yVf7Wg= X-Google-Smtp-Source: AGHT+IGPxFOM5fKNQ6OvGk+DFEFyd1NF5JASv6G9SiuURlNpEKQWNWFSIb2klqvXMMB0lun9muqtVA== X-Received: by 2002:a17:903:192:b0:20b:b455:eb57 with SMTP id d9443c01a7336-20bfdfbe06fmr17350565ad.14.1728011049625; Thu, 03 Oct 2024 20:04:09 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20beeca2235sm15672815ad.105.2024.10.03.20.04.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 20:04:09 -0700 (PDT) Date: Thu, 3 Oct 2024 20:04:07 -0700 From: Stephen Hemminger To: Volodymyr Fialko Cc: , , , , Subject: Re: [PATCH v5] bitmap: add scan from offset function Message-ID: <20241003200407.2d882062@hermes.local> In-Reply-To: <20230703123909.328480-1-vfialko@marvell.com> References: <20230703093130.198304-1-vfialko@marvell.com> <20230703123909.328480-1-vfialko@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Mon, 3 Jul 2023 14:39:08 +0200 Volodymyr Fialko wrote: > +/** > + * Bitmap initialize internal scan pointers at the given position for the scan function. > + * > + * Note: for private/internal use, for public: > + * @see rte_bitmap_scan_from_offset() > + * > + * @param bmp > + * Handle to bitmap instance > + * @param pos > + * Bit position to start scan > + */ > +static inline void > +__rte_bitmap_scan_init_at(struct rte_bitmap *bmp, uint32_t pos) > +{ > + uint64_t *slab1; Since this exposed in a header file, needs to be internal or experimental.