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 966B1A00C2 for ; Tue, 8 Mar 2022 15:16:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8EE6E406A2; Tue, 8 Mar 2022 15:16:14 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 014534068F for ; Tue, 8 Mar 2022 15:16:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646748972; 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=WipIoXumfr9n1LPb64xlFSK83cSPo9R27ijgg5p8Wds=; b=KO3qzb4pFBceVaVbMeYt+M8RyK3Rzo9ywi2jMIwHCllS6arYE2kj4iiUu2Al0WLjLgdywH erf09V9hOhss8q9UOP6EWVl+zqtKmcSRe4HAq5W/LKe3pYv1bjgdePm6/kBiioyJ/ZR9UU t1RGOBk2w6pIYIF1oSQyouGhUbB/S6E= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-468-xS-Is3TcMqa_X5tyEHijmA-1; Tue, 08 Mar 2022 09:16:07 -0500 X-MC-Unique: xS-Is3TcMqa_X5tyEHijmA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 55DFF5218; Tue, 8 Mar 2022 14:16:06 +0000 (UTC) Received: from rh.Home (unknown [10.39.195.190]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4A0A684034; Tue, 8 Mar 2022 14:16:05 +0000 (UTC) From: Kevin Traynor To: Radu Nicolau Cc: Qi Zhang , dpdk stable Subject: patch 'net/iavf: fix AES-GMAC IV size' has been queued to stable release 21.11.1 Date: Tue, 8 Mar 2022 14:14:43 +0000 Message-Id: <20220308141500.286915-28-ktraynor@redhat.com> In-Reply-To: <20220308141500.286915-1-ktraynor@redhat.com> References: <20220308141500.286915-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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" 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.1 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/14/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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/0a15c3ff0082c03b1d0143fa9c5d592b63c03507 Thanks. Kevin --- >From 0a15c3ff0082c03b1d0143fa9c5d592b63c03507 Mon Sep 17 00:00:00 2001 From: Radu Nicolau Date: Tue, 1 Mar 2022 13:41:31 +0000 Subject: [PATCH] net/iavf: fix AES-GMAC IV size [ upstream commit e816a255f7795710e7d9a12029b766c7e72aedf2 ] Fix AES-GMAC size, set it to the required value, unlike lookaside where it also includes salt length. Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto") Signed-off-by: Radu Nicolau Reviewed-by: Qi Zhang --- drivers/net/iavf/iavf_ipsec_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/iavf/iavf_ipsec_crypto.c b/drivers/net/iavf/iavf_ipsec_crypto.c index d6875eb6aa..b1949cee91 100644 --- a/drivers/net/iavf/iavf_ipsec_crypto.c +++ b/drivers/net/iavf/iavf_ipsec_crypto.c @@ -615,5 +615,5 @@ set_session_parameter(struct iavf_security_ctx *iavf_sctx, sess->block_sz = get_auth_blocksize(iavf_sctx, conf->crypto_xform->auth.algo); - sess->iv_sz = conf->crypto_xform->auth.iv.length; + sess->iv_sz = sizeof(uint64_t); /* iv len inc. salt */ sess->icv_sz = conf->crypto_xform->auth.digest_length; } else { -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-03-08 13:55:29.129865090 +0000 +++ 0028-net-iavf-fix-AES-GMAC-IV-size.patch 2022-03-08 13:55:28.497315166 +0000 @@ -1 +1 @@ -From e816a255f7795710e7d9a12029b766c7e72aedf2 Mon Sep 17 00:00:00 2001 +From 0a15c3ff0082c03b1d0143fa9c5d592b63c03507 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e816a255f7795710e7d9a12029b766c7e72aedf2 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org