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 157AA41D4F for ; Thu, 23 Feb 2023 10:40:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0FF9743150; Thu, 23 Feb 2023 10:40:32 +0100 (CET) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mails.dpdk.org (Postfix) with ESMTP id 5A26043150 for ; Thu, 23 Feb 2023 10:40:31 +0100 (CET) Received: by mail-wr1-f44.google.com with SMTP id h14so1473852wru.4 for ; Thu, 23 Feb 2023 01:40:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=D09lq3NkvupfthgXOBqeNPifXYuysZUc3BTheaPwQ1s=; b=CXURC4Hu8WQJZxD1mMoz11wOXKoeovny+YxHuYFymI2jNRHyo70RJjtZVuWr+KsUzB H9IkKXzh1Flo6GwfOx5qWqXvfd2WBGE0LXVeflZI87A2rl0Dg2SYzP8S2hGZLj8nJ0Ps 7JuBhveN54X0H+dQc/tC/hz0mf16r58v32xeY+2WoCyBWp0DXZSFLRQNcJ/GGN0MFiJV bU0UxoKX3X1hMWrRmJddkwk/exmF0vD2IkkqMtjW7ULpvL2HdcxVJ1YXvuPHbmFdqRtN ucDTEngbo6Rjkj+cOb598M7ucMIZeP2lP67maHF7tTKyBQeuRBfaQ5uvWYS2GBSGuUqZ j1GA== 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:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D09lq3NkvupfthgXOBqeNPifXYuysZUc3BTheaPwQ1s=; b=NwG+zd16+W+7OM1jx40XmOi0gLsX1J3/vdBLXAwCsMGWM+8HCMCxYdQJFpEfoKziEU 6R891vNjVW8IOWbAFFAJ0qlF3wZS0/QQvLReLvSTTQgOy030P8JK0UVCbVLpzsvRAg7Y XcFzRiUxPATQwsPbW0Yzj2oDMc/BplUiVcbBJCbYfhURIImioRwbE3oIt3rzSCMiwFsN r4pZkdeeGxiQ269dTzi6TJsRprTayrRKUhq1nECETgni1CO2NeldT8WitUaauQ0LOuxz oahw3fVHUZEg4vUF5gJZf8/RugwH2lV1q3IczYxI/xGryHAMxP/WNkBLIbncsgtT4Hg9 dnrQ== X-Gm-Message-State: AO0yUKXH55QpsfsJt+WYwqk/AxgVQjefEYi85MEg9OUfRej+TX28gmX4 7KF7iE1KiJIT+/bERKXmswbcYQpXPE18qw== X-Google-Smtp-Source: AK7set+/fGirzX0gn1Jc0LtmuN7i+Cf1ZUntedQ1t6oUgs+nqjbOvKx/RFKW3WDFRw5Ve/WZEsaikQ== X-Received: by 2002:adf:fa0a:0:b0:2c7:851:c0bf with SMTP id m10-20020adffa0a000000b002c70851c0bfmr5351797wrr.0.1677145231080; Thu, 23 Feb 2023 01:40:31 -0800 (PST) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id 18-20020a05600c231200b003e20fa01a86sm9953056wmo.13.2023.02.23.01.40.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 01:40:30 -0800 (PST) From: luca.boccassi@gmail.com To: Michael Baum Cc: dpdk stable Subject: patch 'app/compress-perf: fix some typos' has been queued to stable release 20.11.8 Date: Thu, 23 Feb 2023 09:37:05 +0000 Message-Id: <20230223093715.3926893-61-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230223093715.3926893-1-luca.boccassi@gmail.com> References: <20230223093715.3926893-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 20.11.8 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/25/23. 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/7320677147b3dd998c13838ff4b751afa491fbbb Thanks. Luca Boccassi --- >From 7320677147b3dd998c13838ff4b751afa491fbbb Mon Sep 17 00:00:00 2001 From: Michael Baum Date: Tue, 14 Feb 2023 19:40:27 +0200 Subject: [PATCH] app/compress-perf: fix some typos [ upstream commit 1643fc9b077ebb55b13a2c4469b75c251499acdc ] Fix some typos in comments and prints in this app. Fixes: e0b6287c035d ("app/compress-perf: add parser") Fixes: 2695db95a147 ("test/compress: add cycle-count mode to perf tool") Fixes: 971d89f5116b ("app/compress-perf: prevent output buffer overflow") Signed-off-by: Michael Baum --- app/test-compress-perf/comp_perf_options_parse.c | 4 ++-- app/test-compress-perf/comp_perf_test_cyclecount.c | 2 +- app/test-compress-perf/comp_perf_test_verify.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/test-compress-perf/comp_perf_options_parse.c b/app/test-compress-perf/comp_perf_options_parse.c index 019eddb7bd..9b9d4e6554 100644 --- a/app/test-compress-perf/comp_perf_options_parse.c +++ b/app/test-compress-perf/comp_perf_options_parse.c @@ -491,7 +491,7 @@ parse_huffman_enc(struct comp_test_data *test_data, const char *arg) int id = get_str_key_id_mapping(huffman_namemap, RTE_DIM(huffman_namemap), arg); if (id < 0) { - RTE_LOG(ERR, USER1, "Invalid Huffmane encoding specified\n"); + RTE_LOG(ERR, USER1, "Invalid Huffman encoding specified\n"); return -1; } @@ -507,7 +507,7 @@ parse_level(struct comp_test_data *test_data, const char *arg) /* * Try parsing the argument as a range, if it fails, - * arse it as a list + * parse it as a list */ if (parse_range(arg, &test_data->level_lst.min, &test_data->level_lst.max, diff --git a/app/test-compress-perf/comp_perf_test_cyclecount.c b/app/test-compress-perf/comp_perf_test_cyclecount.c index 4a6e7aa094..ea62fcf52e 100644 --- a/app/test-compress-perf/comp_perf_test_cyclecount.c +++ b/app/test-compress-perf/comp_perf_test_cyclecount.c @@ -558,7 +558,7 @@ cperf_cyclecount_test_runner(void *test_ctx) " [D-e] - decompression enqueue\n" " [D-d] - decompression dequeue\n" " - Cycles section: number of cycles per 'op' for the following operations:\n" - " setup/op - memory allocation, op configuration and memory dealocation\n" + " setup/op - memory allocation, op configuration and memory deallocation\n" " [C-e] - compression enqueue\n" " [C-d] - compression dequeue\n" " [D-e] - decompression enqueue\n" diff --git a/app/test-compress-perf/comp_perf_test_verify.c b/app/test-compress-perf/comp_perf_test_verify.c index d0dfa41b4b..98704a9548 100644 --- a/app/test-compress-perf/comp_perf_test_verify.c +++ b/app/test-compress-perf/comp_perf_test_verify.c @@ -224,7 +224,7 @@ main_loop(struct cperf_verify_ctx *ctx, enum rte_comp_xform_type type) op->status == RTE_COMP_OP_STATUS_OUT_OF_SPACE_RECOVERABLE) { RTE_LOG(ERR, USER1, -"Out of space error occurred due to uncompressible input data expanding to larger than destination buffer. Increase the EXPANSE_RATIO constant to use this data.\n"); +"Out of space error occurred due to incompressible input data expanding to larger than destination buffer. Increase the EXPANSE_RATIO constant to use this data.\n"); res = -1; goto end; } else if (op->status != @@ -309,7 +309,7 @@ main_loop(struct cperf_verify_ctx *ctx, enum rte_comp_xform_type type) op->status == RTE_COMP_OP_STATUS_OUT_OF_SPACE_RECOVERABLE) { RTE_LOG(ERR, USER1, -"Out of space error occurred due to uncompressible input data expanding to larger than destination buffer. Increase the EXPANSE_RATIO constant to use this data.\n"); +"Out of space error occurred due to incompressible input data expanding to larger than destination buffer. Increase the EXPANSE_RATIO constant to use this data.\n"); res = -1; goto end; } else if (op->status != -- 2.39.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-23 09:36:30.667331522 +0000 +++ 0061-app-compress-perf-fix-some-typos.patch 2023-02-23 09:36:28.338172002 +0000 @@ -1 +1 @@ -From 1643fc9b077ebb55b13a2c4469b75c251499acdc Mon Sep 17 00:00:00 2001 +From 7320677147b3dd998c13838ff4b751afa491fbbb Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 1643fc9b077ebb55b13a2c4469b75c251499acdc ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -43 +44 @@ -index 7473cb6277..ce457fefbb 100644 +index 4a6e7aa094..ea62fcf52e 100644 @@ -46 +47 @@ -@@ -563,7 +563,7 @@ cperf_cyclecount_test_runner(void *test_ctx) +@@ -558,7 +558,7 @@ cperf_cyclecount_test_runner(void *test_ctx) @@ -56 +57 @@ -index 8964442891..6b61a9194f 100644 +index d0dfa41b4b..98704a9548 100644 @@ -59 +60 @@ -@@ -226,7 +226,7 @@ main_loop(struct cperf_verify_ctx *ctx, enum rte_comp_xform_type type) +@@ -224,7 +224,7 @@ main_loop(struct cperf_verify_ctx *ctx, enum rte_comp_xform_type type) @@ -68 +69 @@ -@@ -311,7 +311,7 @@ main_loop(struct cperf_verify_ctx *ctx, enum rte_comp_xform_type type) +@@ -309,7 +309,7 @@ main_loop(struct cperf_verify_ctx *ctx, enum rte_comp_xform_type type)