From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id B2302271 for ; Mon, 21 Jan 2019 23:42:58 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jan 2019 14:42:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,504,1539673200"; d="scan'208";a="136543526" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by fmsmga002.fm.intel.com with ESMTP; 21 Jan 2019 14:42:56 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.116]) by IRSMSX106.ger.corp.intel.com ([169.254.8.161]) with mapi id 14.03.0415.000; Mon, 21 Jan 2019 22:42:56 +0000 From: "Ananyev, Konstantin" To: "Zhang, Roy Fan" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" Thread-Topic: [dpdk-dev] [PATCH v2] crypto/aesni_mb: fix compile Thread-Index: AQHUsaHjNvQhbVHg3EGk/m6MZ+bxjKW6UeCQ Date: Mon, 21 Jan 2019 22:42:54 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258010D90668C@irsmsx105.ger.corp.intel.com> References: <20190116132114.65674-1-roy.fan.zhang@intel.com> <20190121155611.74873-1-roy.fan.zhang@intel.com> In-Reply-To: <20190121155611.74873-1-roy.fan.zhang@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTNhZTJiMzctNzYyNC00NDBiLWEyNDktYmFhYjBhMTkxMDY5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoianYxWDlsdGVMKzFMSWo4Tlpodlk4ejlGMWxkdEJaejNFa3VTNHdaSWduc04xSXlSbVwvR2tKeWsyeGFjbW82dUoifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] crypto/aesni_mb: fix compile 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: Mon, 21 Jan 2019 22:42:59 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Fan Zhang > Sent: Monday, January 21, 2019 3:56 PM > To: dev@dpdk.org > Cc: akhil.goyal@nxp.com > Subject: [dpdk-dev] [PATCH v2] crypto/aesni_mb: fix compile >=20 > This patch fixes the inflexible compile issue AESNI-MB PMD. > Originally the compile of the PMD will fail if IPSec_MB is > not installed in default location. >=20 > Fixes: c68d7aa354f6 ("crypto/aesni_mb: use architecture independent macro= s") >=20 > Signed-off-by: Fan Zhang > Acked-by: Pablo de Lara > --- > v2: > - uses standard head invocation >=20 > drivers/crypto/aesni_mb/Makefile | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/crypto/aesni_mb/Makefile b/drivers/crypto/aesni_mb/M= akefile > index 7ef290dc5..8d2024c9e 100644 > --- a/drivers/crypto/aesni_mb/Makefile > +++ b/drivers/crypto/aesni_mb/Makefile > @@ -23,7 +23,9 @@ LDLIBS +=3D -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ri= ng > LDLIBS +=3D -lrte_cryptodev > LDLIBS +=3D -lrte_bus_vdev >=20 > -IMB_HDR =3D /usr/include/intel-ipsec-mb.h > +IMB_HDR =3D $(shell echo '\#include ' | \ > + $(CC) -E $(EXTRA_CFLAGS) - | grep 'intel-ipsec-mb.h' | \ > + head -n1 | cut -d'"' -f2) >=20 > # Detect library version > IMB_VERSION =3D $(shell grep -e "IMB_VERSION_STR" $(IMB_HDR) | cut -d'"'= -f2) > -- Tested-by: Konstantin Ananyev > 2.13.6