From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0067.outbound.protection.outlook.com [104.47.37.67]) by dpdk.org (Postfix) with ESMTP id 96DE01B3A9 for ; Tue, 3 Oct 2017 15:17:34 +0200 (CEST) Received: from CY4PR03CA0078.namprd03.prod.outlook.com (10.171.242.147) by BN3PR03MB2354.namprd03.prod.outlook.com (10.166.74.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Tue, 3 Oct 2017 13:17:32 +0000 Received: from BY2FFO11FD003.protection.gbl (2a01:111:f400:7c0c::133) by CY4PR03CA0078.outlook.office365.com (2603:10b6:910:4d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.9 via Frontend Transport; Tue, 3 Oct 2017 13:17:32 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; NXP1.onmicrosoft.com; dkim=none (message not signed) header.d=none;NXP1.onmicrosoft.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD003.mail.protection.outlook.com (10.1.14.125) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.77.10 via Frontend Transport; Tue, 3 Oct 2017 13:17:31 +0000 Received: from netperf2.ap.freescale.net ([10.232.133.164]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v93DGfTK030592; Tue, 3 Oct 2017 06:17:27 -0700 From: Akhil Goyal To: CC: , , , , , , , , , , Date: Tue, 3 Oct 2017 18:44:10 +0530 Message-ID: <20171003131413.23846-10-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20171003131413.23846-1-akhil.goyal@nxp.com> References: <20170914082651.26232-1-akhil.goyal@nxp.com> <20171003131413.23846-1-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131515102519625901; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7966004)(336005)(39860400002)(39380400002)(376002)(346002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(36756003)(76176999)(316002)(50466002)(1076002)(48376002)(50986999)(54906003)(16586007)(498600001)(7416002)(5660300001)(15650500001)(6666003)(575784001)(97736004)(2950100002)(77096006)(86362001)(6916009)(68736007)(53936002)(2906002)(50226002)(2351001)(189998001)(85426001)(47776003)(106466001)(105606002)(305945005)(33646002)(356003)(4326008)(69596002)(8656003)(81156014)(81166006)(104016004)(5003940100001)(8936002)(8676002)(50929005); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2354; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD003; 1:LKmh4Ed1IzTpi5ffo3hsaYSxKVUA2j5uUQviG5JiQrOwnQAGiQzApAhViVtTKpiHerr5/G1oHLW857MbfpFlRWHwQFunQ2b2btayV9AhG1h29OItcxU9L7CJcFqfb/Uy MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9046254d-8232-465d-a74c-08d50a611abc X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017052603199)(201703131430075)(201703131517081); SRVR:BN3PR03MB2354; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2354; 3:uXefKX6nDDVerVldOLf+ey0plFwOektwbvbyujbIycv+glFwhJr8poJSfkbO9VrN0VCAeQbe5u7tqhkSAu38KB5yVzH5Ux9Bh8bYqyN+9wYqf8DyNX7rkDelyvFqpdxquEsUTXBPV8tAKfiAzYqkPEUFeZY7GIm5nqta15OaAvHcdZ9mNkARKX0RuZPTUBI2XyAhuWJmx80eTAUA7s3t4n/CUUdP0GCgfEJKPm4UN/mj5k9xH5S7+Bs5o5WH+iMGpvq2OR1Ayrew60CF6wri+QD5OSLvqnoHYvtGYcbdqH934Mu0kSGPEhFg2j5q9vyCRWZhziG4KxuIgceaXpg5LA==; 25:Q2QRgAuRqJqN83TsokfiAGDXd/Mao4d1aw3bzjswCxVOfFRH17aQ5hIpzROr83BnqsE79RmrrGjykucrGzqXd13umRXHhBfqM/DomhHlQjyQs1uKXYcAB37JUzccMShqdPDI4ehT22YbQyqZDHxDbWZzdNd1XWhbBwWQ9+C9WW08pq6GOutd6PLHbAUu7Lsw8VXGx2gbs6OWVNWqoPAmDBie3Z0uER4E2pGbWR4tOdD8xAR6S9/GATjDcgJa7OrqZSCkwwxa5X3/kOi7e0f1JtM7boy23wbVMQ24ZnWU76b3f6CDW/4VfS/aPnrt9b0uHbblZIDyTs8mWJesUw96dw==; 31:f5nOCTTSQPnwD+SABHP+0F8rLcrOlj5oBxIa6f9LUwL7SsvHjMjgAI9TvX+pH1xgzKB23HD8LdKF53nZaCwRyp8n9/uuPQskqdyLs8QFBZu4RhtJUmXvHNKUp9DB8AnIg+sW/rUwNA6Ep1VqPitdlwpfkr7vnlkg59pVXPH1etwYO9KHAEWoIx7ZzvW6eEHT0ZVOMDJjvss22Zl52RPPOc2yvmHviHQdvnWvdAALyCA= X-MS-TrafficTypeDiagnostic: BN3PR03MB2354: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705)(185117386973197)(228905959029699)(66839620246622); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6055026)(2002001)(6096035)(20161123559100)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123556025)(20161123565025)(20161123561025)(20161123563025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR03MB2354; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR03MB2354; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2354; 4:GCX3HtRwyD5eImRAAANLQCNJobtuU0iVV8YVxmTxcxaXnIVMYpBNrdiRdB5kwfhLJRhhfHjbF1WwUA6NYZE2mk8qAiBDV1Cnuud/x+PliUPjxUEknRMaz0PIK1SahWKp1rpUetwDYjjuUUkpiib6ujeAjK0hZ/aeSW8VWLkrnlzcCScSW0JsUKWGBsZIazAQWVGDxsj6g4AiMld+fRO8GryR2GUND0Gymaey+S3/78isCc4gTgwoPuj+Lxv7msBUKv8PeOft8BrZt2qjhLY/SVTYY3PGt9CHAmg/ITt3d3ZVAUhsdCWQ0dKnpUJ7i4Bo4d4WwS6alViaMGVv8Clh5qXEsuJXQDRIf57C6UB8bJ7vWNtMCzBbwljoSqcqmUFSEtSdUyb4UwkxnPlxfWgKQQ== X-Forefront-PRVS: 044968D9E1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB2354; 23:Odx5VI/JnaWoYetJa8+IMWtWZ1iiRqbacrL+pRqHR?= =?us-ascii?Q?pe399oj6WN6/sysg6w5l1yglEqfksV8TvNUp4nQ4A8OwXEAYKOOMoPJoUxeh?= =?us-ascii?Q?xIZ718AwZfGXedSGY46WjBGlicS98O7BcnRA/TmM0KXSdzw/ci0BK+3D0zEs?= =?us-ascii?Q?fROJnyvxEuCFHet9Vt3oHbFM8ocm6n+w55GC/ZqkpHOrc2zHOEZlD7Xvw9n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jSanGjsRwauMNlAjaLqd7krJoIBLnbwBein+NqQzwXaCJv+HFXRYz0cRGRMShLgJ3TsZMjfU2H88IWQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2017 13:17:31.8221 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB2354 Subject: [dpdk-dev] [PATCH v2 09/12] mk: add rte security into build system 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: Tue, 03 Oct 2017 13:17:35 -0000 Signed-off-by: Akhil Goyal Signed-off-by: Radu Nicolau --- MAINTAINERS | 6 ++++++ config/common_base | 6 ++++++ lib/Makefile | 5 +++++ mk/rte.app.mk | 1 + 4 files changed, 18 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a0cd75e..f5b790e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -270,6 +270,12 @@ F: lib/librte_eventdev/ F: drivers/event/skeleton/ F: test/test/test_eventdev.c +Security API - EXPERIMENTAL +M: Akhil Goyal +M: Declan Doherty +T: git://dpdk.org/draft/dpdk-draft-ipsec +F: lib/librte_security/ +F: doc/guides/prog_guide/rte_security.rst Networking Drivers ------------------ diff --git a/config/common_base b/config/common_base index 5e97a08..7a1766b 100644 --- a/config/common_base +++ b/config/common_base @@ -514,6 +514,12 @@ CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER_DEBUG=n CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y # +# Compile generic security library +# +CONFIG_RTE_LIBRTE_SECURITY=y +CONFIG_RTE_LIBRTE_SECURITY_DEBUG=n + +# # Compile generic event device library # CONFIG_RTE_LIBRTE_EVENTDEV=y diff --git a/lib/Makefile b/lib/Makefile index 86caba1..d32eb44 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -51,6 +51,11 @@ DEPDIRS-librte_ether += librte_mbuf DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += librte_cryptodev DEPDIRS-librte_cryptodev := librte_eal librte_mempool librte_ring librte_mbuf DEPDIRS-librte_cryptodev += librte_kvargs +DEPDIRS-librte_cryptodev += librte_ether +DIRS-$(CONFIG_RTE_LIBRTE_SECURITY) += librte_security +DEPDIRS-librte_security := librte_eal librte_mempool librte_ring librte_mbuf +DEPDIRS-librte_security += librte_ether +DEPDIRS-librte_security += librte_cryptodev DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += librte_eventdev DEPDIRS-librte_eventdev := librte_eal librte_ring DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost diff --git a/mk/rte.app.mk b/mk/rte.app.mk index c25fdd9..8c998f2 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -92,6 +92,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_MBUF) += -lrte_mbuf _LDLIBS-$(CONFIG_RTE_LIBRTE_NET) += -lrte_net _LDLIBS-$(CONFIG_RTE_LIBRTE_ETHER) += -lrte_ethdev _LDLIBS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += -lrte_cryptodev +_LDLIBS-$(CONFIG_RTE_LIBRTE_SECURITY) += -lrte_security _LDLIBS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += -lrte_eventdev _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += -lrte_mempool _LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += -lrte_mempool_ring -- 2.9.3