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 CD8AFA0527 for ; Mon, 9 Nov 2020 19:42:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B6BF8697B; Mon, 9 Nov 2020 19:42:21 +0100 (CET) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by dpdk.org (Postfix) with ESMTP id 26131697B for ; Mon, 9 Nov 2020 19:42:20 +0100 (CET) Received: by mail-wr1-f41.google.com with SMTP id k2so6485921wrx.2 for ; Mon, 09 Nov 2020 10:42:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GTI+W/497Wx4tW78cmtgC2GouxTpXlGYKlXl40sILUY=; b=D/KyKpZWnIBDijIR6PK+mnvCHDLtzDxGKsidF9WKPRSItnQ8XfgNMzEiXAcyBPMZmw ESaf7JXYDThIDYvpmlI7hGP2KI2zCKyCCEyUDUyzlMDx4OUkfq1UcoqjgxTlYqE57g6r MX6PdyHhrx8Vrp4QUIg6ZVlgj8wCJphLaX1G37AYp8bWmohc3msBrO2WFGsc4XvaFmlB RzX0+rzFtNxP4nhBMnZIhSOPdJA34hivPMfCwm03TRXxUpCEyOXBvbEHlom+EsEd5YMZ ypy915xquBg3udh7R7SnAsZ28cCWTaf2gAyUpn+6ked4r52LyEzOP9Y8EuoEY4JntsxE YshQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GTI+W/497Wx4tW78cmtgC2GouxTpXlGYKlXl40sILUY=; b=aG6sm66mOiAW+t0MLuu8tTTQV5dZRbVTgByNBudAUd+BDbqVPloA/wAWBjjpLGgrRC Mm+YTKpjlf40MSinayD7SOnr9n9EszXnZBxiN7Kg+nsHuN+QPVdYTVdw/GrCnuNxRPco jP8a8VjQrRviYOlu5Ro4kxhSB2VT9Y4Tn1O91IBGnfckrtBqja+pWVjwe842Z2e4LBBx OnaVo3rlDn+H4YnJlNAoxe6ZRjORI/Oh96wcnaNrXwRU7zgSNHD9gaPhUObz/GScGh44 nPQSw88i7+czLVfy52C9baHDZlrGMH++7QGLUW6RUMNahFrPrhPl0eumzZTSGD4FI+8I Dihg== X-Gm-Message-State: AOAM533suc4FxvPEIcvGO5GkS9QbnQXnKiQg7r7TipQaVTbbBfaxb8U9 xGverppmtDb08eSTWzKSuSA6VkBXx46Azg== X-Google-Smtp-Source: ABdhPJyOl88BQEKdilxopvJ68qoD5MZwqXU9lLJoMAYr77gi0jNjZ4swEERNPTNrPWRGOY2A1vCqIA== X-Received: by 2002:adf:a2c2:: with SMTP id t2mr20151038wra.54.1604947339932; Mon, 09 Nov 2020 10:42:19 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id a128sm361895wmf.5.2020.11.09.10.42.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:42:19 -0800 (PST) From: luca.boccassi@gmail.com To: David Marchand Cc: Akhil Goyal , dpdk stable Date: Mon, 9 Nov 2020 18:40:08 +0000 Message-Id: <20201109184111.3463090-20-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201109184111.3463090-1-luca.boccassi@gmail.com> References: <20201028104606.3504127-207-luca.boccassi@gmail.com> <20201109184111.3463090-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'crypto/dpaa2_sec: remove dead code' has been queued to stable release 19.11.6 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 stable release 19.11.6 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/11/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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/65394dd2a6fef5915c868162f186671fc0f6a958 Thanks. Luca Boccassi --- >From 65394dd2a6fef5915c868162f186671fc0f6a958 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 60e9bf702b..5eb78eca57 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -2746,12 +2746,6 @@ dpaa2_sec_ipsec_proto_init(struct rte_crypto_cipher_xform *cipher_xform, return 0; } -#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, struct rte_security_session_conf *conf, -- 2.27.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-11-09 18:40:12.008154725 +0000 +++ 0020-crypto-dpaa2_sec-remove-dead-code.patch 2020-11-09 18:40:11.095310722 +0000 @@ -1 +1 @@ -From 0ea0bbfebc3e557b1739b20de0dabbe938b2f058 Mon Sep 17 00:00:00 2001 +From 65394dd2a6fef5915c868162f186671fc0f6a958 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 60e9bf702b..5eb78eca57 100644 @@ -22 +23 @@ -@@ -2820,12 +2820,6 @@ dpaa2_sec_ipsec_proto_init(struct rte_crypto_cipher_xform *cipher_xform, +@@ -2746,12 +2746,6 @@ dpaa2_sec_ipsec_proto_init(struct rte_crypto_cipher_xform *cipher_xform,