From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 939574240D; Wed, 18 Jan 2023 15:17:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 341B8400D6; Wed, 18 Jan 2023 15:17:50 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id A76114003F; Wed, 18 Jan 2023 15:17:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674051468; x=1705587468; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=llan1kTroTIoVbqJ97GP2QFZlBK/U6/GK9xlTicCJ/U=; b=dsty4wzV+N9yXem+NkbL69Ve2FsMC+4+Me5AhFOUpKKYWgUMRG7CX678 hFQ6c6wLOSHe2qbhrU5bJuUF7yeZOKENBiGnqT5Wu1ZYetCI/SJShjOOB Ha9D+e31Qjaef4F8Hh1N6ZnY5mmENZ4ploWCHz4PWsep78uSng5KA/8ab rNnx58YCVf6Fv+cpI7UfBb78TfzWetf0+75t1gj7JJSKHqJopcouvXLu6 FqJuRkhoyPowcHzp2g6qDmakM21XPMXY203l9lZIVs5U1dRZh9dn3lMrV WM7KdvOcQH+PEvOXE34du/TkkEuhPxPTlCWeLqwWOacDYISStPl3qWesz w==; X-IronPort-AV: E=McAfee;i="6500,9779,10593"; a="305364470" X-IronPort-AV: E=Sophos;i="5.97,226,1669104000"; d="scan'208";a="305364470" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2023 06:17:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10593"; a="767752444" X-IronPort-AV: E=Sophos;i="5.97,226,1669104000"; d="scan'208";a="767752444" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga002.fm.intel.com with ESMTP; 18 Jan 2023 06:17:46 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 18 Jan 2023 06:17:45 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Wed, 18 Jan 2023 06:17:45 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 18 Jan 2023 06:17:45 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ORqyvgLD/tMGVc4VVBJ3IXrV8GFp2I8thLSwRYWm3DDG5LzcxX1WEWNCqwQF4AIHQI8eN5e6MAOmsudweTnyoFYInG4QPuPezpDvMuw7n7KOnXzi7o1fK3lnzHAMBk312aMNEC6y190s3mTTMRMae5rhey40X/6vmOy9nEAflIqhqKvk0Fy9jNRwXNUPqkH4aqdVIzwsskIbuo3+1jwWg1YE0oT3orIFSjAysh0Sh0KLVWWjIgr6puV3zggu9r+gj95kyvkowR+jUvxKw+RDsr9J1qhskIj24uXlUsOdEjS7vuytwdjV1ATnZQTfg12gGPoRKAas19CcVBY513DAfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XccSZ7Bak+ebnV34ZgwFiz8b6czOLdRha0Kz9IaKIfs=; b=n8CbvA8b8R23gXPFRQB2GrCKgW9/JZr3cA0v/0P7FABwRYuhGmX0AZuFtBg0PLzFaSwLIfptb7Zzb/aOqm1kIyLuZLWyNORvN9TSW4YVHUyXK8dHL7h1c9gYl4DO4pTRWH/4C1TjyNiFHTAIx+H70+Gae6yhYldsxvuGDMsCR8tEnlnoc2jOZrolQxrsQH7obSL9+OxwvIX07CIdTzzeC8yufUstv+to4DaQueSH5Aig0TzGeTiXcc+jprRSf2XdpTE9Elc2LPY7dghKWbnoB9FakccnxyYG47WZcuFcRLDUBa8uh67l5s1sjoAjAi8JIDBF5iILZOyCx29hY/Znrg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN6PR11MB3408.namprd11.prod.outlook.com (2603:10b6:805:bc::22) by DS0PR11MB7336.namprd11.prod.outlook.com (2603:10b6:8:11f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.24; Wed, 18 Jan 2023 14:17:41 +0000 Received: from SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::15e3:7ae1:b586:649a]) by SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::15e3:7ae1:b586:649a%3]) with mapi id 15.20.5986.023; Wed, 18 Jan 2023 14:17:41 +0000 From: "Ji, Kai" To: "De Lara Guarch, Pablo" , "gakhil@marvell.com" CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH v2] crypto/qat: fix build Thread-Topic: [PATCH v2] crypto/qat: fix build Thread-Index: AQHZKyzuOs4jC0ChWUWRSNa7v+7/Rq6kONiA Date: Wed, 18 Jan 2023 14:17:41 +0000 Message-ID: References: <20230112193045.2907753-1-pablo.de.lara.guarch@intel.com> <20230118110558.1136485-1-pablo.de.lara.guarch@intel.com> In-Reply-To: <20230118110558.1136485-1-pablo.de.lara.guarch@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR11MB3408:EE_|DS0PR11MB7336:EE_ x-ms-office365-filtering-correlation-id: 61e30e2e-0eae-4df3-17eb-08daf95ec292 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JzkY9nOBw52QqEjGB77+eUKEsl5VPjjWAk/lS+8WWP+9yLWjErZ9sR210io9VeD6asSdcs758ddaSmZjs2JseRMuv5gY0vleiwBYImLf4ovMm8yqYV+mK/1vWv5cvnbmcco5u8wVeMsZNztbSpXHm9mBlqlya9cH/WX0mTLPXnlxOWm0PQAGov1qvaADMoB3X2tbzou8TQuikoeDbYb9d3BLBXWiw9kdqWJ6Z5cToVCM4KdLzPvwX7VkOuVWv8psWzJhBQny4e+YZk3QO8WnG+bNf9nMfKK6P8p4QdDyFYutXlFhMrod8Dqd7pmtT3XxYoQwpu5+oldsxlBnA7hcBtc+LIl6d99h04smCxhmk/NLmsVLn6ipBWGAAm0nF/6jOMKo6bXtBPNXy4vWGIZ/K3ed+JL074UG0LucqhqxM9Ms/qr1nSdbYY01k/W+g15Q2d9TrLGhS9iIYZBEyilcxtbP6meGjifp9KufNheIfB4Bws6HzhrEVUOK+euGOBr4138j4/TsW8rU5L7VvOkdJitxpbQJRfEKDaTLJtjUvu2NJGhJp6Bt31FTvPfeE27KeQQj35EZP591xVWaXwa1cBod6HwJevUbn2mC/fPmAlToDkSe95JpcrJRu2EPth5RcsKbsHTYsreJSYa1z5llbaYKSfDSDNgItjA1izcmw2KZDxXDptGe2ma6Oh0WlDf/KJV0ajDPUtR7BFXii784Eg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3408.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(136003)(346002)(39860400002)(366004)(396003)(451199015)(8936002)(52536014)(83380400001)(5660300002)(41300700001)(4326008)(8676002)(64756008)(66476007)(76116006)(66446008)(66556008)(66946007)(6506007)(316002)(2906002)(53546011)(54906003)(110136005)(55016003)(186003)(9686003)(26005)(38100700002)(82960400001)(122000001)(38070700005)(71200400001)(478600001)(86362001)(7696005)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1ZVezfpxtdnISI/njylM9ZDNvPtmnC8n5Qdf7kW45hIFzC3Cx0+qJHAihGwL?= =?us-ascii?Q?UhN0JMVYMDlMkiSyDuf/ii6FxpE2E1tzMUg+u2wOwJzCOdp2us0YoCaJpcnx?= =?us-ascii?Q?nzOdGUZ0pQnoLNd2Nld+gB3RhwuycEwt+fkYWOFGgk7dpP7mvIjg8bgC0iw5?= =?us-ascii?Q?tUsPKMyZAD+WyT8RT3oMR/k+ac6bkoDZX+aIUKT44DcK4SMf9xrZ9nZ8WRaP?= =?us-ascii?Q?61AJ/Wv9lZvN00TD5vrYnwoejoAGRPIJMbC29BvgVL7gH97M8Watws2XHr+K?= =?us-ascii?Q?euZqWyZTzk20E/7CMrb4H0s1U/aPorA/9NQ4hAhJ16/GuQcDp+sNbK0mc1om?= =?us-ascii?Q?T3i5NwKIr1L2ckFKPBEZsIozmhWwjru4oWyH7Af1ZBQ/LmLc6XCkOVyV1eeU?= =?us-ascii?Q?PUzDMgu+n1Z9tknGnUwkHdDm4BOeA8gL5uHbqsy19HgzNrnrodMx+SaUYrBe?= =?us-ascii?Q?MozpWeVwJNVc34P2nwHqG2vYwIWdM6ned8cmWHlDRT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-ascii?Q?TI2LyijbsSiOgViINt+yQi4KUGo9Q70IQHGSqvuIbLPOTwtC8wpAmAVPr9gM?= =?us-ascii?Q?fTgZvU/LZGBuMQdvEmf8ISygsPEUAELP727O1hkYVtQATAG7Nhe67F6Z0b9G?= =?us-ascii?Q?4ZiiaKavqPdV75HY4BFGSGxaIAm3iHfB89V6euN9IfBTuEgltv7V4XJYsqYj?= =?us-ascii?Q?9LBUlZssnxCSbcAfVKq7yeOlR/Q3V6kTgN1+gR6r?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3408.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61e30e2e-0eae-4df3-17eb-08daf95ec292 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2023 14:17:41.2786 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: bHCPFXoS1O01nDQXFP8RNNWPybIUGXa2tdq4Dzwkt+C40KkvA5fV6OnMtbQy9H0KU1qVJh+/BlK8GG8cx1JHUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7336 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Acked-by: Kai Ji > -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Wednesday, January 18, 2023 11:06 AM > To: gakhil@marvell.com > Cc: dev@dpdk.org; De Lara Guarch, Pablo ; > stable@dpdk.org; Ji, Kai > Subject: [PATCH v2] crypto/qat: fix build >=20 > When building QAT PMD, the following issue comes up: >=20 > intel-ipsec-mb.h:333: error: "AES_BLOCK_SIZE" redefined > 333 | #define AES_BLOCK_SIZE IMB_AES_BLOCK_SIZE > In file included from drivers/crypto/qat/qat_sym_session.c:8: > /usr/include/openssl/aes.h:26: previous definition > 26 | # define AES_BLOCK_SIZE 16 >=20 > By defining NO_COMPAT_IMB_API_053, it prevents legacy macros like > AES_BLOCK_SIZE from being defined from IPSec MB library, avoiding the > redefinition. >=20 > Fixes: 3227bc7138f5 ("crypto/qat: use intel-ipsec-mb for partial hash > and AES") > Cc: stable@dpdk.org > Cc: kai.ji@intel.com >=20 > Signed-off-by: Pablo de Lara > --- > v2: reworded the commit message > --- >=20 > drivers/crypto/qat/qat_sym_session.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/crypto/qat/qat_sym_session.c > b/drivers/crypto/qat/qat_sym_session.c > index 978ee49dce..7f18e9875d 100644 > --- a/drivers/crypto/qat/qat_sym_session.c > +++ b/drivers/crypto/qat/qat_sym_session.c > @@ -10,6 +10,7 @@ > #include /* Needed for bpi runt block processing */ >=20 > #ifdef RTE_QAT_LIBIPSECMB > +#define NO_COMPAT_IMB_API_053 > #if defined(RTE_ARCH_ARM) > #include > #else > -- > 2.34.1