From patchwork Thu Jan 14 07:05:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 362816 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp237118jap; Wed, 13 Jan 2021 23:15:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6PRSiSlIChzSnlchXo/KbJHHHc1Ci8xHcC3ucRM8Rjuu9EMl0C92cR6sLaW2bSiF2iyfV X-Received: by 2002:a05:6402:1102:: with SMTP id u2mr4794824edv.18.1610608558875; Wed, 13 Jan 2021 23:15:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610608558; cv=none; d=google.com; s=arc-20160816; b=ZlU4g4czZXVzd4vUS8+199djFGOTyeGYpyYjgL2nVi0kKZWihJYwQfByI7tVSCJ2dX 5tCfQVHAjdQf7ylRdWQ9FwmVQ+VnE4mJhdCvjNQXm4rKfZjted7PPctNa9JVxohroy3U xN8d7SzzNP37iHQ7ua99MLcT4Ipd37Mgx/yhYmX8o+2SwBuy08Pa+OVQY0QKd02uFC69 MzZSPv1g94VMZas8RHOxorFAY2GInG2RDgzG2WQf/J6Ems/7ByMPsIPDfhOpZI9L6QSL PWtts5xTdXEl1nftBfEflaBKYenKEmRsupsWxl/K8MFtsTpn2CfxezDHfeTiVt6xDUKq PoAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from; bh=aAJ9bTbkptJS+U63BCKFSs+JtfJvuAb20MBv1lKCmOk=; b=ugZAqmH4bfMKAJL7z2NCmgBBVXC9lvZ3z/wWKZvPZ9+a1t1eN5OAxgpajG/rPvW1lh 4p7zd8AzlbmfzEvJDP1bcCn7nptfTJFLe6URYnxqw47V0YqYVJtU2TC1uaSWELpVhMO/ 1QVktnZM2ozocKq/lS4DGXnvT3H1piiK/Gwl8fNVlqos5/fKP1lW5V7dHbNn+20Q8sem YaqDFl449KKPOvH6asN9mT8kk4toJ9HXouQMuDFrU4pkS/hbIoxeBExv+uLaPYbXvYM6 FKzfO8s2DDr/z7uQ9BKcy10WFp42Y7Fs85qTUc5nYgy/3QwzuXYipyKacyIxGw8dUvQk 34zg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from mails.dpdk.org (mails.dpdk.org. [217.70.189.124]) by mx.google.com with ESMTP id v11si2205190edy.157.2021.01.13.23.15.58; Wed, 13 Jan 2021 23:15:58 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) client-ip=217.70.189.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 82941140F77; Thu, 14 Jan 2021 08:15:48 +0100 (CET) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by mails.dpdk.org (Postfix) with ESMTP id 7AA6B140EBA for ; Thu, 14 Jan 2021 08:15:44 +0100 (CET) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 4ED5E1A1197; Thu, 14 Jan 2021 08:15:44 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 0CEE61A07FE; Thu, 14 Jan 2021 08:15:43 +0100 (CET) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 4C4F0402E8; Thu, 14 Jan 2021 08:15:41 +0100 (CET) From: Hemant Agrawal To: dev@dpdk.org, akhil.goyal@nxp.com Date: Thu, 14 Jan 2021 12:35:00 +0530 Message-Id: <20210114070502.16033-3-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210114070502.16033-1-hemant.agrawal@nxp.com> References: <20210107105416.20770-1-hemant.agrawal@nxp.com> <20210114070502.16033-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v2 3/5] common/dpaax/caamflib: update zuc-zuc descriptor sharing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Akhil Goyal the descriptor sharing needed to be changed for ZUC+ZUC as we were getting invalid CHA combination error due to sharing being done on DECOs simultaneously. Signed-off-by: Akhil Goyal --- drivers/common/dpaax/caamflib/desc/pdcp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/drivers/common/dpaax/caamflib/desc/pdcp.h b/drivers/common/dpaax/caamflib/desc/pdcp.h index f084cf1de0..659e289a45 100644 --- a/drivers/common/dpaax/caamflib/desc/pdcp.h +++ b/drivers/common/dpaax/caamflib/desc/pdcp.h @@ -3282,7 +3282,7 @@ cnstr_shdsc_pdcp_u_plane_encap(uint32_t *descbuf, SHR_ALWAYS, /* NULL */ SHR_WAIT, /* SNOW f9 */ SHR_WAIT, /* AES CMAC */ - SHR_ALWAYS /* ZUC-I */ + SHR_WAIT /* ZUC-I */ }, }; LABEL(pdb_end); @@ -3485,7 +3485,7 @@ cnstr_shdsc_pdcp_u_plane_decap(uint32_t *descbuf, SHR_ALWAYS, /* NULL */ SHR_WAIT, /* SNOW f9 */ SHR_WAIT, /* AES CMAC */ - SHR_ALWAYS /* ZUC-I */ + SHR_WAIT /* ZUC-I */ }, };