From patchwork Fri Nov 1 17:51:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 178319 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp823039ill; Fri, 1 Nov 2019 10:54:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsTdAP5iVIFYo3Hf3Mr6GkctbgSdoVfiLM0CvF2V5ih32H1Afja/epcmGZilYho3pFIFZ0 X-Received: by 2002:a17:907:4451:: with SMTP id mw1mr11191543ejb.209.1572630888287; Fri, 01 Nov 2019 10:54:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572630888; cv=none; d=google.com; s=arc-20160816; b=HFXwFX4YSPbGfYXWptTEp5gt3fQpXBo7M4yr2fjZfELaYW4Zn/8PyuTvjeu9EBFOof cPYI2ZmMq0gvf2emJGJoZr8BdjXcmjto8HpnXqCgXD352Dilwp7iFLHYNJdiam02udY6 TFCq/st/OKheXNBD1kQbjGy0hsCJiAfgneTF1S2XDXxKjtJiSvmcMYYIEA8CsjBFJxXm Bbfo4FKmcEbxrLA3Vys5RlyRLPNa159/TSuvnywQLrOyHtKEqV+goSVHb5uzlJwRIWQq I5hLdodHtg3kRNv9UdZr70SofORhv5yEchVUQTkB28t+4a9F7V/BuSscwGBk9QXKjI53 kJgw== 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=gTfySxTMKkGTJMlUleWcuHavMGP48+jxDAeGp25UkZc=; b=PUm74CsqLH87veFTw3OokP6dsp6uG1U3xfz4JQuY7+N1lY1pXFXkvrWwbz54xP81t8 toZ/oPFELgkklAwse86j8x3VRBJHRBPdUjVQAVXU8Fw/YlOVxKbQdS9ybgwuYrzC0W5n Vg50zCJK7AODOAC/rTfxcxn88XMPRYhONu8vNrMWqBGaUxmpHah1WA7bkWFn05c8ricN 3OwRgjqJ4d4xvhQETOHjSBO8EoEv8oOstUrEPuQOQr5JeLZSd8BRQkIyfldKrEo/BVQK BRWiQdR9KcVJbVBAAuYymefKzCoyqJLelSerou7OqNVszHBMrWv9dhXMZTCIIPlrq+O1 b+cw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.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 dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id r17si944915edx.257.2019.11.01.10.54.48; Fri, 01 Nov 2019 10:54:48 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7420B1E565; Fri, 1 Nov 2019 18:54:47 +0100 (CET) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 9BCCE1E543 for ; Fri, 1 Nov 2019 18:54:46 +0100 (CET) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 320241A0678; Fri, 1 Nov 2019 18:54:46 +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 C341E1A0125; Fri, 1 Nov 2019 18:54:44 +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 8C541402F0; Sat, 2 Nov 2019 01:54:42 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, akhil.goyal@nxp.com Date: Fri, 1 Nov 2019 23:21:29 +0530 Message-Id: <20191101175141.4663-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191025083336.24212-1-hemant.agrawal@nxp.com> References: <20191025083336.24212-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v2 01/13] crypto/dpaa_sec: fix to set PDCP capability flags X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" set the pdcp capa_flags to 0 by default. Fixes: a1173d55598c ("crypto/dpaa_sec: support PDCP offload") Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa_sec/dpaa_sec.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h index 684950d6d..32dc8268c 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.h +++ b/drivers/crypto/dpaa_sec/dpaa_sec.h @@ -714,6 +714,7 @@ static const struct rte_security_capability dpaa_sec_security_cap[] = { .protocol = RTE_SECURITY_PROTOCOL_PDCP, .pdcp = { .domain = RTE_SECURITY_PDCP_MODE_DATA, + .capa_flags = 0 }, .crypto_capabilities = dpaa_pdcp_capabilities }, @@ -722,6 +723,7 @@ static const struct rte_security_capability dpaa_sec_security_cap[] = { .protocol = RTE_SECURITY_PROTOCOL_PDCP, .pdcp = { .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .capa_flags = 0 }, .crypto_capabilities = dpaa_pdcp_capabilities },