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 4EE1C41E9F for ; Wed, 15 Mar 2023 15:36:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C0DD42BFE; Wed, 15 Mar 2023 15:36:59 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id DF93E40141 for ; Wed, 15 Mar 2023 15:36:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678891017; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fZcOX8OAv6zSl1cfA2dIDOsTPcYJ6Fcx8uuPsdyfTDM=; b=iTXej80JRZaMW+zqM1cykRRuA/ZT4MIB+ie4UK+UoTaghCpdOLmq/Jp3bF+Hew/r+MsEd4 PXj7SffGP6dyJ7keXZ5+aRlz82ssRelwRVCJXVGylR/hWIMeCl2FozN8CHm+oELEFUpGUK lswAo42+YQ9St3jdqdDtf02lDsNuowI= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-435-lp0MGISsOcunG7_M1fHIOA-1; Wed, 15 Mar 2023 10:36:54 -0400 X-MC-Unique: lp0MGISsOcunG7_M1fHIOA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 03F0D3C66729; Wed, 15 Mar 2023 14:36:54 +0000 (UTC) Received: from rh.Home (unknown [10.39.192.83]) by smtp.corp.redhat.com (Postfix) with ESMTP id 515A740C6E69; Wed, 15 Mar 2023 14:36:53 +0000 (UTC) From: Kevin Traynor To: Hernan Vargas Cc: Maxime Coquelin , dpdk stable Subject: patch 'test/bbdev: remove check for invalid opaque data' has been queued to stable release 21.11.4 Date: Wed, 15 Mar 2023 14:36:00 +0000 Message-Id: <20230315143640.677317-7-ktraynor@redhat.com> In-Reply-To: <20230315143640.677317-1-ktraynor@redhat.com> References: <20230315143640.677317-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 21.11.4 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/20/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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/e29f5be725333c24ae47570cb9ee2045a98ca571 Thanks. Kevin --- >From e29f5be725333c24ae47570cb9ee2045a98ca571 Mon Sep 17 00:00:00 2001 From: Hernan Vargas Date: Thu, 2 Mar 2023 12:21:57 -0800 Subject: [PATCH] test/bbdev: remove check for invalid opaque data [ upstream commit 26437807ff57a13133d4c03d87c5eac037f1ffaa ] Assert also if the opaque data is invalid. Fixes: 335c11fd2763 ("app/bbdev: support HARQ validation") Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 7e76f92bf1..aab2c41ec1 100644 --- a/app/test-bbdev/test_bbdev_perf.c +++ b/app/test-bbdev/test_bbdev_perf.c @@ -71,5 +71,4 @@ #define SYNC_WAIT 0 #define SYNC_START 1 -#define INVALID_OPAQUE -1 #define INVALID_QUEUE_ID -1 @@ -1824,8 +1823,7 @@ check_enc_status_and_ordering(struct rte_bbdev_enc_op *op, op->status, expected_status); - if (op->opaque_data != (void *)(uintptr_t)INVALID_OPAQUE) - TEST_ASSERT((void *)(uintptr_t)order_idx == op->opaque_data, - "Ordering error, expected %p, got %p", - (void *)(uintptr_t)order_idx, op->opaque_data); + TEST_ASSERT((void *)(uintptr_t)order_idx == op->opaque_data, + "Ordering error, expected %p, got %p", + (void *)(uintptr_t)order_idx, op->opaque_data); return TEST_SUCCESS; -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-03-15 14:30:20.788066260 +0000 +++ 0007-test-bbdev-remove-check-for-invalid-opaque-data.patch 2023-03-15 14:30:20.554123591 +0000 @@ -1 +1 @@ -From 26437807ff57a13133d4c03d87c5eac037f1ffaa Mon Sep 17 00:00:00 2001 +From e29f5be725333c24ae47570cb9ee2045a98ca571 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 26437807ff57a13133d4c03d87c5eac037f1ffaa ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -18 +19 @@ -index 74e7e13940..95d63a3548 100644 +index 7e76f92bf1..aab2c41ec1 100644 @@ -21 +22 @@ -@@ -79,5 +79,4 @@ +@@ -71,5 +71,4 @@ @@ -27 +28 @@ -@@ -1952,8 +1951,7 @@ check_enc_status_and_ordering(struct rte_bbdev_enc_op *op, +@@ -1824,8 +1823,7 @@ check_enc_status_and_ordering(struct rte_bbdev_enc_op *op,