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 3167E42C4E; Wed, 7 Jun 2023 17:05:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B405240ED5; Wed, 7 Jun 2023 17:05:28 +0200 (CEST) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 8F01640A84 for ; Wed, 7 Jun 2023 17:05:27 +0200 (CEST) Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-1b18474cbb6so42679675ad.1 for ; Wed, 07 Jun 2023 08:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1686150327; x=1688742327; 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=l5Ald50aFMdJgi30fJ77ttHVTfJX517fWntNgvAHEA8=; b=aNjFpsb72C8R9GThqjjZ/iEU4BEmIge7R6Wy0Fp9L3x1rmNX8K1TjwSalcoGXS2Tkc mheD6kvsF9dTqf3op1tBVxGcEiHI1Mb12qt4ZlqT8j35KZmnX3zwNEWcbRvgcwIrExdA Tc+HHVV7/p5uSXankVsJWsPFvnmXukXszWwDf9gbAGy+3IVG6hVuT2C9xyyrSHHjf9Vs iFOUB+gTHlmE4wJIrV8tzdQp/mBh5QF0jCXZKFytklUfBx+1KRUKRxAHY8nQRI/JRGzZ 0K8ZWJLYK6v9QmmTLSkwycR7d/NxszUol2Qyh2ajNd1lec4jF2cMfJXDGRANY89lXl93 7vXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686150327; x=1688742327; 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=l5Ald50aFMdJgi30fJ77ttHVTfJX517fWntNgvAHEA8=; b=ZXANhI90IZHlVlQVQPQDgWUIPaz8ZDwfYwfANxYLgW4LWCb7SEQjsn8M+oXZbt6Mw0 Q90ScxyOO8b2aPb3PTPhLpALiYHjqVo2XIpPoUa59uSqJjc8Kg7z6OBeoKNEvQeozRgV tiqLCfFxaggZ7a87Csj7XevdbTkDBLKDbM2Ifq8DlXa7D8Xd3kKL0FW2q0NDygSe0CgQ 4Vz4DbNtRbHI6eUHDGSSn1W7W7XjmTBQnwFwAL5hoBjXkGHHVO+QvOJkB1NFsNZGFTzk rwamQZ5C8JOlvjzDqDn3rdDboeKLkI56o+u3maG+J6voNU2SZ76xzVFntmz+L88cBuyr rfng== X-Gm-Message-State: AC+VfDzQzJ2cqluN+vsby3In0AP8ERjERCbFhq9ls6mdHeOaWPGpWrj2 kOxWl7YFujQ3tPiS86oZQSy6FA== X-Google-Smtp-Source: ACHHUZ5oTIiN3y9daGPGBV7DdVYmvptFD1iKTCTSWDc2cl1KW5q44bQ7EJ+OCjK+YEAkckls8L8H4Q== X-Received: by 2002:a17:902:d2c8:b0:1b2:5070:c1c9 with SMTP id n8-20020a170902d2c800b001b25070c1c9mr1488089plc.20.1686150326382; Wed, 07 Jun 2023 08:05:26 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id bd5-20020a170902830500b001b06361a38dsm10521702plb.116.2023.06.07.08.05.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 08:05:25 -0700 (PDT) Date: Wed, 7 Jun 2023 08:05:23 -0700 From: Stephen Hemminger To: Morten =?UTF-8?B?QnLDuHJ1cA==?= Cc: "Honnappa Nagarahalli" , , , , , , , , Subject: Re: [PATCH 3/4] eal: add API to check if lcore id is valid Message-ID: <20230607080523.34109222@hermes.local> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D8799A@smartserver.smartshare.dk> References: <20230309045738.1261000-1-honnappa.nagarahalli@arm.com> <20230309045738.1261000-4-honnappa.nagarahalli@arm.com> <98CBD80474FA8B44BF855DF32C47DC35D8799A@smartserver.smartshare.dk> 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, 7 Jun 2023 12:19:00 +0200 Morten Br=C3=B8rup wrote: > > From: Honnappa Nagarahalli [mailto:honnappa.nagarahalli@arm.com] > > Sent: Thursday, 9 March 2023 05.58 > >=20 > > Simple API to check if the lcore ID does not exceed the > > maximum number of lcores configured. > >=20 > > Signed-off-by: Honnappa Nagarahalli > > Reviewed-by: Ruifeng Wang What about cases where passed lcore set is sparse? In that case, lcore would not be valid in API calls.