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 B727BA034C; Thu, 28 Apr 2022 13:48:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D85DF42843; Thu, 28 Apr 2022 13:48:11 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20079.outbound.protection.outlook.com [40.107.2.79]) by mails.dpdk.org (Postfix) with ESMTP id 2B25342841 for ; Thu, 28 Apr 2022 13:48:11 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BFDSLGQuAeb6k7SMssf+J5O+W1ztiSIiclt8f44Po7vqjoaSN9zHhpjWE6SE0YUpl159gl1Z2BsfrqCTagHKTb0eFtdkH5EBxB3sgiBmzLRT82/QkUNJnSf00tOSXdB3O4SVPqZCoBq3kWYMSpNWX+pI81GxzX17KS3ap/zOnvFc5d5lTWyUTxJifo04q0oC52//fddLUublNHlGiMm+r9azXmYKvo749bFk30sN4TYrTwXdNAQO6iBhi6ABylg51ApNqVYQup6Q2Cp4BjTtU3IZVRlRB+FdwgGfDA8z9/8rbhigKXswSYVQHgt3lK9P75fhAvh8uGmuGtf6uM8vpA== 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=1nfNduKkR54YzMSXgid8h49E67B4U6MYNYOGrbIFq00=; b=nxJ6ZGfDBtFnVjqJu8I8wN879XtebymEZaV5WR7glZQtQ6Hk8C7+ZK+gxJ2HGuolt+7xtSBiJmntSmK6LiAoWqHz9SXSOaQRLFE4GsvSAHM+lY2PCD81nUhYFGbXbH+sJD9iwyhhn/lpFfqnMEpOYcozR9v5wDwfD4xEzghHTruFtK6hKbceJmDCkxM1bqorfnWCKnSOobX7M165OgMPfG/8lhpYrdzwPxoHXWLkdm1tI0mdlnXtgviOvzYiYiwmvlBWeBDoQYk5I+H4JHrqeyUDNBpby/1dnu0qqKNOcecVsPr5CnHND5ER+8ckmRhED/uAGj1ZcPg6at939DZIGw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1nfNduKkR54YzMSXgid8h49E67B4U6MYNYOGrbIFq00=; b=sja+ZzNZZyQDEwgXDN/VvGwQoNpe8EsRGrZD93fHrgNAGlILLtZjl7eqZXA80X/tF0nHI709+Vmu1F8+XMWpvoVjKQ+++TjeqWc9toU7j6gEVlplM0DqzQDs/+CxEy3hv2eZ8jsEd0cDnC2bm+lfzbXqtpI8G5IdxLTowf9ZKME= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) by VI1PR04MB4622.eurprd04.prod.outlook.com (2603:10a6:803:76::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.14; Thu, 28 Apr 2022 11:48:10 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::8cf1:93b:c340:3be2]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::8cf1:93b:c340:3be2%9]) with mapi id 15.20.5206.014; Thu, 28 Apr 2022 11:48:10 +0000 From: Gagandeep Singh To: gakhil@marvell.com, dev@dpdk.org Cc: Gagandeep Singh Subject: [PATCH v2 06/14] crypto/dpaa_sec: replace use of old build macros Date: Thu, 28 Apr 2022 17:17:25 +0530 Message-Id: <20220428114733.1419957-7-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220428114733.1419957-1-g.singh@nxp.com> References: <20220422035100.3180870-1-g.singh@nxp.com> <20220428114733.1419957-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR02CA0002.apcprd02.prod.outlook.com (2603:1096:4:194::22) To AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 119a2b49-d296-490e-0168-08da290cf794 X-MS-TrafficTypeDiagnostic: VI1PR04MB4622:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3rxLJCA7OgJ+P8/WOdsJ91Nm2ndNz9Yd8aJRlTBfzJ3ygqaTxvHzP7CzRA++PVyy6CTdjKSAZOXzmS7utXrr2GmDQiwn95zweQj54lz3RV0CP2zdZW+XWt6OlzCnWI31D+2Hel6++sxPg0jOYW5u+jE+53Oq5vTz2xNsZ8B2OIM6jRnbcqzPt9tFAGO5vC+szQdrHwZ2fT4f0i+dBduriQroc3FHEQgSK1jSFkPc5dk+xMCwa7qmRjvVx1BmqWlvWInmS2kqLi23iHHMnjyk8Sjqkr9uLbbpKI2M6Nb7T7wnDyerjAjFCOY2J0KW8an9F1U1d3WPfblC6qadUoqphpIF3/wVIbvEwAZo+kc9HfpE4yIF3xQHDRarB20uQaK6duVLoifvSq6R9h1c++ZwJ2I9XYQM2Ig21PXbFgUN+S0e4gGhrLf6lVHfYec7g7xW/q1Wxousl7IIEGBm4vfvvLBW/z/ByoNWPaudR0QiiPq+U4ziT4kMWiPT59v9Kad3PvuUWUFNbjhBa+1kMeSKmywOhgNYrimLecD1xonFeBm13bTs5x/1A/jCxl8MJNDVEe1PemQCDF/mOYmHIAeQOIySESquD0zMc2XANueTDwAk/35dUIcBnHG6xwRgGf4+uQgIHU3Xo0FY6PUx00cLAY5wDtR9kUPYxjh7VPLXSdaRpE+20VUF/KRHYaOuIigs5nooL1f1jjt4XCgollsnqA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8198.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(2906002)(4326008)(8936002)(83380400001)(508600001)(6666004)(6506007)(6512007)(26005)(86362001)(52116002)(55236004)(5660300002)(38100700002)(8676002)(6486002)(316002)(186003)(2616005)(1076003)(36756003)(66946007)(66556008)(66476007)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?80poOb9Awooa+Sv0j0o6OkjuRw2JEGY2/kGlPrRLlX5qGGjbXgvd+MYMCrG4?= =?us-ascii?Q?nEZpIY2UTVp+4v2oJd198xj76hVO6AckrBAUR+EQMsgICpeD01po7+shbX6W?= =?us-ascii?Q?z7hgjIhWl0cZQ4omJdc/zyTM4+PK5PvlVSNfqdvxBE0Dl4RYtvKF66j4g2g9?= =?us-ascii?Q?Urjlvh8KjfjSigtoh4FS396+49R0MXgatMWG1x3NcsbY+yvss49PpOq0VMjv?= =?us-ascii?Q?Muwd18fHebmE3vcT3ZJgdj8G4mgagTznNuJX4s5EfRM06HeTXpoQukY/t4jB?= =?us-ascii?Q?dD5BmeTTnGsFSorBvNnLChq1027fYEiu87WzfwdCeY6OcJpdE/4wS9tfo27x?= =?us-ascii?Q?wf2itR+Poj9v4B1mE1KMfrDmrmMR1v0069b/tS1yNU7U1lMUGE89MP8uYLBC?= =?us-ascii?Q?HV2BBCj3jMtAtWCAZqFJbAfG5r77E/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SZ/dUiTQ7B/YI8+YWlZKvB6F57HBvHxWJyl83OiWV52TKUls463Um?= =?us-ascii?Q?yafGAASwaTrfrBPsok1D2EM9OgunOCUyr9X9PVGh7LXv1yTw6KFB8J15pC4H?= =?us-ascii?Q?CH3Gagvqa27aXrft91Eevz8MrdruH11oMrRZuHhCM3Rqw43/S7Gl0WQaV80e?= =?us-ascii?Q?AlSg6gy5AahJJp6jDycnR+eVIJmkiW/II6pKFavxXdkgecZCdlc5d/N2DWFv?= =?us-ascii?Q?oOorjhP313qiRQm1IMpnJWS1jtI9cZKvEPXWbNEx3spfhBOGSesi1USEef6C?= =?us-ascii?Q?3o/4kXDeEBlkcUwdJ1E5vOaK8yP2VoTe86lxTZx4uro4rDOfYLq49CNymSoQ?= =?us-ascii?Q?dIH3FlQ42IG3gROxFOBH1KO2IV0i6YfY+09MJkKq6sHfaFyI+1tBGNipC8q/?= =?us-ascii?Q?qRKtuqU2lQ=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 119a2b49-d296-490e-0168-08da290cf794 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2022 11:48:10.0116 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 04D2HLjbbEZHwTvgLhyWbsF0llwiK5DiJzcFUf12431iVdjX1ocD/PmFdSAOXKve X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4622 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 Use the newer security macros defined by meson. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c b/drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c index 29f4e6d40b..d081953e26 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c +++ b/drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c @@ -645,7 +645,7 @@ build_dpaa_raw_dp_cipher_fd(uint8_t *drv_ctx, return cf; } -#ifdef RTE_LIBRTE_SECURITY +#ifdef RTE_LIB_SECURITY static inline struct dpaa_sec_job * build_dpaa_raw_proto_sg(uint8_t *drv_ctx, struct rte_crypto_sgl *sgl, @@ -1036,7 +1036,7 @@ dpaa_sec_configure_raw_dp_ctx(struct rte_cryptodev *dev, uint16_t qp_id, sess->build_raw_dp_fd = build_dpaa_raw_dp_chain_fd; else if (sess->ctxt == DPAA_SEC_AEAD) sess->build_raw_dp_fd = build_raw_cipher_auth_gcm_sg; -#ifdef RTE_LIBRTE_SECURITY +#ifdef RTE_LIB_SECURITY else if (sess->ctxt == DPAA_SEC_IPSEC || sess->ctxt == DPAA_SEC_PDCP) sess->build_raw_dp_fd = build_dpaa_raw_proto_sg; -- 2.25.1