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 09285A0093 for ; Wed, 9 Mar 2022 17:31:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 041124013F; Wed, 9 Mar 2022 17:31:01 +0100 (CET) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mails.dpdk.org (Postfix) with ESMTP id 1973E40687 for ; Wed, 9 Mar 2022 17:31:00 +0100 (CET) Received: by mail-wr1-f48.google.com with SMTP id k24so3912976wrd.7 for ; Wed, 09 Mar 2022 08:31:00 -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=ea+08a2S1a3E/D+0SS7yh0KzKiOYxmpwocYl3du4W5s=; b=NZ362MqMs+MkNuh7mdz0W/TLaLl2oSW5Ri6B5zLH5mMoGqzrX2ykPKymWExrP1nsJs oKCojEbn+mfolxeBTLTrKOlc3dhbiiWJ2HMHBXHPPOH1j4vDt2FpOWl4pG2ZiSWys2ch 2oIwqnJdsSdFf2VuuZT9oD7OknXAHG0C8S6DgcBAkhAT/UJjn8S3bHVtx68ioSNo6Et6 yNC5h6z2Rbd6aXcZRau9cOKZ6YpVGBjNy7lVfv0QaqCCjKZcp7fP/LnDMtrrUPdNIOO0 o99bGcoaIBcso2GafvWQWeiewJ8vIt54SsVCkYF1mkRnuWbrdyg2hZs2N62KjotCjSl8 4NPQ== 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=ea+08a2S1a3E/D+0SS7yh0KzKiOYxmpwocYl3du4W5s=; b=q0lCdtO+dSlQKRvgZ9Y2Ih3Sk/aewlpf7gAQ4xPaXZPQ7rr8w0ERchRvTv6I0Ah3Iy ouBYSiS58s/GEIyC1MpKyKujtYSllA5SMQyshUj0ick7LOO7R4wYHKXN0KY8ES2V530V Ntcc/qzXXaGdM/vbSLPHSr5X/P2yY6tXxdqYhBOfeFH1Fe9OU9wp8XAGkgg/46jj/aWN 6r3xwplPGtMt0hGE2fYSFwR4iJD4oyS5hHxp1zwUiRQ55qvzvwfIdmYeyNdwkmZYm4UZ JTgstbZ1P3NOqEZNDkAolnCrww/AOSddIhMtLulNFRG71giuK+3Ut1zIY1cb2llFA9KT UaMQ== X-Gm-Message-State: AOAM530FG5mZxgJ41QDUzU2dOCF4LEKTy8Eq+OLmGhtBlDbx6/DgNTwT JnE3kx+0KmOttlc/mxQlzrpfuIkXzWE= X-Google-Smtp-Source: ABdhPJxJ9eWFf8p68QWEawN78UOlP6r8y7y0N++YuN8Y/SM3U/EV6E49eoPTDWqR8b4R4eSf9m+9kA== X-Received: by 2002:a5d:4890:0:b0:1ed:9d4e:f8ef with SMTP id g16-20020a5d4890000000b001ed9d4ef8efmr321061wrq.595.1646843459702; Wed, 09 Mar 2022 08:30:59 -0800 (PST) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id t9-20020a05600c198900b0037bd5fabd10sm2598073wmq.48.2022.03.09.08.30.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 08:30:59 -0800 (PST) From: luca.boccassi@gmail.com To: Raja Zidane Cc: Matan Azrad , dpdk stable Subject: patch 'app/compress-perf: fix socket ID type during init' has been queued to stable release 20.11.5 Date: Wed, 9 Mar 2022 16:30:19 +0000 Message-Id: <20220309163053.245754-3-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220309163053.245754-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-1-luca.boccassi@gmail.com> <20220309163053.245754-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/9df88bfefeaaaf22a22a64b4a3f4c5841ec11341 Thanks. Luca Boccassi --- >From 9df88bfefeaaaf22a22a64b4a3f4c5841ec11341 Mon Sep 17 00:00:00 2001 From: Raja Zidane Date: Wed, 2 Mar 2022 10:39:27 +0200 Subject: [PATCH] app/compress-perf: fix socket ID type during init [ upstream commit 220b51f78b46bf773e513a09bf2fa67a9b8428ba ] Socket ID is obtained by function rte_compressdev_socket_id, which returns it as integer, but is interpreted as unsigned byte integer. change type from uint8_t to int. Fixes: ed7dd94f7f66 ("compressdev: add basic device management") Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- app/test-compress-perf/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-compress-perf/main.c b/app/test-compress-perf/main.c index 6ff6a2f04a..3402b65c63 100644 --- a/app/test-compress-perf/main.c +++ b/app/test-compress-perf/main.c @@ -168,7 +168,7 @@ comp_perf_initialize_compressdev(struct comp_test_data *test_data, cdev_id = enabled_cdevs[i]; struct rte_compressdev_info cdev_info; - uint8_t socket_id = rte_compressdev_socket_id(cdev_id); + int socket_id = rte_compressdev_socket_id(cdev_id); rte_compressdev_info_get(cdev_id, &cdev_info); if (cdev_info.max_nb_queue_pairs && -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-03-09 16:30:08.689293718 +0000 +++ 0003-app-compress-perf-fix-socket-ID-type-during-init.patch 2022-03-09 16:30:08.483023722 +0000 @@ -1 +1 @@ -From 220b51f78b46bf773e513a09bf2fa67a9b8428ba Mon Sep 17 00:00:00 2001 +From 9df88bfefeaaaf22a22a64b4a3f4c5841ec11341 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 220b51f78b46bf773e513a09bf2fa67a9b8428ba ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org