From patchwork Thu Jan 12 19:30:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "De Lara Guarch, Pablo" X-Patchwork-Id: 121967 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F2251423BA; Thu, 12 Jan 2023 20:30:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AAE0A42D5E; Thu, 12 Jan 2023 20:30:52 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id D03F442D55; Thu, 12 Jan 2023 20:30:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673551851; x=1705087851; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=bcf+/KoYUF30NBrmXEpq73SiiR94WRtGhM/0a4fJfZ4=; b=APQUOCiUj4mv794SzLj3z4dnodymj42gEJk/ZopfhKfeGqBcMJWonbpM DKfRA17vc4X7rzdUpYjhNrevJYUoRbWHBwYgikIagQOS6FyWxm9wjvI6D 5Q/NIeJllXgFm9juSFOsUcEa7h178IQ8RrEwrFEU0py9Hii1K91ljk3A8 KJPF8X8rRPD7nZ8m3ujieWwA58X1DMN2C3t29cOEALC3S/4Al37jfG/Mg WuRI5zc11CyZ5ZoZrSGxI0K58gxkk3MdBYk3UuZFYQd47RHyVeQZwfcAp WcDy67ue/wYlatZNVcEecpN37WHQKOiBIngBGf3oj6k338Y+1f2Ko+mBO A==; X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="321503668" X-IronPort-AV: E=Sophos;i="5.97,211,1669104000"; d="scan'208";a="321503668" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 11:30:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="651275490" X-IronPort-AV: E=Sophos;i="5.97,211,1669104000"; d="scan'208";a="651275490" Received: from silpixa00401399.ir.intel.com ([10.55.128.139]) by orsmga007.jf.intel.com with ESMTP; 12 Jan 2023 11:30:47 -0800 From: Pablo de Lara To: kai.ji@intel.com, akhil.goyal@marvell.com Cc: dev@dpdk.org, Pablo de Lara , stable@dpdk.org Subject: [PATCH] crypto/qat: fix build Date: Thu, 12 Jan 2023 19:30:45 +0000 Message-Id: <20230112193045.2907753-1-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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 Instead of undefining AES_BLOCK_SIZE, define NO_COMPAT_IMB_API_053, which prevents legacy macros like AES_BLOCK_SIZE from being defined from IPSec MB library. Fixes: 3227bc7138f5 ("crypto/qat: use intel-ipsec-mb for partial hash and AES") Cc: stable@dpdk.org Cc: kai.ji@intel.com Signed-off-by: Pablo de Lara --- drivers/crypto/qat/qat_sym_session.c | 1 + 1 file changed, 1 insertion(+) 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 */ #ifdef RTE_QAT_LIBIPSECMB +#define NO_COMPAT_IMB_API_053 #if defined(RTE_ARCH_ARM) #include #else