From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C338AA04DD for ; Wed, 18 Nov 2020 17:38:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4B94BF12; Wed, 18 Nov 2020 17:37:44 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id 90CFBF12 for ; Wed, 18 Nov 2020 17:37:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605717460; 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=U77GtItxI+kMEW4tCgKwguQxTYQVxzLT6Coa7MJZl8c=; b=NIaOrfp8ubD7+d2II/MtlAg98bXceNZOoVbRr7iohqdML/eWJKcFdKnIKvdFN4PeN4yKke jgwNn7aEb9zSdvGf50S5WicX8yDspoK3a30sH96gmN/M/vpkGrF2/hvZESvI0OJl/jzr2I jbDXxZdSJn62Fwfzbind2/OvQeswqd4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-49-zzN_qBoWOwGvnakimAtKrw-1; Wed, 18 Nov 2020 11:37:36 -0500 X-MC-Unique: zzN_qBoWOwGvnakimAtKrw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5422E800138; Wed, 18 Nov 2020 16:37:35 +0000 (UTC) Received: from rh.redhat.com (ovpn-113-249.ams2.redhat.com [10.36.113.249]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4C23A5C1A3; Wed, 18 Nov 2020 16:37:34 +0000 (UTC) From: Kevin Traynor To: David Marchand Cc: Akhil Goyal , dpdk stable Date: Wed, 18 Nov 2020 16:35:33 +0000 Message-Id: <20201118163558.1101823-47-ktraynor@redhat.com> In-Reply-To: <20201118163558.1101823-1-ktraynor@redhat.com> References: <20201118163558.1101823-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-stable] patch 'crypto/dpaa2_sec: remove dead code' has been queued to LTS release 18.11.11 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/24/20. 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-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/8749f40135561395837dc5c41c0f873b7a977322 Thanks. Kevin. --- >From 8749f40135561395837dc5c41c0f873b7a977322 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Fri, 23 Oct 2020 09:43:04 +0200 Subject: [PATCH] crypto/dpaa2_sec: remove dead code [ upstream commit 0ea0bbfebc3e557b1739b20de0dabbe938b2f058 ] RTE_LIBRTE_SECURITY_TEST never existed, the variable under this check is never used. Fixes: e117c18a1dbe ("crypto/dpaa2_sec: restructure session management") Signed-off-by: David Marchand Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 0db5b4e6d9..b2f43e37b2 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -2424,10 +2424,4 @@ dpaa2_sec_ipsec_proto_init(struct rte_crypto_cipher_xform *cipher_xform, } -#ifdef RTE_LIBRTE_SECURITY_TEST -static uint8_t aes_cbc_iv[] = { - 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, - 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f }; -#endif - static int dpaa2_sec_set_ipsec_session(struct rte_cryptodev *dev, -- 2.26.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-11-18 16:33:38.812361705 +0000 +++ 0047-crypto-dpaa2_sec-remove-dead-code.patch 2020-11-18 16:33:37.949215075 +0000 @@ -1 +1 @@ -From 0ea0bbfebc3e557b1739b20de0dabbe938b2f058 Mon Sep 17 00:00:00 2001 +From 8749f40135561395837dc5c41c0f873b7a977322 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 0ea0bbfebc3e557b1739b20de0dabbe938b2f058 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index ce1d50ce77..6ff0d833e9 100644 +index 0db5b4e6d9..b2f43e37b2 100644 @@ -22 +23 @@ -@@ -2821,10 +2821,4 @@ dpaa2_sec_ipsec_proto_init(struct rte_crypto_cipher_xform *cipher_xform, +@@ -2424,10 +2424,4 @@ dpaa2_sec_ipsec_proto_init(struct rte_crypto_cipher_xform *cipher_xform,