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 98D59A04F5 for ; Wed, 11 Dec 2019 22:29:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 906DB1BC25; Wed, 11 Dec 2019 22:29:14 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id 8472F374C for ; Wed, 11 Dec 2019 22:29:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576099752; 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=ygZoKiZLAH7rBQPbnGQ0SXy5sE6afTK5lUtbmeO8jiE=; b=NiLq1C70GiK0oNx9xaNeYaqLWnQdhO/PYzUaIks2huK9fIEt//9M3P2cjP5ZH/vRVCpC+j FWgujLskbkRwbISALTWsScgE8UXMm9DBkaPX1xK7rqFeZJzsffYV9GBd9vRkV6d6GpIZqc Fldqj3m0OK1U+wNVkJBS0Jm6avdjBoE= 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-284-VFnWQYwIPi-RtC2sa2Kv3g-1; Wed, 11 Dec 2019 16:29:08 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D3D991800D45; Wed, 11 Dec 2019 21:29:07 +0000 (UTC) Received: from rh.redhat.com (ovpn-116-64.ams2.redhat.com [10.36.116.64]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1E0A110013A1; Wed, 11 Dec 2019 21:29:06 +0000 (UTC) From: Kevin Traynor To: Amaranath Somalapuram Cc: dpdk stable Date: Wed, 11 Dec 2019 21:26:49 +0000 Message-Id: <20191211212702.27851-57-ktraynor@redhat.com> In-Reply-To: <20191211212702.27851-1-ktraynor@redhat.com> References: <20191211212702.27851-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: VFnWQYwIPi-RtC2sa2Kv3g-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'crypto/ccp: fix digest size capabilities' has been queued to LTS release 18.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 LTS release 18.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 12/17/19. 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 rebasi= ng (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/32a21ec50d8ad0a19f= c3bb7e1d46643fb84cf0c0 Thanks. Kevin. --- >From 32a21ec50d8ad0a19fc3bb7e1d46643fb84cf0c0 Mon Sep 17 00:00:00 2001 From: Amaranath Somalapuram Date: Fri, 22 Nov 2019 12:17:47 +0530 Subject: [PATCH] crypto/ccp: fix digest size capabilities [ upstream commit 4f8c7b4fcf44a2f220e464762a4042d4643d604f ] CCP can support varied digest sizes ranging from 1 to some max value But the current code support only fixed max values. This patch updates the minimum digest sizes to 1 Fixes: e0d88a394e ("crypto/ccp: support run-time CPU based auth") Signed-off-by: Amaranath Somalapuram --- drivers/crypto/ccp/ccp_pmd_ops.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/crypto/ccp/ccp_pmd_ops.c b/drivers/crypto/ccp/ccp_pmd_= ops.c index 6984913f1..98a06dc6c 100644 --- a/drivers/crypto/ccp/ccp_pmd_ops.c +++ b/drivers/crypto/ccp/ccp_pmd_ops.c @@ -48,7 +48,7 @@ =09=09=09=09 }, \ =09=09=09=09 .digest_size =3D { \ -=09=09=09=09=09 .min =3D 20, \ +=09=09=09=09=09 .min =3D 1, \ =09=09=09=09=09 .max =3D 20, \ -=09=09=09=09=09 .increment =3D 0 \ +=09=09=09=09=09 .increment =3D 1 \ =09=09=09=09 }, \ =09=09=09=09 .aad_size =3D { 0 } \ @@ -90,7 +90,7 @@ =09=09=09=09 }, \ =09=09=09=09 .digest_size =3D { \ -=09=09=09=09=09 .min =3D 28, \ +=09=09=09=09=09 .min =3D 1, \ =09=09=09=09=09 .max =3D 28, \ -=09=09=09=09=09 .increment =3D 0 \ +=09=09=09=09=09 .increment =3D 1 \ =09=09=09=09 }, \ =09=09=09=09 .aad_size =3D { 0 } \ @@ -174,7 +174,7 @@ =09=09=09=09 }, \ =09=09=09=09 .digest_size =3D { \ -=09=09=09=09=09 .min =3D 32, \ +=09=09=09=09=09 .min =3D 1, \ =09=09=09=09=09 .max =3D 32, \ -=09=09=09=09=09 .increment =3D 0 \ +=09=09=09=09=09 .increment =3D 1 \ =09=09=09=09 }, \ =09=09=09=09 .aad_size =3D { 0 } \ @@ -258,7 +258,7 @@ =09=09=09=09 }, \ =09=09=09=09 .digest_size =3D { \ -=09=09=09=09=09 .min =3D 48, \ +=09=09=09=09=09 .min =3D 1, \ =09=09=09=09=09 .max =3D 48, \ -=09=09=09=09=09 .increment =3D 0 \ +=09=09=09=09=09 .increment =3D 1 \ =09=09=09=09 }, \ =09=09=09=09 .aad_size =3D { 0 } \ @@ -342,7 +342,7 @@ =09=09=09=09 }, \ =09=09=09=09 .digest_size =3D { \ -=09=09=09=09=09 .min =3D 64, \ +=09=09=09=09=09 .min =3D 1, \ =09=09=09=09=09 .max =3D 64, \ -=09=09=09=09=09 .increment =3D 0 \ +=09=09=09=09=09 .increment =3D 1 \ =09=09=09=09 }, \ =09=09=09=09 .aad_size =3D { 0 } \ @@ -384,7 +384,7 @@ =09=09=09=09 }, \ =09=09=09=09 .digest_size =3D { \ -=09=09=09=09=09 .min =3D 64, \ +=09=09=09=09=09 .min =3D 1, \ =09=09=09=09=09 .max =3D 64, \ -=09=09=09=09=09 .increment =3D 0 \ +=09=09=09=09=09 .increment =3D 1 \ =09=09=09=09 }, \ =09=09=09=09 .aad_size =3D { 0 } \ @@ -537,7 +537,7 @@ =09=09=09=09 },=09=09=09=09=09\ =09=09=09=09 .digest_size =3D {=09=09=09\ -=09=09=09=09=09 .min =3D 16,=09=09=09\ +=09=09=09=09=09 .min =3D 1,=09=09=09\ =09=09=09=09=09 .max =3D 16,=09=09=09\ -=09=09=09=09=09 .increment =3D 0=09=09=09\ +=09=09=09=09=09 .increment =3D 1=09=09=09\ =09=09=09=09 },=09=09=09=09=09\ =09=09=09=09 .aad_size =3D { 0 }=09=09=09\ --=20 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092019-12-11 21:24:17.182671526 +0000 +++ 0057-crypto-ccp-fix-digest-size-capabilities.patch=092019-12-11 21:24:1= 2.721650101 +0000 @@ -1 +1 @@ -From 4f8c7b4fcf44a2f220e464762a4042d4643d604f Mon Sep 17 00:00:00 2001 +From 32a21ec50d8ad0a19fc3bb7e1d46643fb84cf0c0 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 4f8c7b4fcf44a2f220e464762a4042d4643d604f ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index d5041f0ec..a19e85ecb 100644 +index 6984913f1..98a06dc6c 100644