From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30044.outbound.protection.outlook.com [40.107.3.44]) by dpdk.org (Postfix) with ESMTP id BF35C1B1C4 for ; Fri, 5 Oct 2018 15:58:40 +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=ARUGYgWbVrMxEC7VmwumBVQFDCNHewZ2GkuxmogTUEQ=; b=eDFtVZPOB2TQCLmP7Kfezlkocj3j1zc4Oha/kwNe5fhMxmmbSjSvor4Pw1Hao/VFoWN/soJzFsUKyPKZ6ql5Spl0T94Imh2eCCT89IYb65V1llQXA/2Gfq4Z7fGGFEleTpHHVXna3z7Ii/BU8oXudHNlUHjSXwES9Ejrqsob7jQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from GDB1.ap.freescale.net (14.143.30.134) by DB7PR04MB4889.eurprd04.prod.outlook.com (2603:10a6:10:18::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.26; Fri, 5 Oct 2018 13:58:35 +0000 From: akhil.goyal@nxp.com To: dev@dpdk.org Cc: pablo.de.lara.guarch@intel.com, radu.nicolau@intel.com, jerin.jacob@caviumnetworks.com, narayanaprasad.athreya@caviumnetworks.com, Shally.Verma@caviumnetworks.com, Anoob.Joseph@caviumnetworks.com, Vidya.Velumuri@caviumnetworks.com, hemant.agrawal@nxp.com, Akhil Goyal Date: Fri, 5 Oct 2018 19:23:15 +0530 Message-Id: <20181005135318.6350-1-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181005133344.6115-1-akhil.goyal@nxp.com> References: <20181005133344.6115-1-akhil.goyal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: TYAPR01CA0109.jpnprd01.prod.outlook.com (2603:1096:404:2a::25) To DB7PR04MB4889.eurprd04.prod.outlook.com (2603:10a6:10:18::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7d17591b-70dc-4ac8-6929-08d62acaa731 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR04MB4889; X-Microsoft-Exchange-Diagnostics: 1; DB7PR04MB4889; 3:awYuz09st2I8r2hx+IpEICB0SKL/YXEVI4ahpPomLY+6o7mAq1uNjWOJcnCkvLSFpeRANZpz4M+gjxUVFMAkh965okD4vlZxmySeWEa5PTmJC272Nvbo5Ojwlyd/pZj8Opwc0x3HK9Ni9+bAYZN2K3R4uVdryq+m5xnsBwr59Bs1s3YVfeg8hniIJrb6nhvlZEwAGwp+68cE5JRm7ObObABS0zfbF+MRyV0fGF9MoOc3Uhix+MDHacUOuCghak2U; 25:e7OM/Y+bMvx/iw1xAidFXeBZZnO6xzp6S+1rBQ9dugmZ3M6kblol9UPNDl1lEi4jahRoG7cOtO26n4VsWeiofCdfYMm5xlspkcwOeVesfepnmIXT/fpZWenRdKiAIH49O7TgU1E0fmNO+5RIpb/+q6pkByaY/NlqSQQa5hVtX0Ig+CuFxFbbsJ1oRS+469NlGd+Nbms8IgxHWMgWrL8fO5cu2rRJRiPQQfzCRCE4XyU9RufJ8Ubk2WRk1b8oBKXUPK2vwJ4WUk+6L77ZX9nD+VYQm/GlR8+hQDH3Ny6xS2bWjtRmyrsGrxPla8/gA3Nlc1S0mcA4WxnXPeTE7cK/SA==; 31:DH1LQzCGG4wWHCG8QhsiefEfRWoPNC5qWvcUGz8gU2n5Zce7q1KlAMnDQs8vhfUm+f9M34ZzX0W0n+yaJtEB7tvoKM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CBqhwpqMqwbo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705)(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(201708071742011)(7699051); SRVR:DB7PR04MB4889; BCL:0; PCL:0; RULEID:; SRVR:DB7PR04MB4889; X-Forefront-PRVS: 0816F1D86E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(136003)(376002)(366004)(346002)(189003)(199004)(316002)(1076002)(16586007)(50226002)(53936002)(2351001)(6116002)(86362001)(478600001)(25786009)(3846002)(14444005)(5009440100003)(8936002)(26005)(2906002)(16526019)(6666003)(6916009)(33896004)(186003)(6512007)(85782001)(9686003)(6486002)(97736004)(68736007)(11346002)(15650500001)(81156014)(956004)(81166006)(66066001)(446003)(8676002)(6506007)(36756003)(386003)(47776003)(48376002)(2361001)(50466002)(7736002)(486006)(76176011)(2616005)(106356001)(51416003)(5660300001)(52116002)(105586002)(305945005)(55236004)(4326008)(476003)(110426005)(85772001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB4889; H:GDB1.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; DB7PR04MB4889; 23:fS0GyBeJGhagFxO8Xcm7rb4bGFcCqX3SAqnqdJUiF?= =?us-ascii?Q?GUWwnIUBjtv6U0r36p8KgxFOsfEABoJaPsBKzY7SUcOPRv1QxHu639S8kMgk?= =?us-ascii?Q?ybAe/4UgFnW4hQdvU+FHWFVQ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fYQWr3utQ5ELZ1Whz6Azxfzr9VnpkOhUHhPebxeUqHkx5cys8JF4HHfFR1pTSVx38T77v0KmFKKwrr++k6sm4FI429qFJImfKKrmW/O9ESbiu0qOriSDWMaJ4G2k3/wGPCQIU+sf0z5NuBeWpS/Jt6ycrPX+cRhnVfDqTAhyR5I6wSO5K9dyYVXb5FyrMDZput6Xi6p1KTiDmq+5uZHXTM4z/XTXDd3sO/ljF0690l9y608bbcwsDIbpCDzDwIzw7hhQPpZsNy9iE5IGt6VQ8Hm4iuyu+mGwliY95cD1UE2bqVvGH2Kr9UXA6Zvp4sRwGtw0r16xNN1MsQ8+if/hdzLoe0AZqw3qSnKmBRRfDUvYf/GUPH+/9ePbiA==; 5:Y42wBFjZP1SCRxw90vKdb5vbINscKMhhuRZ6GEPPDTyepCODEFew9UARhwvVEyLc70YZo/HjQpeAWwOhgvdOrEYMNXvdVp3LA0x7IczVKCqGVr3/YkHtaKyDr6wzQP8tKijbnD75nIKGcHoazw9GNyhmgy9Bzbjx/7ohbFNXCUg=; 7:Kdc5s9zdXlbRSb1XwV4yrVFVFdhuGRjjOPNvWZAchpWUycuHitgVkaFfPaFThcR/F+ykyoysgpA2UGNkhwelJmBsaCPQ/AVBCNHaxmH3qOPpW1pt8K6UJxUe7kJg8nO4YN47NvrZEsrHqE/A6EAnJJOvxqc/ZkGRzKCJ9UmKQO0AbBn3fM5nQNQk7u2+Gg49RcyKaFxk+Uu0Lml2/fwwSAJ/yFJWxRICU+xjBHVc9HvTrYqSvW+vQrGQRLtuKV6H SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2018 13:58:35.1145 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7d17591b-70dc-4ac8-6929-08d62acaa731 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4889 Subject: [dpdk-dev] [PATCH v3 0/3] security: support for pdcp 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: Fri, 05 Oct 2018 13:58:41 -0000 From: Akhil Goyal Security library currently only has support for IPSec protocol. This patchset defines structures for pdcp protocol in rte_security and provide a sample driver implementation for lookaside protocol offload to support PDCP. changes in v3: removed checkpatch warnings. changes in v2: - removed hfn override. Will be added later when it is supported - added seq number size = 18bits - coding style issues corrected in pdcp.h - updated documentation for specifying the 3GPP specification reference - removed some duplicate code in dpaa2_sec_dpseci.c Akhil Goyal (3): security: support pdcp protocol crypto/dpaa2_sec: add sample pdcp descriptor apis crypto/dpaa2_sec: support pdcp offload doc/guides/prog_guide/rte_security.rst | 96 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 233 ++ drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 172 ++ drivers/crypto/dpaa2_sec/hw/desc.h | 2 +- drivers/crypto/dpaa2_sec/hw/desc/pdcp.h | 2667 +++++++++++++++++++ lib/librte_security/rte_security.c | 4 + lib/librte_security/rte_security.h | 67 + 7 files changed, 3233 insertions(+), 8 deletions(-) create mode 100644 drivers/crypto/dpaa2_sec/hw/desc/pdcp.h -- 2.17.1