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 58EE4489EF for ; Mon, 27 Oct 2025 17:20:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 54C4C4028B; Mon, 27 Oct 2025 17:20:44 +0100 (CET) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mails.dpdk.org (Postfix) with ESMTP id AA7E24028B for ; Mon, 27 Oct 2025 17:20:43 +0100 (CET) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-471b80b994bso68640545e9.3 for ; Mon, 27 Oct 2025 09:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761582043; x=1762186843; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sdAAuntlt82DrwX7+TedwK/ZIRxp8sLhvS4EfUHLicM=; b=e7OnRnoy4s6vDT5I6qWC1qYHn9eidWvfpDejg3TofxklAyib5bwBPUKs9GOnpc9tr4 sQ58j4vYBuHmbPduEgpoJwYLsAyq3+gPAuaeGfKM9hG9ehOe2XqnancYKoI+tdAo6hEO pYK44JfEQXtahjm39ag/751rV4USBzNdMNzLFGzudZmfi6hIsvth9xIG3hVUWQkA01Dy dqw9Be/BocVPwhZJB1WC/i7RYLT2KOw+mpi4Cq7Dk/PS3z6PGSsRQGRJKHj/M2Gt4HKx UPeqkm8YLX+0eEjFCb9/NOd1+BxMfqTmz1vISlcQZjVkbvthhYEByFTHljt/0oNlc1Pm IK5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761582043; x=1762186843; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sdAAuntlt82DrwX7+TedwK/ZIRxp8sLhvS4EfUHLicM=; b=kGuEbCcpLroPtsuz1KSE6okzZVAJt0qNTGbGD3SBGw3qLSs7QbGF6xKqYecHkLHXV/ Xg3sw48mRVqu4cNF8rb9Nq10HDzXe91lxdHYHKKg+EO+OGiIb8wHZNlzc5BARhCC2fyb RT9Bar+/0t0tO3WP9TaCtC6HDtQDPXTPWZszE7cFEsKAPM3JSDTmGKKKxQVslx0vRMGh jCmOaTxFBgITMEKxFrtVglQpGACQt9MHpKID1Thm2ttvfo8IZUnIfhXeS8DkOiZO6+1F Gjd0IgCbonswcOqwCMFtf4RCBcH4XH+KJy1ffLsG+th/l4Db6+9SCcyU2vrHAryzHF9W Kt7A== X-Forwarded-Encrypted: i=1; AJvYcCWFkLeH/hRLmBvEvZkLdRX8AZoWjo+LYBJdKqLZsasifUk5jaG8BdmzWnIEeTCFlJiIgllFv9s=@dpdk.org X-Gm-Message-State: AOJu0YwtQ/d3iv7r1AaJRFRMM4FzdUVazCLaAGeNwTr1fcGk+Jkh23ui hi8Z7wE9wTaAkI+Fm98MHERYOF/oHlPPlFZb9bogOikAPvBw117RxPw4JZw69g== X-Gm-Gg: ASbGncsQqexRAFW+6UcGZIaeWj+Yyw0mjT4GkTND70efq9/e0L1xOyWVfgHbMzFdCc4 1aNNfSG/DRfw1MWv9W3XqVnKuyL4Y6i9FGqTIBHWhfj8HkSkD0CXBoE4V9Ly0wBDVERdZKkjPAx 97CjRVzkXH/fSzArdA5BKXiBBsa5THK2J53fBTDeHWr/xNt5sh0fJIMAW0G/YYSZvWIL/T9l7WX lA06ZQLvG5MthBdtS4l3HiQ+0VsKxuSJ2j1f1egtMTlbUEPzkJN7CUDqtkhqOOc+q+3DXXKXNDa vh8KtGav44VdxkerPKS8kSjt3JqW54SMRhlkuqF+Juya2DBJGHk7bA6M4JbIpnzqQO+DGJodjw+ XKVNMJ5ORSJj1BUOxHQO4jEINC+ygkBYqeA/mIAktmF310als9hegCRBR/0rTj0H9s41urq5W7I Sl73jh2A== X-Google-Smtp-Source: AGHT+IFKoqATpI/2a5d63rpZLNH/esm606fbrCdQx3xie41/4wh/hBXmaTvlOR/Yuy2dWyqp4HlDgg== X-Received: by 2002:a05:600c:4691:b0:477:1326:7b4b with SMTP id 5b1f17b1804b1-47717e41acamr2059175e9.19.1761582043177; Mon, 27 Oct 2025 09:20:43 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:6fc5:c3bc:147e:832c]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-475dd489fa4sm140241195e9.16.2025.10.27.09.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Oct 2025 09:20:42 -0700 (PDT) From: luca.boccassi@gmail.com To: Dengdui Huang Cc: Chengwen Feng , dpdk stable Subject: patch 'app/testpmd: increase size of set cores list command' has been queued to stable release 22.11.11 Date: Mon, 27 Oct 2025 16:18:49 +0000 Message-ID: <20251027162001.3710450-11-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251027162001.3710450-1-luca.boccassi@gmail.com> References: <20251027162001.3710450-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 22.11.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/29/25. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/51fe85245db78a68ace64aabe67450965c56e171 Thanks. Luca Boccassi --- >From 51fe85245db78a68ace64aabe67450965c56e171 Mon Sep 17 00:00:00 2001 From: Dengdui Huang Date: Tue, 8 Jul 2025 20:51:59 +0800 Subject: [PATCH] app/testpmd: increase size of set cores list command [ upstream commit d0f4f0779898e41a940e9a6f83f782750ffbfbb7 ] The cmdline_fixed_string_t has a length of only 128, which will become insufficient when there are many cores, so it should be replaced with a cmdline_multi_string_t of larger capacity. Fixes: af75078fece3 ("first public release") Signed-off-by: Dengdui Huang Acked-by: Chengwen Feng --- app/test-pmd/cmdline.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index c4aab4defa..3d888a2f78 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -3491,7 +3491,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items, value = 0; nb_item = 0; value_ok = 0; - for (i = 0; i < strnlen(str, STR_TOKEN_SIZE); i++) { + for (i = 0; i < strnlen(str, STR_MULTI_TOKEN_SIZE); i++) { c = str[i]; if ((c >= '0') && (c <= '9')) { value = (unsigned int) (value * 10 + (c - '0')); @@ -3542,7 +3542,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items, struct cmd_set_list_result { cmdline_fixed_string_t cmd_keyword; cmdline_fixed_string_t list_name; - cmdline_fixed_string_t list_of_items; + cmdline_multi_string_t list_of_items; }; static void cmd_set_list_parsed(void *parsed_result, @@ -3591,7 +3591,7 @@ static cmdline_parse_token_string_t cmd_set_list_name = "corelist#portlist"); static cmdline_parse_token_string_t cmd_set_list_of_items = TOKEN_STRING_INITIALIZER(struct cmd_set_list_result, list_of_items, - NULL); + TOKEN_STRING_MULTI); static cmdline_parse_inst_t cmd_set_fwd_list = { .f = cmd_set_list_parsed, -- 2.47.3 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-10-27 15:54:35.249535185 +0000 +++ 0011-app-testpmd-increase-size-of-set-cores-list-command.patch 2025-10-27 15:54:34.731947944 +0000 @@ -1 +1 @@ -From d0f4f0779898e41a940e9a6f83f782750ffbfbb7 Mon Sep 17 00:00:00 2001 +From 51fe85245db78a68ace64aabe67450965c56e171 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit d0f4f0779898e41a940e9a6f83f782750ffbfbb7 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 7b4e27eddf..801dee4456 100644 +index c4aab4defa..3d888a2f78 100644 @@ -23 +24 @@ -@@ -4063,7 +4063,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items, +@@ -3491,7 +3491,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items, @@ -32 +33 @@ -@@ -4114,7 +4114,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items, +@@ -3542,7 +3542,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items, @@ -41 +42 @@ -@@ -4163,7 +4163,7 @@ static cmdline_parse_token_string_t cmd_set_list_name = +@@ -3591,7 +3591,7 @@ static cmdline_parse_token_string_t cmd_set_list_name =