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 EE37A43E7E for ; Mon, 15 Apr 2024 23:56:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C77354027E; Mon, 15 Apr 2024 23:56:54 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id E7A2C4021E for ; Mon, 15 Apr 2024 23:56:52 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6ee12766586so2440496b3a.0 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=khWeg+hXfPDrJyaVEq9oFkbhb4Ao9qBspEWmqkz5ezKD18invZXQi3p7kuwP5vyBx+ 8f/cF57ERXnCu5SSIYiSLUhCpSyQj/ieeNVyBl49Wg850ydOd8VUGuBBkSXon3hywVXI qx6l1BYnoWnmioXAe9rr5Ft38cnr4BBge8zAsyWINiXY0lgWqxpyWzjza9Y58nWU9+0N YR9FLWcHAKm5ZouH4ygWio6KvSclkWyZKxINejdzwV2HNu2FSxRf6sECigyjtjIx/8jv qKb57pyrmgp1L1ZHcQksSCDSE2Fd5XY4TCMtLdtfmiq6wYp0HLnxmZZjfbABBiSieVW3 Vxbw== X-Forwarded-Encrypted: i=1; AJvYcCX5rzVRg0AO8mBMlvgLIX73SEwRhy8CGiG3HBAG4WUkl0qIpfdEoGFxOxOMmwCFiFddN7INW+DkN6lqpmJ9n68= X-Gm-Message-State: AOJu0Yx/yY657io2054gmYQQNFNACTngAc+eWk9tYjq6c6vlAC9K2nmX TnpUbkH+pUDi3BpMgPZfDGHaIl9bSH83AqTQzFyNhMrLSCLr2y1TlnqYBLE/gxY= 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: 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: > --- 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.