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 0DD5943E7E; Mon, 15 Apr 2024 23:56:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 28EC2402E2; Mon, 15 Apr 2024 23:56:55 +0200 (CEST) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mails.dpdk.org (Postfix) with ESMTP id E7AB84027E for ; Mon, 15 Apr 2024 23:56:52 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6ecf8ebff50so2470596b3a.1 for ; Mon, 15 Apr 2024 14:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1713218212; x=1713823012; 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=olvU9GuLt6CmUHuQlOqxuVXLIqtMRTCCmD+2BULWIKw=; b=LH5f2clAL01h/Yiu2FwHBeODZx6QfBKg47k3oAnmTQ43kIwaJxqj7ZnINcjq2HINO/ j9z9cDdbRtj0TtLEL2Ayh2zjWq/cenndm879KJ4afGp6gkG6bN8y/9oUWUOeKgfyuOpn blPU2fYhPm9SySPCeeWq6iJhcKkXHyPKK7NSwpMH+90gwX4q/SisvELPrQGR4nX+XM16 Ox9nm74OCscYIMDXmDB04sghqvcGD4EQBzvssILMttm5WFBS+HsjMHHA/INQkHU/13Hu cBB4uCPD4B8zCTVbOAGDxHgxIaQ0fkn27/9QGTyO+1kzwopjPNCreOSjOf0qAgJcbp/c pwPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713218212; x=1713823012; 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=olvU9GuLt6CmUHuQlOqxuVXLIqtMRTCCmD+2BULWIKw=; b=fLoON3qutcr2Oy1nQ4qKkoJZC5xW8ufxYR84gVr8mXPzx+TZoFCbs1q/3NMIn7BLBy zvEfRGInsiDZ+gLs5xq1bcL1vZO39bqShAUMCHM7JobiN7wJkDzWhaLOemrWSMXzqwSH 1A/+GisSECiZEry9np9ZYSpCSZNtuZeNAX8Z0GorWL8pUmudqJwOOKjK8JnMrATVzdmg JA8jjuFXCHMKB5MKWZNouARJd7xaF8LhboYbdFnHjmtvsaQULC/ezQGupFr2e/Gz+VOU z8yrzWdIKgjEpxIf/K1ao5HTDwcuVAAs3wixOs+BzjZEDt9pqF9Gu8Epyhro7qtvzAAR f/+g== X-Forwarded-Encrypted: i=1; AJvYcCXyBANv0yse+mdv5UDi2m10EM4Cto+9lzG9B1ujoScfw208ATgwbepwLlnRHq6cQK4mTmOCv23KMSElG0g= X-Gm-Message-State: AOJu0YweocfwhRHutBkVS5b74Lc5a6JwPT/lP2A1CxBu2/kT2vdnnqGC m2htptzbzPOZ+1YWm/XSgR7pOsdCwIziLAWtsoFi6Am+o9oxoVf8EL+MyuBlzOk= X-Google-Smtp-Source: AGHT+IETbBHaG7nb2pmSHzJJiJCIZNulpH/+fErrbauwDzU48PuKEi3QF7wCXOkspfj51r6O3pB9fA== X-Received: by 2002:a05:6a21:6704:b0:1a7:8828:bca0 with SMTP id wh4-20020a056a21670400b001a78828bca0mr280117pzb.3.1713218212105; Mon, 15 Apr 2024 14:56:52 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id hq6-20020a056a00680600b006ed14fed3a5sm7750186pfb.154.2024.04.15.14.56.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 14:56:51 -0700 (PDT) Date: Mon, 15 Apr 2024 14:56:50 -0700 From: Stephen Hemminger To: Sivaprasad Tummala Cc: , , , , , Subject: Re: [PATCH] app/testpmd: fix lcore ID restriction Message-ID: <20240415145650.00a5969a@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: > --- a/app/test-pmd/testpmd.h > +++ b/app/test-pmd/testpmd.h > @@ -84,7 +84,7 @@ extern volatile uint8_t f_quit; > /* Maximum number of pools supported per Rx queue */ > #define MAX_MEMPOOL 8 > > -typedef uint8_t lcoreid_t; > +typedef uint32_t lcoreid_t; > typedef uint16_t portid_t; > typedef uint16_t queueid_t; > typedef uint16_t streamid_t; > -- The other DPDK API's are using unsigned for lcore_id. On the platforms that DPDK supports both are the same size.