From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 1AAC81041 for ; Fri, 18 Jan 2019 11:57:19 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jan 2019 02:57:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,491,1539673200"; d="scan'208";a="292565655" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by orsmga005.jf.intel.com with ESMTP; 18 Jan 2019 02:57:17 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.116]) by irsmsx110.ger.corp.intel.com ([169.254.15.16]) with mapi id 14.03.0415.000; Fri, 18 Jan 2019 10:57:16 +0000 From: "Ananyev, Konstantin" To: Thomas Monjalon , "Zhang, Roy Fan" CC: "dev@dpdk.org" , "akhil.goyal@nxp.com" , "De Lara Guarch, Pablo" Thread-Topic: [dpdk-dev] [PATCH] crypto/aesni_mb: fix compile Thread-Index: AQHUrZ5seh//c7sxhE6XL+GLsMUC9KW0DDOAgADRVVA= Date: Fri, 18 Jan 2019 10:57:16 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258010D905841@irsmsx105.ger.corp.intel.com> References: <20190116132114.65674-1-roy.fan.zhang@intel.com> <1988021.QFEkKv4KUp@xps> In-Reply-To: <1988021.QFEkKv4KUp@xps> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjlhNjM5MjMtYmRlNy00ZGZjLThhODEtODFmMzFkZDk5ZWY4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiK09MQnpseG9YbmY0V05ub0V5ZURaNm1RQVVlVHRkTmtoalozVHFTbG9ZZk43Y3labm9MblBxWTZydUNZMkR2NCJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] 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: Fri, 18 Jan 2019 10:57:20 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Thursday, January 17, 2019 10:27 PM > To: Zhang, Roy Fan > Cc: dev@dpdk.org; akhil.goyal@nxp.com; De Lara Guarch, Pablo > Subject: Re: [dpdk-dev] [PATCH] crypto/aesni_mb: fix compile >=20 > 16/01/2019 14:21, Fan Zhang: > > 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. > > > > Fixes: c68d7aa354f6 ("crypto/aesni_mb: use architecture independent mac= ros") > > > > Signed-off-by: Fan Zhang > > --- > > -IMB_HDR =3D /usr/include/intel-ipsec-mb.h > > +IMB_HDR =3D $(shell echo "\#include " | \ >=20 > What is the backslash? Looks like a typo. Wouldn't make get confused without it? Konstantin >=20 > > + $(CC) -E $(EXTRA_CFLAGS) - | grep 'intel-ipsec-mb.h' | \ > > + head -1 | cut -d'"' -f2) >=20 > I think the most standard invocation of head is "head -n1". > You can also use "sed 1q". >=20