From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0086.outbound.protection.outlook.com [104.47.37.86]) by dpdk.org (Postfix) with ESMTP id BFEEB1B25A for ; Fri, 6 Oct 2017 20:15:33 +0200 (CEST) Received: from DM5PR03CA0052.namprd03.prod.outlook.com (10.174.189.169) 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; Fri, 6 Oct 2017 18:15:31 +0000 Received: from BL2FFO11FD009.protection.gbl (2a01:111:f400:7c09::170) by DM5PR03CA0052.outlook.office365.com (2603:10b6:4:3b::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11 via Frontend Transport; Fri, 6 Oct 2017 18:15:24 +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 BL2FFO11FD009.mail.protection.outlook.com (10.173.161.15) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.77.10 via Frontend Transport; Fri, 6 Oct 2017 18:15:24 +0000 Received: from netperf2.ap.freescale.net ([10.232.133.164]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v96IERoh027297; Fri, 6 Oct 2017 11:15:18 -0700 From: Akhil Goyal To: CC: , , , , , , , , , , , , Date: Fri, 6 Oct 2017 23:41:48 +0530 Message-ID: <20171006181151.4758-10-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20171006181151.4758-1-akhil.goyal@nxp.com> References: <20171003131413.23846-1-akhil.goyal@nxp.com> <20171006181151.4758-1-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131517873243932191; (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)(346002)(376002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(50466002)(16586007)(48376002)(1076002)(54906003)(50986999)(5660300001)(86362001)(2950100002)(7416002)(76176999)(15650500001)(68736007)(77096006)(2906002)(6666003)(316002)(575784001)(6916009)(97736004)(36756003)(53936002)(50226002)(47776003)(2351001)(189998001)(85426001)(106466001)(498600001)(105606002)(33646002)(4326008)(8676002)(305945005)(69596002)(104016004)(81166006)(356003)(8656003)(5003940100001)(8936002)(81156014)(50929005); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2354; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD009; 1:0F/D1eapM0/0TdYqRvmW1/ttg4sZlFr5EOZXytRbqZvLYXKwy8QbidatGTjDagj3Mqho8Jq86SWdy+WD/xEzNT9HYb8CJXE7WEWLqgvK0tl5vLoJNGgfEXz0dS35fnQ/ MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 05d0bc97-d004-4b7d-c61f-08d50ce636c8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017052603199)(201703131430075)(201703131517081); SRVR:BN3PR03MB2354; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2354; 3:sB1vzNRB6dl93TZD4QAzJ0EVmJFmfxTCnDB/L5oppT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mTT9/vjuTmdXocXQKqyktqY7VjU1Wy0rYdmYUVXHiEVfF9qp1mb6cUtUrzNo0JrF8zxAVecAjUcMCqJFQR9ZRd+WezItcHOWkncYJtKPq25XNoRG+p2kF8WZlPOu5d52WAqL29e0vHEJlqnQmXbSz9QCNf86TXj4Vdcr58pHkL3WpCyMiLXHg0zX1qsW+cJN2vRU9lWz+cZzAO/WcQ3j7UNSxdPQTHCgSBrWq9aeS6exWCW0b/nnaC1TB3N8PgkaGMeNvXmLh2iivFF+ba/3doUniRlQQtVO4MEZs6SYkf2VqNl42mrOTWA== 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)(20161123565025)(20161123559100)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123561025)(20161123563025)(20161123556025)(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-Forefront-PRVS: 0452022BE1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB2354; 23:AO4yEKVjAYj6rlHD+Fp+Dw6Puk0/F0m4Jz4bqCYhD?= =?us-ascii?Q?Gx33Ps6vMRXgDOiV6xkciUH0u4ZznfiozR9iOr4m4o1weqH56/Smr7KE4sRw?= =?us-ascii?Q?Kq0Y79kFg+dicnTQwJ5p22C7u1j5tWLLxkXKKzVTaL8cQzbPY8bOqaxy8Zvb?= =?us-ascii?Q?ve4+DbuIIvgkTTEGK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tbofFzQRG2tB3DPNX5h+pOO6Y58czsjkAVfMZqY5s6skR3O5XX35ieQq5zoR7wpTmsOIjX+GGfys0ZXM02XjridxV+bziN6TpUtWKaYEBWWmllr5lqhYah/Kw3wB5eFHsCXP7VDBBz8VWnFjm+6f7zu5XY1RB5E/hTUVQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2017 18:15:24.0968 (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 v3 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: Fri, 06 Oct 2017 18:15:34 -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