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 78156A0093 for ; Wed, 9 Mar 2022 12:03:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C84C40150; Wed, 9 Mar 2022 12:03:10 +0100 (CET) Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by mails.dpdk.org (Postfix) with ESMTP id 2029540150 for ; Wed, 9 Mar 2022 12:03:09 +0100 (CET) Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id CF3043F1AF for ; Wed, 9 Mar 2022 11:03:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646823788; bh=OplrCn9oV3iznSSvThUW8SXm9eAppNEvJclA8oQk6qo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=PYAZCNsUpHKHqoA7n4YBFspN+/zhrZ4c5N9MVlLpX8TQSv6z5V5TD230tch+V4x8o Keg7LPK+9hHRYvmDH7KxQDvVF6LCrl/Xy9c0LiINZWr69mK9iunzMAYrm0VXwb23gI 5JGI6PmPB/vv4fxtaACJiX//fk0/oRcuAtsW8KAt23crPWfsh7e0+FBaq6JHLRstwK y5Cjh9oyQwUiUaCMsCsXaBO2mO/40NtDM0IYBNDDfGhYEztYF0xmHjJTMmhtGBWbbk Dc9kiMIDjhH49ud6n2CPNEDgRY53EOGlQrCMxnO7DJAHUZMTarnxtGaYI/z+8pILL3 fA9Bfl/ruUVIg== Received: by mail-wm1-f70.google.com with SMTP id o21-20020a05600c511500b003818c4b98b5so682513wms.0 for ; Wed, 09 Mar 2022 03:03:08 -0800 (PST) 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=OplrCn9oV3iznSSvThUW8SXm9eAppNEvJclA8oQk6qo=; b=424E/IPSBxQ/zjVnVFdwGJ/xoId2XrGjhdQgFm4VOD5QLJbBwmXBp1HF7Mo0w9w6/N aRb3DVhJNUP0pDo/puc0kFfMgQpkJ3/VBHDqH/Wd/Um2c1Ad8akD6U5GWhxJ3zSXLuVN 6s3NByaskVfmo87G8sdLWwpPJYkRad3OwH9EzmpBbm3rlVsKIi5WQrBhHd60jOS3uHNJ mqY+f4W0dYa6FNcJZYfdVmFDnqBet0ftwfef03RK9w0xKP3VsSAgcllDOS8dBkM4PBdr nhb2PEgt6/xn4wE4HrGJVUYD30AnszNvlc9qw10n/L8o8rGMtKKOsU32hl4s20qyaV74 fBpA== X-Gm-Message-State: AOAM533P0BZ04LgeBYKPoFK/VjJeJdXaXGgFW/ncNqEtEuFOsVYmSaer ylqxXDrq5o0jw7vwI4pXsgiXsvW2bz7KJ7MVOnH3U32vC/II0cPxR8IyY5D/hb1DOvy9orjDCR7 4ucFKcesOamvuWPkLaeLFE08h X-Received: by 2002:a05:6000:154d:b0:1f1:e16d:8147 with SMTP id 13-20020a056000154d00b001f1e16d8147mr14718433wry.554.1646823788369; Wed, 09 Mar 2022 03:03:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXSQcAFwuTmicVMFLFzKYixgyA+/f3IlOBdtbIgfZr+2HcjliBmhs6zOrvXZ2BoV1sxZv7ng== X-Received: by 2002:a05:6000:154d:b0:1f1:e16d:8147 with SMTP id 13-20020a056000154d00b001f1e16d8147mr14718418wry.554.1646823788102; Wed, 09 Mar 2022 03:03:08 -0800 (PST) Received: from localhost.localdomain (068-133-067-156.ip-addr.inexio.net. [156.67.133.68]) by smtp.gmail.com with ESMTPSA id 9-20020a05600c268900b00381394d74a1sm1509439wmt.9.2022.03.09.03.03.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 03:03:07 -0800 (PST) From: christian.ehrhardt@canonical.com To: Raja Zidane Cc: Matan Azrad , dpdk stable Subject: patch 'app/compress-perf: fix number of queue pairs to setup' has been queued to stable release 19.11.12 Date: Wed, 9 Mar 2022 12:01:02 +0100 Message-Id: <20220309110116.1295395-31-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220309110116.1295395-1-christian.ehrhardt@canonical.com> References: <20220309110116.1295395-1-christian.ehrhardt@canonical.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 19.11.12 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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/c8a4d2d54310f8f685d630ebff2e866382bf3168 Thanks. Christian Ehrhardt --- >From c8a4d2d54310f8f685d630ebff2e866382bf3168 Mon Sep 17 00:00:00 2001 From: Raja Zidane Date: Wed, 2 Mar 2022 10:41:31 +0200 Subject: [PATCH] app/compress-perf: fix number of queue pairs to setup [ upstream commit e77e8b66d1f917419f9e6bea4148a3f246bbc75d ] The number of QPs is limited by the number of cores, such that in case the user requests more QPs than possible, the number of QPs actually configured on the device is equal to the number of cores, but the app tries to setup the original number of QPs. Align the number of QPs setup'ed to the limited number. Fixes: 424dd6c8c1a8 ("app/compress-perf: add weak functions for multicore test") Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- app/test-compress-perf/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-compress-perf/main.c b/app/test-compress-perf/main.c index 1c917eb2b0..3138bbcadb 100644 --- a/app/test-compress-perf/main.c +++ b/app/test-compress-perf/main.c @@ -184,6 +184,7 @@ comp_perf_initialize_compressdev(struct comp_test_data *test_data, .max_nb_priv_xforms = NUM_MAX_XFORMS, .max_nb_streams = 0 }; + test_data->nb_qps = config.nb_queue_pairs; if (rte_compressdev_configure(cdev_id, &config) < 0) { RTE_LOG(ERR, USER1, "Device configuration failed\n"); -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-03-09 11:57:44.990160532 +0100 +++ 0031-app-compress-perf-fix-number-of-queue-pairs-to-setup.patch 2022-03-09 11:57:43.396938405 +0100 @@ -1 +1 @@ -From e77e8b66d1f917419f9e6bea4148a3f246bbc75d Mon Sep 17 00:00:00 2001 +From c8a4d2d54310f8f685d630ebff2e866382bf3168 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e77e8b66d1f917419f9e6bea4148a3f246bbc75d ] + @@ -14 +15,0 @@ -Cc: stable@dpdk.org @@ -23 +24 @@ -index 3402b65c63..ce9e80bedc 100644 +index 1c917eb2b0..3138bbcadb 100644 @@ -26 +27 @@ -@@ -194,6 +194,7 @@ comp_perf_initialize_compressdev(struct comp_test_data *test_data, +@@ -184,6 +184,7 @@ comp_perf_initialize_compressdev(struct comp_test_data *test_data,