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 4D3E3A0093 for ; Wed, 9 Mar 2022 12:03:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 48C7A40150; Wed, 9 Mar 2022 12:03:00 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id CAB40410F5 for ; Wed, 9 Mar 2022 12:02:58 +0100 (CET) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (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-1.canonical.com (Postfix) with ESMTPS id 1D9733F4C2 for ; Wed, 9 Mar 2022 11:02:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646823778; bh=BWkpyxMkiAMflVkQ398WulyCZ/vrLnWkQnIqzcITKOg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uJnh6dkBWy4lt9QDuHqK7sR55gCM9CT1AiRG7W7ktcVI1Zl/2Vzw3JHyuMtYSv58G VE3+h1oQNp1rBab/IPvbbUH/xixma4LfWwriMD+c6XxO5K0+5ZdJbmHsa/1ydG5a3w CQ6Kn/gV5c/3lZYk6R3eL1U2hJUrY4CakEQrQdXc2OeDeHDjYy9jqaEYICC6yy0kV+ O7QOoTEcY7uY8X2QaZga1wjTratheEejzRHrLV51ptACZZXhF99h+Xtovt65ToEdym tIvbQfuwAxlQzxPpnwpEflHUyao4382JcY6gdujGgyYoTXHFcPtUsjyUI9XU2eJIAH wOMDcBFs7sXew== Received: by mail-wm1-f72.google.com with SMTP id l13-20020a7bcf0d000000b0038982c6bf8fso821551wmg.7 for ; Wed, 09 Mar 2022 03:02:58 -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=BWkpyxMkiAMflVkQ398WulyCZ/vrLnWkQnIqzcITKOg=; b=REr09uR68luguFW+8YYaAJ3JzCNB8CvfUCgoP7/hIiAzJyvPDivys8+P/8uRxjhyID IIdjioeFZnIGF4anj94nkQtTTtJ6lyb99W4iVH17MJAD/5r//5QbcDXeVGxe5xvQSX5o vbsmfr7ohH7seVXCgcDYpbmK1MiksQSKDo8FRuC2JhZk0YehIFHL+72V8ccC9ycgh8HK wDaguaGGwIkmotOfL5XSqPkyZS83MiYJ3S+vXRepkU849vNCZb7r0pKi43JKRhQ0HXH3 lFgyDalDlckQqZNisBCapJKU1b/nnKT59efW1+zyN2GwQL4BS1SseJ+tR4OhNfnqWn6z kzGQ== X-Gm-Message-State: AOAM531IoyC0M1q7jIRqMp9dZlWbzI76FgMMslzyiOXcYckD5ivmMckE MsiM85ZMQbYj866B4LzRNsu/emsGznLc0qejZDpbnFibOUDavgNqeHQwXJSA7JJh6yb+qgccFmx mNG+BlLrkmB0fglyty5Tcy98Y X-Received: by 2002:adf:c548:0:b0:1f0:2d62:4c7f with SMTP id s8-20020adfc548000000b001f02d624c7fmr15437018wrf.673.1646823777304; Wed, 09 Mar 2022 03:02:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1z0qVA95+9w6jRVZfpOS3kbIFpci7aKj2j0/J4jwsVlzwzri3k543DBZ176L3DOQx7gd84g== X-Received: by 2002:adf:c548:0:b0:1f0:2d62:4c7f with SMTP id s8-20020adfc548000000b001f02d624c7fmr15437000wrf.673.1646823776981; Wed, 09 Mar 2022 03:02:56 -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 u4-20020adfdb84000000b001e8d8ac5394sm1412993wri.110.2022.03.09.03.02.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 03:02:56 -0800 (PST) From: christian.ehrhardt@canonical.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 19.11.12 Date: Wed, 9 Mar 2022 12:01:01 +0100 Message-Id: <20220309110116.1295395-30-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/ee0bd3baf7f2e867ce590fb4a9564fa859f82a37 Thanks. Christian Ehrhardt --- >From ee0bd3baf7f2e867ce590fb4a9564fa859f82a37 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 6b56dd6809..1c917eb2b0 100644 --- a/app/test-compress-perf/main.c +++ b/app/test-compress-perf/main.c @@ -158,7 +158,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.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-03-09 11:57:44.942317307 +0100 +++ 0030-app-compress-perf-fix-socket-ID-type-during-init.patch 2022-03-09 11:57:43.396938405 +0100 @@ -1 +1 @@ -From 220b51f78b46bf773e513a09bf2fa67a9b8428ba Mon Sep 17 00:00:00 2001 +From ee0bd3baf7f2e867ce590fb4a9564fa859f82a37 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 220b51f78b46bf773e513a09bf2fa67a9b8428ba ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index 6ff6a2f04a..3402b65c63 100644 +index 6b56dd6809..1c917eb2b0 100644 @@ -24 +25 @@ -@@ -168,7 +168,7 @@ comp_perf_initialize_compressdev(struct comp_test_data *test_data, +@@ -158,7 +158,7 @@ comp_perf_initialize_compressdev(struct comp_test_data *test_data,