From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0043.outbound.protection.outlook.com [104.47.42.43]) by dpdk.org (Postfix) with ESMTP id 1F4131B1C1 for ; Thu, 14 Sep 2017 10:29:43 +0200 (CEST) Received: from BN3PR03CA0082.namprd03.prod.outlook.com (2a01:111:e400:7a4d::42) by SN2PR03MB2365.namprd03.prod.outlook.com (2603:10b6:804:e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11; Thu, 14 Sep 2017 08:29:41 +0000 Received: from BY2FFO11FD008.protection.gbl (2a01:111:f400:7c0c::130) by BN3PR03CA0082.outlook.office365.com (2a01:111:e400:7a4d::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10 via Frontend Transport; Thu, 14 Sep 2017 08:29:41 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) 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.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD008.mail.protection.outlook.com (10.1.14.159) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.13.11 via Frontend Transport; Thu, 14 Sep 2017 08:29:40 +0000 Received: from netperf2.ap.freescale.net ([10.232.133.164]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v8E8T36M025953; Thu, 14 Sep 2017 01:29:36 -0700 From: Akhil Goyal To: CC: , , , , , , , , Date: Thu, 14 Sep 2017 13:56:48 +0530 Message-ID: <20170914082651.26232-9-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170914082651.26232-1-akhil.goyal@nxp.com> References: <20170914082651.26232-1-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131498513812912945; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39860400002)(39380400002)(376002)(346002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(15650500001)(47776003)(189998001)(48376002)(36756003)(86362001)(575784001)(50986999)(50466002)(76176999)(5003940100001)(2950100002)(6916009)(6666003)(77096006)(7416002)(68736007)(5660300001)(105606002)(33646002)(106466001)(2906002)(81156014)(81166006)(8676002)(2351001)(54906002)(1076002)(50226002)(8936002)(85426001)(4326008)(305945005)(356003)(110136004)(8656003)(498600001)(53936002)(316002)(104016004)(97736004)(16586007); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2365; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD008; 1:w6MO14x2990eWmsRF6OBx2UCDvMHyqY3pBULJLXIeolv48hJIM14cEqZu251tUrpJiaivzT1Bg2jPtBNAnvBWBxgqhuDovO6l34JxSSM4QUh98I0zl0OJxC2AG8cTF2Q MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 69cd9031-c95d-464d-a25f-08d4fb4abe9b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN2PR03MB2365; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2365; 3:60lf2X1gJUSz1mN4Dr+d6GOv3QC6rAe57HthCKjLXJRR3AqeuFWTgsdpHiSIgXHV2NQzPfRolG+RmmE9AghpNJmNXlReQ8JUSbXsOi1NDhX6f6TyhPYhRap7fr07pAoofkdfXUn+qc7mEFeLkKJjAxHQn2+aWMxK+rup6ejKPHRZpFqZZEoP49jjiyyj1q8TS6wQ127SBjmvRoqgX+SVttOM0pTiB38eoUIbzDZ0SudZ2biZHT0IenDu1y10N37XQKfEy1LhTXtjkrfQTg7HUpsNkQThftkf4lOAYCi/AIrbth3Y7Pwl4oNJGDnsY0ZnktsXytSM9B216yNdJUa1ru4BS6AxaDqWV1EFB+yQjXI=; 25:t8IvN1vsGuevjTBeeam00BfcJK/Eho0UhPysXk1LIOHfUKoPvIlLZN2WtzfRda/CuWJanzYiAWH4/ZIlMU1dSynjXbUSZWkQsardO/mThWta44qMlNLl94ff8x14j8THYnEACKL0wEKUfi+vX4mwifpDceB01ix9KyK8UYhNr1Lxua65wGPGRK7QyZd7kv1CYskGPATocJ0LDTIqhNVX2wojP8KKYLucQByBfsJqLAPeu9q9U47rUgAwfdZqdXNaTZ+YJ/7IzZgQU8bUPYFibYsFhC9hs1I/uuk6qSkExn733il2pgeRZI+9KJfaUUq2fyXTqkc/CLWQyAeoBd83Qg== X-MS-TrafficTypeDiagnostic: SN2PR03MB2365: X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2365; 31:vH+UUWiJj8ZxbXgVSNfxhuTex9m+jGoyCRFD5FYYdBgO9SkFHGydmRfqxFmCrX8wfWucInR0i2yAKFawR79drsZI5IYS4OYxHYq5kxe+iMPKUIpw1ozOMBhbI/g9uSWbMqeicEb0J+H5VV+kFjFcNjFSSI3688zbhLRweccwZeSRTSikcx5/EmHU/AhnCyDyjcU7I/M+7h6jqfge0ytcn+1z0dNm5i/KHMsVPHqXjzU=; 4:YRfWG64TeHr8KkI3ItvaFks+C7lcufyJ3d45+276gdHX6hcehhkt4t1aI4jPdgJFtErDv2Vvb2j2SHCnxt34BhFaspFJn73d0ZLBnnZ+ZBQULVg6qbhw10hl457TVtCjZwmYODFjKWYyMelm5pDcYJjD0fx4lPp0LDqM58Uqcoh8mNLWn5Vy/GU23UmP+OAuDu/EhjMmfct1tL7Rijdubv2tFgPvV8+nyrhdTSKWMdYmsFEgcSa7R2smU5Bj/ldno1LqeXdbyiHozENOMO4ansORwwpayfg2yj4I72I8ZL956JQc/0vciRf07esdJQ3lnxXrQs5G7CGWEvGLL34R26+ZCO4m8A+Ope9kuX+Uo4dgoRiiXXr1kk0a5cmMnC/C 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)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123565025)(20161123556025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123561025)(20161123563025)(20161123559100)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN2PR03MB2365; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN2PR03MB2365; X-Forefront-PRVS: 0430FA5CB7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2365; 23:PAYJYpz/4/OaItacOy9fdcqMhCb+s6nY0zK0Ig/FS?= =?us-ascii?Q?P5TOLmpvV/vhxC62gBf2NzWj1Og5p631kLlBjS9RTO/gWIjyUhYoykch5ais?= =?us-ascii?Q?/5fp0gaVXM6x9xcbJ4wcT2d28lBILPSg+eosWLDMaeV3XLxDieCUOKxcTHf6?= =?us-ascii?Q?ZYZElYuvrI4DTzFquMVNY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xSuDwwDQbckptwSzlPAO7x+kH3l9liRwIErKmtl4QWce6doIVwuQ5PDzmfoAwPWp+HW8vIIX43o0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2017 08:29:40.8232 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR03MB2365 Subject: [dpdk-dev] [PATCH 08/11] 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: Thu, 14 Sep 2017 08:29:43 -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