From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10045.outbound.protection.outlook.com [40.107.1.45]) by dpdk.org (Postfix) with ESMTP id 14C46475E for ; Mon, 5 Dec 2016 11:50:55 +0100 (CET) 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; bh=kMjtJJ/ZUGupdwXloXfI5jOtuULKXvaTudDlfk49eu4=; b=adiH+DNGntYgpvf8LtwHuMhfYTu4obNAdqVPRgiLMIHBHIq4ZoP5cfZQf10i4EG3k/TD9S0U4CXkyUyMo0KmMP+0P52l27C7y4ALB6mw+hI3QsSxWIDIwMKMi7CTuAQjiCoj8lbErjuCPEJeAYY1g9qKkAu8CELQV4JJicXbNm4= Received: from DB5PR0401MB1768.eurprd04.prod.outlook.com (10.165.5.146) by DB5PR0401MB1765.eurprd04.prod.outlook.com (10.165.5.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Mon, 5 Dec 2016 10:50:54 +0000 Received: from DB5PR0401MB1768.eurprd04.prod.outlook.com ([10.165.5.146]) by DB5PR0401MB1768.eurprd04.prod.outlook.com ([10.165.5.146]) with mapi id 15.01.0761.016; Mon, 5 Dec 2016 10:50:53 +0000 From: Akhil Goyal To: "Doherty, Declan" CC: "thomas.monjalon@6wind.com" , "pablo.de.lara.guarch@intel.com" , "Hemant Agrawal" , Akhil Goyal , "dev@dpdk.org" Thread-Topic: [PATCH 0/8] Introducing NXP DPAA2 SEC based cryptodev PMD Thread-Index: AQHSTsk5wesR93O3CEmAe3ce+xBoXqD5LG5A Date: Mon, 5 Dec 2016 10:50:53 +0000 Message-ID: References: <20161205125540.6419-1-akhil.goyal@nxp.com> In-Reply-To: <20161205125540.6419-1-akhil.goyal@nxp.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [192.88.169.1] x-microsoft-exchange-diagnostics: 1; DB5PR0401MB1765; 7:MDQ3Z3ADrwKbW+MJsMO88kZy62j0GT8F3B5K3s6uSElgiOK8zSfvYAuxkBBgXRDc0O9zzzNEXalGs2N3aguOTJIFOZ9jFAHGAa9nEOUAS0YdtI0MDx9U8gEJ0BFg6yjjJ43bzgn8nAjCEUwH4jmMZ5Hz3rXzbwlXdUl2qcQHtmFt2EtKNcpEMh6R3dpV/GzbGyJH8jsM0p1yf4pAcrKkeHBw6PSWjBTflqX2TZNC/ccyoEz3NenImwbkY6+ZjcFP4TKAR5sulkZSLYl/+rXSxbRFoLuayYL4z8Me0KNhaGQEHthBAVfNFL+ZosiQpijhHv/xwID2SM2cLEo7mBPVfo2dPqBny5Zn39yPUkkspRuOikxrg3bM+OowwTAA3hPNHc49K/q1cQ9vTEa/u6fyg7G0Ojju3s8GtWfG2I00RSDk0C70dyxhW1nTbUx6y4t1MlPt5bIofB4CQ4kgk9wU7A== x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(7916002)(189002)(199003)(13464003)(377454003)(7736002)(101416001)(76576001)(66066001)(6116002)(102836003)(3280700002)(3846002)(3660700001)(5660300001)(97736004)(68736007)(39840400001)(6506006)(39860400001)(74316002)(189998001)(77096006)(38730400001)(122556002)(39450400002)(229853002)(15395725005)(33656002)(39410400001)(86362001)(76176999)(106116001)(54356999)(105586002)(50986999)(106356001)(110136003)(7846002)(8676002)(39850400001)(9686002)(305945005)(81166006)(2900100001)(4326007)(8936002)(81156014)(2950100002)(6916009)(2906002)(92566002)(7696004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR0401MB1765; H:DB5PR0401MB1768.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; x-ms-office365-filtering-correlation-id: ad898720-a7e5-40af-a60b-08d41cfc95aa x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DB5PR0401MB1765; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(192374486261705)(185117386973197)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(20161123558021)(6072148)(6047074); SRVR:DB5PR0401MB1765; BCL:0; PCL:0; RULEID:; SRVR:DB5PR0401MB1765; x-forefront-prvs: 0147E151B5 received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Dec 2016 10:50:53.1905 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0401MB1765 Subject: Re: [dpdk-dev] [PATCH 0/8] Introducing NXP DPAA2 SEC based cryptodev PMD 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: , X-List-Received-Date: Mon, 05 Dec 2016 10:50:56 -0000 -----Original Message----- From: Akhil Goyal [mailto:akhil.goyal@nxp.com]=20 Sent: Monday, December 05, 2016 6:26 PM To: dev@dpdk.org Cc: thomas.monjalon@6wind.com; eclan.doherty@intel.com; pablo.de.lara.guarc= h@intel.com; Hemant Agrawal ; Akhil Goyal Subject: [PATCH 0/8] Introducing NXP DPAA2 SEC based cryptodev PMD Based over the DPAA2 PMD driver [1], this series of patches introduces the = DPAA2_SEC PMD which provides DPDK crypto driver for NXP's DPAA2 CAAM Hardwa= re accelerator. SEC is NXP DPAA2 SoC's security engine for cryptographic acceleration and o= ffloading. It implements block encryption, stream cipher, hashing and publi= c key algorithms. It also supports run-time integrity checking, and a hardw= are random number generator. Besides the objects exposed in [1], another key object has been added throu= gh this patch: - DPSECI, refers to SEC block interface :: Patch Layout :: 0001~0002: Run Time Assembler(RTA) common library for CAAM hardware 0003 : Documentation 0004~0007: Crytodev PMD 0008 : Performance Test :: Pending/ToDo :: - More functionality and algorithms are still work in progress -- Hash followed by Cipher mode -- session-less API -- Chained mbufs - Functional tests would be enhanced in v2 :: References :: [1] http://dpdk.org/ml/archives/dev/2016-December/051364.html Akhil Goyal (8): drivers/common/dpaa2: Run time assembler for Descriptor formation drivers/common/dpaa2: Sample descriptors for NXP DPAA2 SEC operations. doc: Adding NXP DPAA2_SEC in cryptodev crypto/dpaa2_sec: Introducing dpaa2_sec based on NXP SEC HW crypto/dpaa2_sec: debug and log support crypto/dpaa2_sec: add sec procssing functionality crypto/dpaa2_sec: statistics support app/test: add dpaa2_sec crypto test app/test/test_cryptodev_perf.c | 11 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 12 + doc/guides/cryptodevs/dpaa2_sec.rst | 96 + doc/guides/cryptodevs/index.rst | 1 + drivers/common/dpaa2/flib/README | 43 + drivers/common/dpaa2/flib/compat.h | 186 ++ drivers/common/dpaa2/flib/desc.h | 2570 ++++++++++++++++= ++++ drivers/common/dpaa2/flib/desc/algo.h | 424 ++++ drivers/common/dpaa2/flib/desc/common.h | 94 + drivers/common/dpaa2/flib/desc/ipsec.h | 1498 ++++++++++++ drivers/common/dpaa2/flib/rta.h | 918 +++++++ .../common/dpaa2/flib/rta/fifo_load_store_cmd.h | 308 +++ drivers/common/dpaa2/flib/rta/header_cmd.h | 213 ++ drivers/common/dpaa2/flib/rta/jump_cmd.h | 172 ++ drivers/common/dpaa2/flib/rta/key_cmd.h | 187 ++ drivers/common/dpaa2/flib/rta/load_cmd.h | 301 +++ drivers/common/dpaa2/flib/rta/math_cmd.h | 366 +++ drivers/common/dpaa2/flib/rta/move_cmd.h | 405 +++ drivers/common/dpaa2/flib/rta/nfifo_cmd.h | 161 ++ drivers/common/dpaa2/flib/rta/operation_cmd.h | 549 +++++ drivers/common/dpaa2/flib/rta/protocol_cmd.h | 680 ++++++ drivers/common/dpaa2/flib/rta/sec_run_time_asm.h | 767 ++++++ drivers/common/dpaa2/flib/rta/seq_in_out_ptr_cmd.h | 172 ++ drivers/common/dpaa2/flib/rta/signature_cmd.h | 40 + drivers/common/dpaa2/flib/rta/store_cmd.h | 149 ++ drivers/crypto/Makefile | 1 + drivers/crypto/dpaa2_sec/Makefile | 77 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1550 ++++++++++++ drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h | 70 + drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 516 ++++ .../crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map | 4 + drivers/net/dpaa2/Makefile | 3 +- drivers/net/dpaa2/base/dpaa2_hw_pvt.h | 25 + lib/librte_cryptodev/rte_cryptodev.h | 3 + mk/rte.app.mk | 1 + 35 files changed, 12572 insertions(+), 1 deletion(-) create mode 100644 d= oc/guides/cryptodevs/dpaa2_sec.rst create mode 100644 drivers/common/dpaa2/flib/README create mode 100644 dr= ivers/common/dpaa2/flib/compat.h create mode 100644 drivers/common/dpaa2/flib/desc.h create mode 100644 dr= ivers/common/dpaa2/flib/desc/algo.h create mode 100644 drivers/common/dpaa2/flib/desc/common.h create mode 100644 drivers/common/dpaa2/flib/desc/ipsec.h create mode 100644 drivers/common/dpaa2/flib/rta.h create mode 100644 dri= vers/common/dpaa2/flib/rta/fifo_load_store_cmd.h create mode 100644 drivers/common/dpaa2/flib/rta/header_cmd.h create mode 100644 drivers/common/dpaa2/flib/rta/jump_cmd.h create mode 100644 drivers/common/dpaa2/flib/rta/key_cmd.h create mode 100644 drivers/common/dpaa2/flib/rta/load_cmd.h create mode 100644 drivers/common/dpaa2/flib/rta/math_cmd.h create mode 100644 drivers/common/dpaa2/flib/rta/move_cmd.h create mode 100644 drivers/common/dpaa2/flib/rta/nfifo_cmd.h create mode 100644 drivers/common/dpaa2/flib/rta/operation_cmd.h create mode 100644 drivers/common/dpaa2/flib/rta/protocol_cmd.h create mode 100644 drivers/common/dpaa2/flib/rta/sec_run_time_asm.h create mode 100644 drivers/common/dpaa2/flib/rta/seq_in_out_ptr_cmd.h create mode 100644 drivers/common/dpaa2/flib/rta/signature_cmd.h create mode 100644 drivers/common/dpaa2/flib/rta/store_cmd.h create mode 100644 drivers/crypto/dpaa2_sec/Makefile create mode 100644 d= rivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c create mode 100644 drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h create mode 100644 drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h create mode 100644 drivers/crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map -- 2.9.3 ++ Declan, Sorry I copied the wrong email ID previously. Regards, Akhil