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 C4D2B42CBA; Wed, 14 Jun 2023 20:13:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B6E0640E0F; Wed, 14 Jun 2023 20:13:22 +0200 (CEST) Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) by mails.dpdk.org (Postfix) with ESMTP id 049D740DDB for ; Wed, 14 Jun 2023 20:13:22 +0200 (CEST) Received: by mail-oi1-f181.google.com with SMTP id 5614622812f47-39ca48cd4c6so4161913b6e.0 for ; Wed, 14 Jun 2023 11:13:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1686766401; x=1689358401; 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=9eHesAkZZ52XSPR8Ufovun01G/+ExezRS8JRohIgi5k=; b=3Xa1bsGo/8VxRynHTnb3jlHy4ZWuo/UfwYovSlSlXL+LK+jno2bly0opFsEk0SuNiW My2ApCBBKwOMe83tNLEEFftvK4c2W1JwSbuAXBdvsfbMMQXjFYPKIup61x3XzRB/JH3z NMbufpeYlnjVYhuAyYUw3pVHrLFtzcyNgiwOFg43IXeyxfqpm/DyIo4XESmRGQJT83tW d4krbeskJBac2gKsWNm0GRLA9vMEZib7r3plAntklSOJol7YXaxeZ0NbWlk7V9vDQ5+9 347i3VQqzPczjDO+FQtdZuWm4fFjKH5Wgd3KSCXx/vRAKg663ycH0vDp1izCvWoorbx3 MpNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686766401; x=1689358401; 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=9eHesAkZZ52XSPR8Ufovun01G/+ExezRS8JRohIgi5k=; b=EmRs6Oi/3JEAFdBDIdkrDzm8GmX+e63qo1G3QHiy91y+fKMFhHRZ6HZ0mxP3dxGhMv jO0F1p7VSmmL8/DJ6alwS6TEgUeZyq7Kax4sXDaADrYAwlKx/KzrfZR9TyvKL3EnrNUa HA2enTZ9Qb9D+MVgAy7ZjFX5CrShEif8uW68Ma1wjbTeYWT8Nb14opa4aIlx/AvHKZKc IrxCk/IosJgRzkllyqi6OambQ0HUKV7ZOs9ttSQ25MGqix9cS0z6N2e/2BN2mbwVbhsh fAK+xNFWSfkCb/p2fSTVb1aKy4EvImtsYmpdslHXQEOc82jJ8DFcmZ4kUj0I4fiYOojR 5qgQ== X-Gm-Message-State: AC+VfDyp/YiyRwkZsRcap+iIqENSVdIfs25oo7Ih3x9FrwYjjHfkuspR tZw5f7mNKjMjvvwjp1BGlX0eOw== X-Google-Smtp-Source: ACHHUZ6mK60kPYyL8LOHX3EMCSHpQ1bygzMGp05itG39MXPm4GXgcG9iycF5QG8f3gPkppTVntzP3Q== X-Received: by 2002:a05:6808:2221:b0:39a:7830:f250 with SMTP id bd33-20020a056808222100b0039a7830f250mr13970274oib.1.1686766401237; Wed, 14 Jun 2023 11:13:21 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id s22-20020a63e816000000b00519c3475f21sm11542847pgh.46.2023.06.14.11.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 11:13:21 -0700 (PDT) Date: Wed, 14 Jun 2023 11:13:19 -0700 From: Stephen Hemminger To: Mattias =?UTF-8?B?UsO2bm5ibG9t?= Cc: , Jerin Jacob , , , , , Heng Wang Subject: Re: [PATCH 1/3] eventdev: introduce event dispatcher Message-ID: <20230614111319.5911e857@hermes.local> In-Reply-To: <20230614172527.157664-2-mattias.ronnblom@ericsson.com> References: <20230609070826.149336-2-mattias.ronnblom@ericsson.com> <20230614172527.157664-1-mattias.ronnblom@ericsson.com> <20230614172527.157664-2-mattias.ronnblom@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 Wed, 14 Jun 2023 19:25:25 +0200 Mattias R=C3=B6nnblom wrote: > static struct rte_event_dispatcher_handler* > +evd_lcore_get_handler_by_id(struct rte_event_dispatcher_lcore *lcore, > + int handler_id) > +{ > + int i in other places you used uint16_t for iterating over handles.