From patchwork Wed Nov 6 05:17:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 178591 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp126170ilf; Tue, 5 Nov 2019 21:20:41 -0800 (PST) X-Google-Smtp-Source: APXvYqxIlODIOj8qE2G49x+6Lc/ONGv/OyW8L+0NfX6a8aw0aruhn+EoVG9lq88NORIv22Df9zc+ X-Received: by 2002:a50:a7a1:: with SMTP id i30mr655101edc.94.1573017641506; Tue, 05 Nov 2019 21:20:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573017641; cv=none; d=google.com; s=arc-20160816; b=QhsD8SxiKaQTxAtD3tidm8RNGjc9Gb5OmMX9Wdkmx3Y48Bj0rwZPXlkwSCZjwrLRqj tLrZ/+S3pb3M4E6qa8VLAvm9OzCEnlzoGJ6Ih1CbHg2OI+OYsaS9NIIApbzOpjiWBkwa zQDMrJ/bUUWbCTltwPrq2uyqtoB8XZEK/it6IziPsgWxFFKT7aKX3SZaOHMbHI29ngWG 1VpHjnIXU/1lpr7TiCaSqTGqNtHF5WoKZxABDlPQ5fTiRzjPJlCjejmH01H2wXAayaK1 ZSWQuL6egryggirKzSVOUmTOjCC7ADE4W+9OCnlo/gl7vfIfJ5UXuOGRj7kHkDIXyWyJ 5hXQ== 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:cc:to:from; bh=SdbiXpkKPcFo4o/8GCm7/ykBcZ61M+hloe86klXNkKU=; b=xPgxjUpIk4t51JpU8Vz9Uo4UZQf49ys5sLdEbekC/QqrNGt0AWixmVTUCuzCUxqVUX oVbWPwuq8ldiXbDAQcraExxe/n5X0wQZg5eSzhlW6I1w9IJSTGx3CKACreeJIBWbf+2r aOMyvYmxsgGykAgBRR5fy6M+QH6aFHMITLp+Mw20NcFZjnnsfmuZx6caBK7+NQJEgO2B KwS5nFWYLnacpjBAz0J7ySw5M28c1oUM7kjHgdMDQPgJ3Xu471v0Dor+J44zwCqwWqBj ZM4lBenVG511MswI95ixt5FJ4QecOtOlI10kc6/n18X15gcWnKbD9rsTE9omccEgCme/ uDrQ== 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 pv22si8516059ejb.337.2019.11.05.21.20.41; Tue, 05 Nov 2019 21:20:41 -0800 (PST) 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 7AD7C5B32; Wed, 6 Nov 2019 06:20:40 +0100 (CET) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id E2785A69 for ; Wed, 6 Nov 2019 06:20:38 +0100 (CET) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6D3011A0726; Wed, 6 Nov 2019 06:20:38 +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 0A3361A010F; Wed, 6 Nov 2019 06:20:37 +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 C544340285; Wed, 6 Nov 2019 13:20:34 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org Cc: akhil.goyal@nxp.com Date: Wed, 6 Nov 2019 10:47:19 +0530 Message-Id: <20191106051731.3625-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191101175141.4663-1-hemant.agrawal@nxp.com> References: <20191101175141.4663-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v3 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 c10ec1007..29ffe5631 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.h +++ b/drivers/crypto/dpaa_sec/dpaa_sec.h @@ -712,6 +712,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 }, @@ -720,6 +721,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 },