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 C5D3443E7E; Mon, 15 Apr 2024 23:54:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45C424027E; Mon, 15 Apr 2024 23:54:58 +0200 (CEST) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mails.dpdk.org (Postfix) with ESMTP id 84CDB4021E for ; Mon, 15 Apr 2024 23:54:56 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6ed0e9ccca1so3420877b3a.0 for ; Mon, 15 Apr 2024 14:54:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1713218095; x=1713822895; 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=Ykn/GYbiFPQXQEMu933rEir0SucJpb96L1jv7B2rSFg=; b=mSCc0Efz7qjilFlf7poV+IrckYwmylHLZiJNEvUZxbNZtxDZWImtx5OGKz5BlaMSdb JhI4si4dzTV/nCFDmQFRDF7aCEVXKCpAd0nnkvzI7G5RfEVgmiKb+S80cLRR8K8327+p YxoXSyp/kV7D3WI/+rOAut7Zv1sOp8ySSi+GSc2UwkWVyF3Cf/RFddT2pDSGBf5eUkS4 lckhqnK+PeQneERjXaqsqUFILhHwfHSC/smm+5uPw7HfY7kHpQvgVR72YGpjfvfyu8l8 qZypSil4FDAHPavjQ9yVOkgVnU8ibIcEQvNgMpciIWbLGp92Sfwj9cmbaHw6UxuJSsu0 MNIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713218095; x=1713822895; 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=Ykn/GYbiFPQXQEMu933rEir0SucJpb96L1jv7B2rSFg=; b=aJR90LLK7HOluVcJvn0BXp0SRW/dY1gi44XRdoN9mRuc/2Oik2aGFOzd33/2ldZ47j qUoAXE3sK63rXnOjZGueP3yoUkn9Udnn98k74sdviY/niK4uRhyTVWWjlrN6S1ulrdp5 NN/fwpRROU5HCbJgteawLFu+t0UMbeW3Ux6TLjyktm6Tcib8FhyQqOfynqKLTLt5CL3Y SW6QdVTdt07WvNRLliuUKZ5S5cNQ+hvi007wmIiyKMJCk+Dt1mqT8FbkfbXR9Dt6O76n QswZXFNXXbPj7poYY5kNTFVRwJAjhVrHtjhbuz18FmRyxj0t3P+lJcWd6+4mE8M9MdFz +QzQ== X-Forwarded-Encrypted: i=1; AJvYcCXHmJpWQ9AaTRhTVmGQicXydvRadybRKmx/tNrtg+I85NclDAEqzoCPI7ptp4V/KdIwULvhOrIhofq5q9I= X-Gm-Message-State: AOJu0YyfUKWUArYGLj7wSyYEiqOscyc0UsE9CEoap3mHTs1xClmKdqBm 74Er1bNAJQGw/0fPV/XKxWWLIMak5TfnKpy+DjnR565jFQBxGyPBE14bh5sIzKs= X-Google-Smtp-Source: AGHT+IGo9ZPiDORmQVty3DDPbS2Cjj8wkcaKGpRM5pwMDNYikEe2qlnepyNLGcdSxK9Y0LV3XBsReQ== X-Received: by 2002:a05:6a00:b8f:b0:6ed:d47e:625d with SMTP id g15-20020a056a000b8f00b006edd47e625dmr11725617pfj.30.1713218095454; Mon, 15 Apr 2024 14:54:55 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id g6-20020a056a000b8600b006e6b52eb59asm7715607pfj.126.2024.04.15.14.54.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 14:54:55 -0700 (PDT) Date: Mon, 15 Apr 2024 14:54:53 -0700 From: Stephen Hemminger To: Sivaprasad Tummala Cc: , , , , , Subject: Re: [PATCH] app/testpmd: fix lcore ID restriction Message-ID: <20240415145453.335142d6@hermes.local> In-Reply-To: <20240415194631.124343-1-sivaprasad.tummala@amd.com> References: <20240415194631.124343-1-sivaprasad.tummala@amd.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, 15 Apr 2024 19:46:31 +0000 Sivaprasad Tummala wrote: > + nb_fwd_lcores = (lcoreid_t) n; This should really be using strtoul() not atoi() because it offers more error checking.