From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0089.outbound.protection.outlook.com [104.47.37.89]) by dpdk.org (Postfix) with ESMTP id 331861B3BB for ; Sun, 15 Oct 2017 00:21:18 +0200 (CEST) Received: from CY1PR03CA0037.namprd03.prod.outlook.com (10.174.128.47) by CY1PR03MB2363.namprd03.prod.outlook.com (10.166.207.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Sat, 14 Oct 2017 22:21:16 +0000 Received: from BN1BFFO11FD002.protection.gbl (2a01:111:f400:7c10::1:127) by CY1PR03CA0037.outlook.office365.com (2603:10b6:600::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12 via Frontend Transport; Sat, 14 Oct 2017 22:21:16 +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 BN1BFFO11FD002.mail.protection.outlook.com (10.58.144.65) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.77.10 via Frontend Transport; Sat, 14 Oct 2017 22:21:15 +0000 Received: from netperf2.ap.freescale.net ([10.232.133.164]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v9EMKCMS018714; Sat, 14 Oct 2017 15:21:09 -0700 From: Akhil Goyal To: CC: , , , , , , , , , , , , Date: Sun, 15 Oct 2017 03:47:31 +0530 Message-ID: <20171014221734.15511-10-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20171014221734.15511-1-akhil.goyal@nxp.com> References: <20171006181151.4758-1-akhil.goyal@nxp.com> <20171014221734.15511-1-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131524932759309040; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(6009001)(336005)(376002)(39860400002)(346002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(69596002)(16586007)(50226002)(86362001)(8676002)(316002)(54906003)(50466002)(81166006)(81156014)(8936002)(15650500001)(48376002)(47776003)(7416002)(97736004)(2950100002)(6916009)(5660300001)(68736007)(8656003)(189998001)(498600001)(33646002)(105606002)(36756003)(106466001)(104016004)(53936002)(85426001)(4326008)(305945005)(356003)(76176999)(50986999)(2351001)(77096006)(2906002)(6666003)(5003940100001)(1076002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB2363; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD002; 1:k3mJ+ZhN8vdAhv8B+IC23next0YK5VwJGuMFedFghsJS6dueAERvWIH83nOtYpJFNMzWGLtEInaqiUqGl/FbaVc1kRZUjg0/XhU5VlW31ym3z8PSS/KQ6Zw64faCDHGD MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ae4cc27b-5d4b-4d69-5e87-08d51351e29b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017052603199)(201703131430075)(201703131517081); SRVR:CY1PR03MB2363; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2363; 3:atEP/2rGzX9TKcXpN3iQSFNewXuv5iy8zfny0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D06ooWthjjLAlGwyuRbti9WnT5jQKDjsm4Pv7mr4s+UPBxkiIF/r2Q2AXSrxwEZaofBf7y4uS0wNKqYgUdkN1hTpDEY/M32TtC5Jyo/1jHTb9J8NsmN2I+3RPSabJTMJiOcIJV7lOnrLXUSFc4vDv6saJC5aKr4OZFdv/PCvrA6ZUzuwuSyLQjHmkP2Lxs9cT7nTd3VRbwUDrmk5ycbgLvdqhLRlRWrDdqTUDW7KmE/azYSdgsUlZ3hg/ZZZQx8AF7VzmL3FczZw/mfrCJcbiO9RVA6lUuVnY2f7QMK1H X-Exchange-Antispam-Report-Test: UriScan:(192374486261705)(185117386973197)(228905959029699); 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)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123563025)(20161123561025)(20161123556025)(20161123565025)(20161123559100)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR03MB2363; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR03MB2363; X-Forefront-PRVS: 046060344D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR03MB2363; 23:5PKOECq2wCkCdEY+TG+F3F91KMgUh3ie56Ux8zeMW?= =?us-ascii?Q?6sxjLiBuEfATa7ARbZArozk41e7mUlX4PUGZZyMHA0pBe3lYjHBwYmbTRz6y?= =?us-ascii?Q?OtgraHnyGUcX5VM6pDS+RGsiv+heMLGgfFIuzwfKCzn4ZT/f6mBFPl82dI2s?= =?us-ascii?Q?29AS4swnRFFbFcVkpxSzUy3cAOvFLon9JhQTlLIpFrcTRwVvV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A8uL8MVNWhpy7ocN7CHM5L11YLM46twd3AZteKh2KX5kGmqDvVhjM7RExZDKqhqc8KbTvWSQBhRfoDuGpzYolwcNybV+eFapfTThuZTjPuQvf0MuVGTJTkVCAU98M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2017 22:21:15.4941 (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: CY1PR03MB2363 Subject: [dpdk-dev] [PATCH v4 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: Sat, 14 Oct 2017 22:21:18 -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 8518a99..bc9f9cf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -275,6 +275,12 @@ T: git://dpdk.org/next/dpdk-next-eventdev F: lib/librte_eventdev/*eth_rx_adapter* F: test/test/test_event_eth_rx_adapter.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 d9471e8..2b15f1e 100644 --- a/config/common_base +++ b/config/common_base @@ -548,6 +548,12 @@ CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO=n CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO_DEBUG=n # +# 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 86d475f..379515a 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -50,6 +50,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 librte_ether librte_hash DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 8192b98..d975fad 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -93,6 +93,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