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 E776B43B6C for ; Thu, 7 Mar 2024 10:22:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DDEFE40295; Thu, 7 Mar 2024 10:22:23 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 28ECE40272 for ; Thu, 7 Mar 2024 10:22:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709803341; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tbcp191zCeIOfqrrxrVfLKnouQ0LU814YdJb1JmUKlw=; b=gIBtY4bP4/JOqEGisamN5AGYt19Jt5Rb3fWM1SYZbbJV91r+xANNYFmVTi2MboA2FG85L1 6pGw6SiCvmsWXHYkimBf9oCSK431yDb5VKYD9906sOfkhX8xosh/H7kUejTONThYebi9Dn RWnRLtsLbPpo4ABYBzpH2uivD0LRu2E= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-635-7KIITH9UNTO8YmoXIITtfw-1; Thu, 07 Mar 2024 04:22:20 -0500 X-MC-Unique: 7KIITH9UNTO8YmoXIITtfw-1 Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2d34662d6c0so4887271fa.0 for ; Thu, 07 Mar 2024 01:22:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709803339; x=1710408139; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tbcp191zCeIOfqrrxrVfLKnouQ0LU814YdJb1JmUKlw=; b=Qn1IVEJJZEMQc2pFK59YrjFUmX+YAZM/4X+ykKWQ4inVN5jIpYskK8Nna/0MY6MYeW 5rXrv1Swl2wBRkdK/7e6c6Oy7MIAflCeAePw5bunWAOKf1QOUGg0u5BzliVouSVK30tU U0F4nroxCwbnt4bcd4fuLFAVj54dvZOtf0T5Y8yqgXVOuJ6C32VJLomP0G+uRkT2XHsn OZdDKChp5Am7mU2r0aCF7EZBEqnpdSD2nrRR1yQ/FGagdGGrkX9QShHOwibteMwSoUm1 +5DLQpa74HWA8R75iTrarqrTuAfkU7n1qvR9NTTnZHX6CjlJzN4Z8aT8hRih0xiQnk/K DJbg== X-Forwarded-Encrypted: i=1; AJvYcCXStl2rs1elF9RXK81MP4gGQfCoa37R6s3VlvecgSSNNbYDg1gZD7mfE58i9w4G4M9q57msV/7U1ZSiC+zsY5M= X-Gm-Message-State: AOJu0YyhWHaWe2tOm4INh/Tk07cLsSUCpq2FaPlqoclVlV9XJFWUChx0 xGldWOmFYSlyZY2vWFQAz9z5DOAYSFNPvVLe1n1vLYBVzjdzWqmFAwK6IAEEpmrX00jtSo6jV2d ni5lPFp97aOL+NJGRcYzWZfRMl3DQLCNNj0zqeRC21iUfb5t4YKYB8xZ13m8XfH8JKXVlDz7lLU N4peSLv1D1tgZEj0Gng70= X-Received: by 2002:a2e:720f:0:b0:2d3:9314:24d5 with SMTP id n15-20020a2e720f000000b002d3931424d5mr892023ljc.32.1709803339199; Thu, 07 Mar 2024 01:22:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHm+Ls7dlZdCOsw4utdMsaGoO4Gh40BdmFjn8nmFu7/swW9dlZKrtOwGBqVFAO8OaoWs8IItX2ssxJ/YDT2jE= X-Received: by 2002:a2e:720f:0:b0:2d3:9314:24d5 with SMTP id n15-20020a2e720f000000b002d3931424d5mr892008ljc.32.1709803338863; Thu, 07 Mar 2024 01:22:18 -0800 (PST) MIME-Version: 1.0 References: <20231218074905.42749-1-sivaprasad.tummala@amd.com> <98CBD80474FA8B44BF855DF32C47DC35E9F2DD@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F2DD@smartserver.smartshare.dk> From: David Marchand Date: Thu, 7 Mar 2024 10:22:06 +0100 Message-ID: Subject: Re: [PATCH 1/6] examples/l3fwd: fix lcore ID restriction To: =?UTF-8?Q?Morten_Br=C3=B8rup?= Cc: Sivaprasad Tummala , david.hunt@intel.com, anatoly.burakov@intel.com, jerinj@marvell.com, radu.nicolau@intel.com, gakhil@marvell.com, cristian.dumitrescu@intel.com, ferruh.yigit@amd.com, konstantin.ananyev@huawei.com, dev@dpdk.org, stable@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Thu, Mar 7, 2024 at 10:16=E2=80=AFAM Morten Br=C3=B8rup wrote: > > > From: David Marchand [mailto:david.marchand@redhat.com] > > Sent: Thursday, 7 March 2024 09.34 > > > > On Mon, Dec 18, 2023 at 8:49=E2=80=AFAM Sivaprasad Tummala > > wrote: > > > > > > Currently the config option allows lcore IDs up to 255, > > > irrespective of RTE_MAX_LCORES and needs to be fixed. > > > > "needs to be fixed" ? > > I disagree on the principle. > > The examples were written with limitations, this is not a bug. > > Unfortunately, l3fwd is not only an example; it is also used for benchmar= king. It really belongs in some other directory. > > With that in mind, I would consider it a bug that the benchmarking applic= ation cannot handle the amount of cores available in modern CPUs. This is not a bug. And with careful configuration (using --lcores), you can already start l3fwd with 254 datapath threads, right? --=20 David Marchand