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 7F86A43E7F for ; Mon, 15 Apr 2024 23:54:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 774D8402DE; Mon, 15 Apr 2024 23:54:59 +0200 (CEST) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id 98F284027E for ; Mon, 15 Apr 2024 23:54:56 +0200 (CEST) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6ed267f2936so2954038b3a.3 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=VsuzovNWhshaQuBBcX/rAuOCwp0QvgbNE8GXyWX5lvDqcqS5ryeJMP5GuxYiuWwjJO AKlknqR63oCb8j/iVMhlrf4GxE8n0US6WM67XdEVz0eZIfVFZkIjUpAumYuf/hALqJXH SD+AKCEOwL6ZCGnQC61tPf4RKaO5v+Sip5+vh298bp4GuL6A4rkohwHwB4XU7XizCrer Ow/K9A27O7byVMMdgrzvy7qWr1kjHgYz8S27X8c6HAvLQIR/gN5U4Lt++NRZhncYzNec WonUrOueLJ279+1s6D2D3BmbdVScjNMzQJj7S7jkBSr4EajGx6yWoQxKAVYLrpbBYFEY KwHQ== X-Forwarded-Encrypted: i=1; AJvYcCW40l+NEfJxWFbzconSyywUAy/vEhVWTA4L9LzPEzW5f5Je3gi9SMSdyxkF0QboYMgglOj1JrzyaTL7s1TY72Y= X-Gm-Message-State: AOJu0Yxl36EsN3bF+qq2OQqlqTSxw94JqBWi8SFyTd7f50RKVnoZ7ixR VnksiI9LGwrfONY5YXJKjeZZcMRYuGkkYQhNyVpT+1JSikRfsMw+a2SYiqlwYE0= 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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.