From patchwork Thu Aug 30 05:50:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 145496 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp419274ljw; Wed, 29 Aug 2018 22:53:13 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbB2F8Rp0uMNyju+7OvmqV9EexxRx0z1RoHmp/RJPRiYvaIlStY+vefbW+g33lwX1rcbE1a X-Received: by 2002:adf:d110:: with SMTP id a16-v6mr6621053wri.17.1535608393645; Wed, 29 Aug 2018 22:53:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535608393; cv=none; d=google.com; s=arc-20160816; b=yZ7A7avfdleQC7jNN4nbNvAXaBWw6pqAlxLlKJ0hJGgFi00cEZ7LbzFTbaQiw/G2PB QOGIdD5jQ/naWblW9Z9wHQtTeORInrn67xt0QFJ23lbpB95uRz82vMyE7VCfeoDKRcJS 1YMoZIPt5Tmf/cXiOe/PfEvJKj/NaV2vmX44/a43p9/KBRxETdXRQzSz3e9+H5zzW6gV iOtozs2SZjwGsQHElMhQd+2ShzJQd5mCUvWuq6m/lXq5NfPK8DFn/wr1Pa8iS3wU3h1c 7WUbL8koqVNLCOx74t8JTbN0jDMKa1FQIU6gcdV8HuQptHb2OPn8O4cYlUAGwUiOb6tF f/Og== 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:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:cc:to:from :dkim-signature:arc-authentication-results; bh=r53pmwJwnu1uOR8T0H5g4oXqXow8XbmSoPQgSTLpr1A=; b=YPUh9AV7aXqmgzHIQlWm0IaNh4JB+++6QFSob00quANX3aQ+xFJBZt5Riyy7ar75Ex +1Dq2W/lj/GbFn3W9ETNZ1d4ETHYy4A4bc2YXT8IKnGznptUOkmOVN5UdafcmPYhmRxg jKADimyQMBbXpfLRJgr+930P0zRMKcLoKbQqgF86egbOrwHCs+X2m0sZteNdLHpJBs16 9IVhKl0T1oaHfCSSBhW3P/VpeWC6uObbfr3gNBsCiJtlMMRqfKJmRH2F5QIxX/igvNiP 6V9HZu8uieUQrJirmxdc8qcnZMEzPDllK++5j7jV9P6/pe3TLxGw4152srY1JscJaMOS 67Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b="tgcpHH/H"; 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 h187-v6si675773wmf.40.2018.08.29.22.53.13; Wed, 29 Aug 2018 22:53:13 -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; dkim=fail header.i=@nxp.com header.s=selector1 header.b="tgcpHH/H"; 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 1E4224C88; Thu, 30 Aug 2018 07:53:12 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10062.outbound.protection.outlook.com [40.107.1.62]) by dpdk.org (Postfix) with ESMTP id 7012AF11 for ; Thu, 30 Aug 2018 07:53:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r53pmwJwnu1uOR8T0H5g4oXqXow8XbmSoPQgSTLpr1A=; b=tgcpHH/H//fHrAmXCV/smv21j62thVAit6HrFyc/UtHEEJ15M4tg+YXzN2H/00sAbe742cZlxCV0tWk9cS4OYbMZiN2Tr2EF61zrwcTHvqbhd4UzRPC/ggo9un7BCmP0QoocmT5affvnruai+Wo+a3Aslpv5XS3kufCo6e+9JMQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.143.30.134) by VI1PR0401MB2541.eurprd04.prod.outlook.com (2603:10a6:800:56::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.17; Thu, 30 Aug 2018 05:53:07 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: akhil.goyal@nxp.com Date: Thu, 30 Aug 2018 11:20:55 +0530 Message-Id: <1535608265-13323-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: PN1PR0101CA0049.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:d::11) To VI1PR0401MB2541.eurprd04.prod.outlook.com (2603:10a6:800:56::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bf2fc12b-a7b3-4d68-a525-08d60e3cdca8 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0401MB2541; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0401MB2541; 3:79ebEEaNELATKGW+/TLZHBTh8ENst/oV4ADOupSA5yfbp3ReGuCxJg0CqGkuSaJdlug7tlmx/S1ATP+2Wh0zDIlSHj14Ud3xqlDfOAW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6YjyCyqxEyGN1g3nY51Lc2Hr1XGDPcl+xIe+nTM/z/JNi4rVQVPu4yoZjDKGHJrpRMda7MUVjyADWaUtoUcU9rgEffiCnobFEHDwvuRTBd6raS8PNCcZl2Tc2xkSEWkrKUAOXDG7z5Fv0m9WMu63bDe5bELlrvABgYfFUpdiBgTNO+V5+RtWwNywyt9kMVPdGjqEHsWwLE0wnqa1OXOJoMtCZJV052FaGW091PDCuwUXTKxQdX2kEJjJlA7sKgMEsd2QwbT4SU2vC; 4:/p49UdQlXJWiDbgsz0sCZQf3L6Noo8LUZUa6476+iAnyOQLjyx4bvwYJY2R19Da5ogzTel/NcZZJG3b6fuYNYGS6orkYL85iyEADr+PNmZFJ9OshMeMGwOJLOra7Qy9EiMg/VIoObEQwhY14n+VKDZv+WTpv+mhrMD54UpUEqv1nwxP7mBsQvnA22emgrE4JDRJIlsNk8fIp2lXvC4dG02drRW84vqMt4xbMmPzAMh/x6Dc6qxXhmvhCN7fxOO0OXBwgOEpK5srWsLV8dKoENg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(823301075)(3231311)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016); SRVR:VI1PR0401MB2541; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0401MB2541; X-Forefront-PRVS: 07807C55DC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(39860400002)(136003)(366004)(189003)(199004)(316002)(486006)(106356001)(47776003)(16526019)(53936002)(6916009)(6666003)(186003)(26005)(386003)(5009440100003)(6506007)(52116002)(2351001)(956004)(66066001)(51416003)(6512007)(6486002)(16586007)(97736004)(86362001)(4326008)(44832011)(25786009)(68736007)(105586002)(2616005)(305945005)(2906002)(5024004)(14444005)(3846002)(6116002)(5660300001)(476003)(81166006)(478600001)(48376002)(8936002)(81156014)(7736002)(8676002)(50466002)(50226002)(2361001)(36756003)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2541; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0401MB2541; 23:f7SNyC+X5Rua/DdsAnLnG8I7a/XykjkEvol2fwF?= PszJXs/5bhsr6yPL36YG6t1ELwv0A62ox6z2NJ3ROcYjyAUWNr4MHXx7FitM6SJLyk3tTz1c6OPK0w2Js1emAUJWVHGO696gRvzMxvX+VZjSMXf8oEBHKNgLKOwgWGetYS1kBU0hLX8KWLzhMoj46pCncYwFd/L9sVSIM5TkhPi2cyBlFq7NbpK0HHUrzgsjLvRVpjYMySaJ/taFPMxylPi2y3OlwOYq7tRK3IgLgntdD/hO/oD+JTsFGBCXe8mQ8MJGswIN8ZLGojHmpZI8AEIlC+gtE5AhAEDKXXBNfXyBt0NQkW9Pm8Sh3tEf76uTgH1Chja3q0BIlzQEAciOmVZ/PQYM/MZIFISfb3fF1kmBjqDoHaGKdKdQHMBf1cpBvdgY6meMog1VRLXAIjNyZWmxO1JsXtzWx+yAZI4dd3jfJtl6fiYDlgsvCwwirIcAa3HzztsSCdiBRvg1G1Z1qX6Ol0jTIQtKQ4NfLyX4xChyzjN4t+Z4KsAngsAJS6zfrS6mBOyoZNecePAmvfW7qOIroeM9AnHZuTnrhxe/Ofmxi2CLA/k7ZaeCPcJdMM8KWsp/5jfwpiO5XtSrcqE52fuBp0GrAuOKWwzVcDUcaYFXb6FKvcrn9IoNWZLkNHsftCnd/eIwAZm5NWsEZfcvwa1RjVCXqm176G1CGGHGScW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T2aX+27B5lLyky5jhCvBj/QvrbMJR2ERMoOvOkRJ7EqV1rfxhwq1M88JaNPYVdc7Y+p+MmvKWpCF7dI/KdJnO21R2Yqc+glwsayYhAX09KSLntD2GNcs57Mludpq2QC+XtUgCB/4EReDuiMD9SRJB++aUuMG8AQwz3BaMPKiaq0JUcm2roYluC83to88jr6n8JAS6vsLT/+aSQJnsEvFMtu2w18GKA53R65TN56lCPJJ2gY2VyECplMy8iYTK/PJJV9IdVf4K+hSsPEiZzwSPmVkhxDnITA48wO0K30K3QnAPNRd89IH8Ees5A29qPYEsFY/MiEwzAtdP1T6c+srhP9vj79CzF2qG3trqOJKxSmbgiaFxr/3muQ==; 5:E7H/JXsIZu+8eaXGYRFTHeCCq4g8TR6zOfQNLYmZ/5qvcMGqR75cxonoQWxEphcLYEDS/661c0s9dz1H/mY94bey3Toeg8Hwtacy6YkopTHYEJ4xv7e6os8eqIU0nvS4+2fYLQUkkz6//cCKDCb+zWiw4651DgP/rtAgzIILEwo=; 7:O4ES/ynwQwT173T9G4MdqBz0i0QjWp7z40tCGseUDLdJ7tgbXQjASorlBwlieGEABMtJJih6gBahhGdD6BVEkueQmaDEcVW4KysnA3cNWFd1QZvpChJMmjrtTcNfMb1EUE3gyw43R6CngM5V7DhEied86C7l7uukfWTc/Noe7cegRGadYnfsYITwpZyqT0/G89TGEzQVrv2dhKeCAZNTuUM5PE+aQFpvsSq/vfcr4gJ6rp4inU30LpDhGoZ3J6Pq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2018 05:53:07.6105 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bf2fc12b-a7b3-4d68-a525-08d60e3cdca8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2541 Subject: [dpdk-dev] [PATCH 00/10] crypto: DPAA and DPAA2_SEC enhancements 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" This patch series includes enhancements for the dpaa and dpaa2_sec crypto drivers Akhil Goyal (5): crypto/dpaa_sec: session reset before init crypto/dpaa_sec: add LOCK before Rx HW queue attach crypto/dpaa_sec: session qp should match with given qp crypto/dpaa_sec: enable sequence no rollover crypto/dpaa2_sec: enable sequence no rollover Hemant Agrawal (5): crypto/dpaa2_sec: update the flib RTA to latest crypto/dpaa_sec: reduce the number of QP per device crypto/dpaa2_sec: add out of place crypto support crypto/dpaa2_sec: multi algo support for ipsec session crypto/dpaa_sec: ipsec offload add null algo support drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 374 +++++++--- drivers/crypto/dpaa2_sec/hw/desc.h | 814 +++++---------------- drivers/crypto/dpaa2_sec/hw/desc/algo.h | 58 +- drivers/crypto/dpaa2_sec/hw/desc/ipsec.h | 195 ++++- drivers/crypto/dpaa2_sec/hw/rta/protocol_cmd.h | 346 ++++----- drivers/crypto/dpaa2_sec/hw/rta/sec_run_time_asm.h | 22 + drivers/crypto/dpaa_sec/dpaa_sec.c | 303 +++++--- drivers/crypto/dpaa_sec/dpaa_sec.h | 3 +- 8 files changed, 1012 insertions(+), 1103 deletions(-) -- 2.7.4