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 C77F3A0093 for ; Wed, 9 Mar 2022 17:30:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BB85A4013F; Wed, 9 Mar 2022 17:30:57 +0100 (CET) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mails.dpdk.org (Postfix) with ESMTP id 85B2C4013F for ; Wed, 9 Mar 2022 17:30:57 +0100 (CET) Received: by mail-wr1-f54.google.com with SMTP id j17so3995175wrc.0 for ; Wed, 09 Mar 2022 08:30:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hk+nDchaaAFFZflH3CtuVJdyVhSAgx7E9L64qaix8Cc=; b=Sgxt3Espt2Cs95LtilPhf5aQSDMwHTZ2u5zw5azdj8E4MFYI31y+rdw0IJLf5sknOB sXeE+99AVT2O+3UlUx0oRXUfhWnM/S6zFIKlc9v7RICMSU/d1iV9KFR1gK16I/TNw2AM FINJ66GSpOhwRarJe7k07KSJ9xPDdexOeeeG+V6ZYn3LBafF84J8WyatPACmOaff7emI LuMw690uefUGdNXrKtx5ZWTtn6cnlljgGjtMEQ86rSXaaLrerX73ukRJemPp38qzVLWx Z5vvYrfg9WfotHWA3Dw9QmisyOB5g2z57AWt4JWaroTqn0ybhqZskX+UaHeN2ZFt/3el iTEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hk+nDchaaAFFZflH3CtuVJdyVhSAgx7E9L64qaix8Cc=; b=P/ivZkNuFO3Xzv9D8VOx8b6WbyqThe1Ub+GGPc25ePzrB18ASHgR16p6pJFdD/c+vk 42spvu5WfmXWBFAl6adw4wS5oz08tHH97y9DYXzTCdnNiGu5oy4bTpd2d8u1Tac8K21j so0VK8Kz/YvbhohGGhKD5ujHWhxGKzlUAmRdufARBBd5lwwt18TBhbBe/A5y44Ylqdrr BeVxqlzX/mLfs6FQkmTEDECS8i3QeyPCnRSnErYbI6G6gouvJjUH3m4rbuB1qFNozzTL givONlf6YqMaHAyX5adpYmVWglccf/xAFawjkOyp1w9yYvl/JrOrsai0pEm3ur0mmgN9 Hx9g== X-Gm-Message-State: AOAM531aLTpNrCE/5hrvvJ+i4eJJzxtwUwTVV+wj+fH0S1BKRm+ta7Wp KFl+pJ6WW0J8AQhNlYcYr8s7PmPlDNk= X-Google-Smtp-Source: ABdhPJzM0BnvqQSJcADsAVvMYaFvxYyN/NyLi9cd/oWjIJugs556AMRgSpbDagTiS4SUs48aFGm0lg== X-Received: by 2002:a5d:5850:0:b0:1f0:2d5b:dc35 with SMTP id i16-20020a5d5850000000b001f02d5bdc35mr346828wrf.344.1646843457101; Wed, 09 Mar 2022 08:30:57 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id q16-20020a056000137000b001f046a21afcsm2123424wrz.15.2022.03.09.08.30.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 08:30:56 -0800 (PST) From: luca.boccassi@gmail.com To: Raja Zidane Cc: Matan Azrad , dpdk stable Subject: patch 'app/compress-perf: fix cycle count operations allocation' has been queued to stable release 20.11.5 Date: Wed, 9 Mar 2022 16:30:17 +0000 Message-Id: <20220309163053.245754-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220218123931.1749595-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-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.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/11/22. 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/a166f7044b9f1210546c7ca136604088ca4f8822 Thanks. Luca Boccassi --- >From a166f7044b9f1210546c7ca136604088ca4f8822 Mon Sep 17 00:00:00 2001 From: Raja Zidane Date: Wed, 23 Feb 2022 15:32:17 +0200 Subject: [PATCH] app/compress-perf: fix cycle count operations allocation [ upstream commit 81353ea4dc2a57d8c4378fda6e3e0e6b6db6cd21 ] In cyclecount main_loop function, each iteration it tries to enqueue X ops, in case Y Acked-by: Matan Azrad --- app/test-compress-perf/comp_perf_test_cyclecount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-compress-perf/comp_perf_test_cyclecount.c b/app/test-compress-perf/comp_perf_test_cyclecount.c index 034a2932a9..9ade89fc8e 100644 --- a/app/test-compress-perf/comp_perf_test_cyclecount.c +++ b/app/test-compress-perf/comp_perf_test_cyclecount.c @@ -273,7 +273,7 @@ main_loop(struct cperf_cyclecount_ctx *ctx, enum rte_comp_xform_type type) /* Allocate compression operations */ if (ops_needed && rte_mempool_get_bulk( mem->op_pool, - (void **)ops, + (void **)&ops[ops_unused], ops_needed) != 0) { RTE_LOG(ERR, USER1, "Could not allocate enough operations\n"); -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-03-09 16:30:08.631203157 +0000 +++ 0001-app-compress-perf-fix-cycle-count-operations-allocat.patch 2022-03-09 16:30:08.479023632 +0000 @@ -1 +1 @@ -From 81353ea4dc2a57d8c4378fda6e3e0e6b6db6cd21 Mon Sep 17 00:00:00 2001 +From a166f7044b9f1210546c7ca136604088ca4f8822 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 81353ea4dc2a57d8c4378fda6e3e0e6b6db6cd21 ] + @@ -17 +18,0 @@ -Cc: stable@dpdk.org @@ -26 +27 @@ -index 1d8e5fe6c2..c215547291 100644 +index 034a2932a9..9ade89fc8e 100644