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 1B8DE41D40 for ; Wed, 22 Feb 2023 16:04:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C861940693; Wed, 22 Feb 2023 16:04:03 +0100 (CET) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mails.dpdk.org (Postfix) with ESMTP id 578F840689 for ; Wed, 22 Feb 2023 16:04:02 +0100 (CET) Received: by mail-pl1-f170.google.com with SMTP id e5so10099801plg.8 for ; Wed, 22 Feb 2023 07:04:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; 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=8gwg2h/y31Uf7tw5uxVVZEKbmjjRrS/yExMFch1x4u0=; b=i+QCK2lsPFu7hOI08KV6siA0z2fM3+xWm6Hv7aGmgBgX3TMqXovBdgycZL/FLNi1VZ PnNAvrGTLqmMEKQiLXS6FUTxi7whrZSOHjga8BT9pFPaAUCxHejJ3d1JekjcmMmz1QVh tWa24Pt47Uqd5FP2nS0l7AkJza/FYz6c87dYQluvODohIk4zwDZMzSe/Awezdkvyx+TE hZg5+qbzathG3wvghvvtsaEsIQ+Kds5qf6S1QmnurqxZeJQKiQygVdAHBwGng6Yw3GUW HKar8ttHVAD7P+BbPZQBWVLvmA01mWbSK21EXRbFyhXmnoRVC5cwtqQ3XQFVnJt8Ny/b k+tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=8gwg2h/y31Uf7tw5uxVVZEKbmjjRrS/yExMFch1x4u0=; b=maUIIYhboO/g4qYQXvuMY/Ad/icso10BesShsDWXqBY7EPUdwvlkmFMAEqfjxw2Kr3 eNvcFMlyKoa12hjXa1yomFpHeWor9rzS7LsRe+Ed1wvKSpO0SfImXJJ0pwu02+JMk3Ze dWKHZJYxZ3QgevRwTOHN9Lfg944Q8o5Id13jC/60PgyiuE2tl9GPNYHTqUHHNX28x9Us e2H42glYhd1MKJHsJflrKQ0WDD0K1eZLMp9dMw7ZcntF0ITAkEV2BCgOXipJVan7Ic9S K05WAffANZMIHmBk5E/6vtCBP7U31F/y4gRdLr5pK99mJKqlCYB48tT9CPQJl7Ek9DtY QDIQ== X-Gm-Message-State: AO0yUKW7TrZzscy3viOs4rZ8EPZ3oR5jYTereK8m7dHHEwDu7okUJzsk 2sEnCDt7MIOdwH9loWFHbb95NQ== X-Google-Smtp-Source: AK7set8n/RprX3a94CuC1BpQu6fFnB95Cqdwfu7Id/pW+R1+9RvV6Efy4tSgSvDtkG7C70kAmUQQJQ== X-Received: by 2002:a17:903:32cf:b0:19a:b092:b31a with SMTP id i15-20020a17090332cf00b0019ab092b31amr8971404plr.8.1677078241363; Wed, 22 Feb 2023 07:04:01 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id jb9-20020a170903258900b001994a0f3380sm3127919plb.265.2023.02.22.07.04.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 07:04:01 -0800 (PST) Date: Wed, 22 Feb 2023 07:03:59 -0800 From: Stephen Hemminger To: Antonio Di Bacco Cc: users@dpdk.org Subject: Re: Add more lcores to application after rte_eal_init has been called Message-ID: <20230222070359.3e45d6b6@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Wed, 22 Feb 2023 14:10:20 +0100 Antonio Di Bacco wrote: > I need to add some more cores to the application after the DPDK has > already been initialised. > Is it possible? No > For other resources like network cards, I managed to probe new cards > dynamically but don't understand how I can do the same for new lcores. You can start with lots of cores, but only use some of them in your application. The unused queues could wait on something like pthread_condition that is blocking.