From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0063.outbound.protection.outlook.com [104.47.42.63]) by dpdk.org (Postfix) with ESMTP id C87B21B83E for ; Wed, 25 Oct 2017 07:04:51 +0200 (CEST) Received: from BN6PR03CA0063.namprd03.prod.outlook.com (10.173.137.25) 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.156.4; Wed, 25 Oct 2017 05:04:49 +0000 Received: from BN1BFFO11FD013.protection.gbl (2a01:111:f400:7c10::1:136) by BN6PR03CA0063.outlook.office365.com (2603:10b6:404:4c::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6 via Frontend Transport; Wed, 25 Oct 2017 05:04:50 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.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 BN1BFFO11FD013.mail.protection.outlook.com (10.58.144.76) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.156.4 via Frontend Transport; Wed, 25 Oct 2017 05:04:50 +0000 Received: from [10.232.133.65] (B10814-12.ap.freescale.net [10.232.133.65]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v9P54hGo008563; Tue, 24 Oct 2017 22:04:44 -0700 To: Akhil Goyal , References: <20171014221734.15511-1-akhil.goyal@nxp.com> <20171024141545.30837-1-akhil.goyal@nxp.com> <20171024141545.30837-9-akhil.goyal@nxp.com> CC: , , , , , , , , , , , From: Hemant Agrawal Message-ID: <543df3b5-5356-7cb0-0763-dd7f34b2b58c@nxp.com> Date: Wed, 25 Oct 2017 10:34:43 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20171024141545.30837-9-akhil.goyal@nxp.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131533814903542011; (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)(7966004)(336005)(346002)(376002)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(24454002)(199003)(65956001)(47776003)(106466001)(498600001)(105606002)(31686004)(356003)(68736007)(85426001)(50466002)(189998001)(86362001)(81156014)(305945005)(81166006)(2906002)(7416002)(4326008)(8936002)(36756003)(53936002)(2950100002)(65826007)(229853002)(5660300001)(65806001)(8676002)(31696002)(15650500001)(6246003)(64126003)(316002)(83506002)(76176999)(104016004)(54906003)(23746002)(58126008)(97736004)(50986999)(110136005)(53546010)(230700001)(77096006)(33646002)(54356999)(8656006); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2354; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD013; 1:nwwDywwfGIj+qB9v36dfRGTaUeW2lTTNLXH4aC/PdMlaV3xUamt6bBK+K2tenabWOtRX9weLAw7j2MMkaFfK/PKftGpHxshX9Aj2TUzaYdWVKTWKP4qvqLvDv/tSygMo X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e2ba6f41-5715-48a5-10fb-08d51b65ebbe X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603199); SRVR:BN3PR03MB2354; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2354; 3:uLu1MNVOKcV2Bi/HoDatbOJf8Vqbb8H9Qay6MNCPU/hSRlM+z+jCkH+c1FrlHXxwZoo9mpco4y9ytz2teqy1m6NG2m9k6MX+WAQZuQMgG+l4gia6zjkaEiQIJ2tMPwyQkLoAjdDr7XtszaiXLFhRKfNlRYbTonQLy/nEQJ1wqf91q46sVggRswQC113o1GCDth4NgdrTouF9yuV/PAlX3j/fVMQUUKyczMtLyc410X1vzzySl8W6/13rw+r2pRbfwTvWxVDmyXTxLqgOVwTsZ+wX+IMzdGcpX3zTJFjMQwGeTU0vbAj/XJndhczInTJAH/eHeJ0pfR4b5tHceepWQAwnGVKDvdVGbRPtV/IWffs=; 25:IDwPj3Ki96SxBd4Nc5cXAAdTQiR3wBJ54f2fBr4HI7LQIGBFm8TfW3X1A/k7Q/BF8CAR6uQ+28V/xg5LUvN3vvY8QJQv1+B220p+GGPNkW7olrk2Die5prflZi2DMjmen3+Dk2T8FpwBVARjqSYv9FKXTTNctjSaHHuzy2SBjL+UVbUZruxMDfAgG5RXHvVmfOj4I8QlNJUEbKhBoNR0bRL3Z728CTtuNflFbOuxxEL3SnCMXB2n9Hzso4NPFb4b+KjCX1PWvyK8QUNHmfn+4ndw41YhA+DSeXyOxP77p8QHgqNG1DtNLcnrf37QcEVzNVxJBEeGWKOWgDFTjr9wfw== X-MS-TrafficTypeDiagnostic: BN3PR03MB2354: X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2354; 31:ABENgogbUhfLDYT++4XFHgvpYQWKcwX//coIpXknukruohuaPGo58qDhAScakNKmqWQp7RElaIPPgYcAVacqwavdoWoUoC4f9n1ysj7DMMX+5vgXTOzsYoWfMJfszyHIvCRMDQdLXE5WIIUvKKpWHOuW+O+P5gVfVeddKZCXmVejpxOouQjvbzp8afaCt+ozho0UyKhGU1RGuZH+CpRsGKXyB0Ve+2lTW5Z0XlZAQaY=; 4:+LZ0zL+qD1jcJEf5ygVkR5oVZ7HxK+9n9YTvyt1Oab9UWZQrpR1ensaznnpoacypnjgF5eGHleh4sJoY4NFmaw1t1WFBnjfCf/V1hPb3oFF+zB0ao/fVUnFaoL8O1WDKnaeL0hDdiXgVTFUZA/bWacRvwsu3kyYx/WovFFNENoabwGs/COw+pybdaidgL496GOfXYWc1EuO/RQyljtzBsEvUJbjZOSiAMduhz4YKyK9qbB9CP2B/3cV85bfIejRcpIH0VWhkkjWXjXp2N5b82C9MC1XA2ZfVSBUeMKzcge9J+7R4xfb8AXCu7NHemM+SD6qbGpHzpedkoJ1XrLzsE5DU/eKkRer1CY4LDtueZsWfh4g6VUqGwb378OzLsCCu 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)(3231020)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123565025)(20161123563025)(20161123561025)(20161123559100)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(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: 0471B73328 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BN3PR03MB2354; 23:FaueOh5h/pglW0tpNTeFfZ8dDoWpyvirTLuXW?= =?Windows-1252?Q?moiAKbOi77HxkbcK8SCWe5mf0QyCv9LfzoHghkk2Xv3afkjobjrnPi52?= =?Windows-1252?Q?2mSUcY182DR+dYDjAIZPNSrPkrXcW12tPe3DuNITnjLs1CtL1d/7oCfx?= =?Windows-1252?Q?G7xy8Ii+vYLdjw8lH+N7aV9vtnAheITuDE6J+6EhpD7AVojlBrYoKm3h?= =?Windows-1252?Q?VF45P35P9UKG0Vsn9apVTPdtUNJMfOOkI0FI//Fa0RpcucOGx9Ek8DIP?= =?Windows-1252?Q?iq0ecKlGeiYwiVbLdVdHBLb3hyOzY3UF9LJJwE+nOPUUFyRiC+aGAHqB?= =?Windows-1252?Q?5WGhe5MeI5Y/829fcpmfYH8jeNXTjPGZU9ZUmvUAsOetggq3X48Swl8H?= =?Windows-1252?Q?x2ynrpGzPvej11PcfB75ZX0jXtuQ6ybEK8bZ9jIqHbSxqKPLuMdgg7Vh?= =?Windows-1252?Q?vcx2liqPvcpnUPF+QPY+CgxgVIbkvAiqYNCCqJe5DytZ1V/G6DBLWHGx?= =?Windows-1252?Q?Iou96c6RjNVRJLiV6HzKgwysEQhdQ4Xh+GlxkX5hoXzrOclKX9y5IVaK?= =?Windows-1252?Q?mUBZvvwncl82k+ZuoT/6KowouL+HgSYjIGMy+KRzOagO1BXasW/ch2Vt?= =?Windows-1252?Q?XDPl8C/Ucn1Z8SLGoo8gYAwjXSVrtaJBTtNj4RwvTcBn3CSTbsBZ375n?= =?Windows-1252?Q?A9rLRuMjA8H3GW+9x/RNt0B0TigOb8jO5mWGnaa0Jfzg+PrEK+rxUDoL?= =?Windows-1252?Q?puLALW4PHyAnikkBH1mnOMuZ1nhr5+zAFw21K0ULut+8PfsdnrTLT7F9?= =?Windows-1252?Q?FsOdzYwAYqeWbz4nxOMvZo+LSxN5RTFZVNbtNLBA3oWUNZLLZbLhNoJg?= =?Windows-1252?Q?wDiEBCSULt4quPnlA3zjmhiiIJljxM0tz4iMuF9n2C13Rdnms2tu6VD0?= =?Windows-1252?Q?Wp5v1/Y1rtqKpp1XvSnmM7QB0vYVhpkUf9LVcGnkj83d7e5Db9+hHxRw?= =?Windows-1252?Q?8/JumfD6CBYo5D0cU/3rND5tpZgTUahIrUSBwll8F5HGGYuj1i5Ok3j8?= =?Windows-1252?Q?IHUFfhmi9DjWxt853NcMI0ifVtM4CquVGOQAQgObvgkKKP1r2Od+YUK0?= =?Windows-1252?Q?qVlPcykJ5Mz3610olYRbAXmyLclTANQCdaH7aT7drkeYgxrhDnJPjhHY?= =?Windows-1252?Q?CLziFlNP/eROW+azV6F2siUzHji5I5BH7Ltbb+Wm/9pcAiAzLB08g6jM?= =?Windows-1252?Q?CqvtjilUmj69mJK9VMRgQCezlbFMhkJCVA7NwQkgdJY85kKh2oJdr1EQ?= =?Windows-1252?Q?3+7HoA5YFPBYP8q/3oromfT7Og31ygi8PHG+E6c7IITVCmlddSNjZCub?= =?Windows-1252?Q?zcK7Pb1GgfSYM4bL7sO1cT+S/ylaChj0+/W7lfFkf+nB/0+WSeWYZ7I5?= =?Windows-1252?Q?aTkxc/vxfNwdIeGVTKA+33j5m3p3NYYzGpgRW70IZ5idMgC/um2XCdHH?= =?Windows-1252?Q?QPuN5uP1zD26hb7QokUIKjHaGtbWu2vzrU4oq7AtBJm0cOK+A=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2354; 6:a1ZRFxbDdVB3VDKnaYM37jT+PSVBVP0KF3+3kIuRRFnlbXPB0qCLqjleyaGegftQTUmCgR/IUXMCxiIiVNoE++Rq5huOMfuJt4VK2RVvhN73ZpsSmejiu/92DMOhsXY1PUCC4WW26ZuAd08/VYmPAFzOZImsU13UGzQqNFvsDLAVbSbLnKIlk24jseb/zpb/D5vasWl7XIrgP5K9Tiy6H2+1ws4n9BEPXHQ4yW697a6fOLXQhUiq6cZBAlV6cQ25tFPmVUhyM6bdK6ElzFXoBwILnmTNG+mD5rQqhce2gD2ztrBAA+g0f5KyueaAZea83gO3NkPpe5g1SN2st6TENg==; 5:ZA4C70esa9aAhXfb2ilk7FU9d1gGA/euinhkB/2/2PTj/acKbvDQPJDrhcvqp8PxR2W4bUVakGtjkM9mqIg4u14CKXU/lYhwJ1RXVPoqHobFBGCAOXOUdvTvKpFHU8+Q32/BrCofXRVkJdv1RNOyPQ==; 24:7zpJRjT4advPN5Mw2chTLz56ctqWngRUfPxhlbJnn3GMrlKrdli7j+lwUFYcvc5wKaK8ZTAX/6t326MfR1KWm7rhz+XJu1Z5HlUYIzo4SwA=; 7:lsJ6VRUYTxOVi4ce2vOYLuYP4L6C22iNh/0/R2u1vFAa7+X9Auj2ANjzXQGcw6MvBCF9v3CkCEaKcfoiEYfNFutly/LtsNDknTDVO8CS/chH8+KNihTBKVLCGvvFypWCCVwRFl8UTMcYAXde/obn4wNqpgFKxkssShAIJAfOeGWj6btO45QqJM9FcBlJkXUwxcbyqGdl51Vn1FBlI+6DySPk+7bCnOvJp2/JGanSPiQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2017 05:04:50.1358 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e2ba6f41-5715-48a5-10fb-08d51b65ebbe 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: BN3PR03MB2354 Subject: Re: [dpdk-dev] [PATCH v5 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: Wed, 25 Oct 2017 05:04:52 -0000 On 10/24/2017 7:45 PM, Akhil Goyal wrote: > Signed-off-by: Akhil Goyal > Signed-off-by: Radu Nicolau > --- > config/common_base | 5 +++++ > lib/Makefile | 5 +++++ > mk/rte.app.mk | 1 + > 3 files changed, 11 insertions(+) > > diff --git a/config/common_base b/config/common_base > index d9471e8..f5d085d 100644 > --- a/config/common_base > +++ b/config/common_base > @@ -548,6 +548,11 @@ CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO=n > CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO_DEBUG=n > > # > +# Compile generic security library > +# > +CONFIG_RTE_LIBRTE_SECURITY=y > + > +# > # Compile generic event device library > # > CONFIG_RTE_LIBRTE_EVENTDEV=y > diff --git a/lib/Makefile b/lib/Makefile > index 527b95b..645094c 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 > Acked-by: Hemant Agrawal