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 03995A0093; Fri, 22 Apr 2022 05:52:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A321C4280B; Fri, 22 Apr 2022 05:51:46 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20042.outbound.protection.outlook.com [40.107.2.42]) by mails.dpdk.org (Postfix) with ESMTP id 2BC8E42809 for ; Fri, 22 Apr 2022 05:51:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mywHvlP5LEqp4C3Bicw+ltYXv6pCQZch0qSn3KSCc65aA7eTbp3fe+7ERcUmllTgZ149yRqyS+EtHTgUXXin2FHut5efetvJN5+kRiSu/1clFWVFql2hZWLbraXbwE25tLgT2mm0dwJdZ07A+PMrbQw+OtHMWAajQyrdPejWB+91ELZQ7ynfqU0tGNdJNGi13QcvAEl7WCPpcEgG/ckaxCCghdYLNJpZjhl3HNbKb1ksa5pOrPxeaY/rWxd9RRHj67J2EAeSj8gBVuJLXdL9579z72Askehbt9U/ycJ6OiwE18ZktZrFrYiI8dpjIofSKJBU5a2GuOixFtsacaCwdQ== 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=gUcDCKX0vSQDvBG2JQ1Pso+Gw97fwahcH7NFJwaiS4WJLRWoMOaTsmekLXcvrjSNgFdqwGPbK4UuwqSIlV3pnO6y36El7R1zpoNMS8LiOskOFVN94lxzgZNTZIZC7BwoZyNfEdFr8uSmYa63JjizNbslQeGRYGeA54891WB0O7DV2jeT+jlPn/ejJneQY8chCTgv1CZdAy/PYALXpioHFIPPMR8iFNy3HwMdS4wOr6CIlqSrPC89ths0dwploE3/rGfovykmN+yOXTNwimgP+Ydx1+nsxwihoDpE0wVkgyUYG+dnFykRneZ82IJnWXr1FlSNB+SG4XEv5lBuheHaOg== 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=nVx/sRqzLQXfhH72zPjbQESrI7CVPLRTlGRCvpMx39owTmsFDCLDUwfN5ShXKkhCPMg0ZdCBd4R0CB4Cvwj7z0hnHij0STmAjwJgRCugySr4oETx5H32xT2kSrEb61RcXgYNbhXoxTWU8fIPEWk8ftNAH1sOJoQovdvKYQziG0Q= 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 DB7PR04MB4393.eurprd04.prod.outlook.com (2603:10a6:5:32::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.15; Fri, 22 Apr 2022 03:51:44 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::8cf1:93b:c340:3be2]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::8cf1:93b:c340:3be2%7]) with mapi id 15.20.5186.015; Fri, 22 Apr 2022 03:51:44 +0000 From: Gagandeep Singh To: gakhil@marvell.com, dev@dpdk.org Cc: Gagandeep Singh Subject: [PATCH 06/14] crypto/dpaa_sec: replace use of old build macros Date: Fri, 22 Apr 2022 09:20:52 +0530 Message-Id: <20220422035100.3180870-6-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220422035100.3180870-1-g.singh@nxp.com> References: <20220422035100.3180870-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR03CA0127.apcprd03.prod.outlook.com (2603:1096:4:91::31) 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: 29e3bcc1-001c-46bd-f25c-08da24136a7c X-MS-TrafficTypeDiagnostic: DB7PR04MB4393: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: pHBNj2L+TASAJ2o7EqT9hylxVo1D1rHLeO+axQcJfdOscT8AIKzhUTrC6JzOM2Qs3RGt7SoMN4t0X4hAPsVzHTGH69ixbBTnE1ZO9Fyok7/1Ap4+wEwkEwNOKAJbYQgZ1F5Lu7h+jip9FjPyg67JHcXNw/uvwxn8XoM7lrZx+uS0N6psnJo7+xtxV3vvxsND85c84MUg6NtuLxLkP99U2mw8Y9VeWbKX+3foEDHZwQb3QUx3u09Ttz3f01oCkDNxTcRlY+be2ORiWM/7pMrWnCYZQd0ynKlyfkpnBbS5X/6+tkothkhE/kfF86FjvByW5ELI+M/rIhDXGlyWLpbj3HvKaipVmgqdo9vqxdm7wWTpASxt+fqnVPmhHUokvRg0Jg2W2ambRJVGvjkATHXADbkmvNAgGcADGdmG69Gty5nsKZaMhK7lw0Vu9AlLABr5jfDk/lERtSFZELIUNWZQQuhqHuKI+bzS2aC6pL4B6pmKmX8wpWal6SDiuwnCV513FDSFngIkFZWE6hq0Q/Vhbrw7SUQXn6zBN7o79q1sAFJHPZ3iQdK3hV2lymaUIApbfBRgItXmvPSzum05eI+TUQyV1PlM/IRn9MfJIa+/gSbks6dPUqPpbIhpVGmh3NEPUPVMCNviPTEM9PlaCGQFvpxboXopps56IIjkQNh/tiJj0RBD5iQAjXZGo3z3yDFIDyhBC2Qg/BBEq4PzK0WQzg== 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)(5660300002)(36756003)(2616005)(6486002)(1076003)(8936002)(86362001)(316002)(52116002)(66946007)(26005)(6506007)(6512007)(186003)(66556008)(6666004)(66476007)(83380400001)(38350700002)(38100700002)(508600001)(4326008)(55236004)(2906002)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ZQBpSliZpJaDOQemIWbhQI13EedBHov+m0ndPl78wYC4mYIShrmifudXxCdf?= =?us-ascii?Q?Y463t37/PKvC1VGKzJuUtSi3GAPGg3LO+VqB0nLfcCyKLxOSSfP1vhchAg5C?= =?us-ascii?Q?Qfub5oRqbvhH3ZfHnPT/n6VqJ6ca2n80hYpAQV96YSQkLimgUXZSY5RXA5SV?= =?us-ascii?Q?J+1j2VO02IxKHElMnYBAQ80LaMcZJm5MJ8UT4/qsr1E2wk/4T96bP1MKREAy?= =?us-ascii?Q?mPKcRzp8dWipp+IZV/sMF05AyThzPea00xKDIrQmYzzrPUnYIqB0oiYL+F6W?= =?us-ascii?Q?wURFHlbEsMXaxA5Ek2NuCR0XxYfaossPWRI+o5mOGTVFOkyaczvDz72FBDOS?= =?us-ascii?Q?BQVRBLL89FBeBrgZ0KdFeu33/XvgKcpLQ1rJN4zwccNilbUiVw7TJdNa44L1?= =?us-ascii?Q?bFcrXmde3a8tLcwjoSxjxHri6MbaGql7H1DvbNXdxFNZf++NSSNmSrJQrfmx?= =?us-ascii?Q?XbFUNvb0TP/mLBvFUaunSFjemF+c0PBhfYR3kfrkavLNuizGmGkb2Pev3nqN?= =?us-ascii?Q?8Xt9kY2fRF2+JOZ0zb/TGJ+vtUb6pPK8fcPx4FPPui/MA9nml88KU6Kssj12?= =?us-ascii?Q?J8+JGwC9NToXmRzwMfjDKvPXObUOEKLpPOlIfV5E8RnShogM959oY5i6aMiD?= =?us-ascii?Q?G2dbQI6cswOBy4em6vv5V5l2jCzSe0uSjxihcY90qyBQIZqQElQlB9rL0vF4?= =?us-ascii?Q?buddQXgI91KpEetAYDMc0VvrYrNE9ULtijo/RnlUM8KtvU+AL4e8FABwCASO?= =?us-ascii?Q?9qax/3J1ZxEAGla1nwRk8EJKlNTfTHWEmDxbFatuL3BEsjCFqfkI0mrwltqK?= =?us-ascii?Q?iSV0v3WKN7lGgLRKN6iIlHRBF86nIvbh36v+J+WOC+AuWfxCAlx1vsjowacC?= =?us-ascii?Q?j7WoQblKBTi3bnKt0+A6qfLImfsACZQfnsVcDbYDuWi1zCO3qfJE+9T+quku?= =?us-ascii?Q?yuRiQz3UQqDCurgbAkkemJWZo0aFkkccCt/grvebpv+8mi9xY89w6qhvWq7q?= =?us-ascii?Q?WDD/wvAqWloj5PfZOAonlZMSZ9pLaosYX2w/e41tExKI/aX1EWsLX67+F9sr?= =?us-ascii?Q?fijPqUfDj/pdtj4CJqhKCiGVI6y+pu0neWaEg8VrRONdU7sk0dhO4ywk+yDD?= =?us-ascii?Q?D+5XOPa9clpAjQU15QtvrJGn39n2toHE6658AaDhRvZDBU1k9HZg3NpwPX0G?= =?us-ascii?Q?JTtFb9Q3q47+zzkjlyC4K8+FmDL5MmUYTK0Iyb+SyBCf4wa0kJBVs0evxeDW?= =?us-ascii?Q?wiNts8bupfPvrc2SUwelLbZOfEgAoRJuF/Ypi4jUT5LGhr1Ct+6E/G/y/SBY?= =?us-ascii?Q?42NXcOtMrX3tAILCRcIqEwEpZXNLYDBEnwjC3DP4RKICPZI4R/oIPIMTJ97l?= =?us-ascii?Q?EptUGDA0Jnfoyop9JhfXmQfvTjztLpu039AfTpqnAyKLeWJ5Qms75l1/V9mv?= =?us-ascii?Q?EOsWOY3H3PYzCvWYwpAhcz0+9upMHADupzVzPxvC/NG4ANy5iTvy838uNz1T?= =?us-ascii?Q?O5Cs4lKFGdRtDhKqH0eWcHsafGpQt+RcHHpr+zPk3FkRw/pvgqAJEyK+evNs?= =?us-ascii?Q?1wrtjFah6XUaBKZ4p20/+0U7ExJf6VxK95XTvdtzYoBfkEj7DpjUsx9jpDQL?= =?us-ascii?Q?6I5KBqGnxoNCwSMRX5YaNxCYj+qhQL/cFrPTffz5IH7SUY3a1cVbpsw+Usmr?= =?us-ascii?Q?ihn9sYqmrsB1vnDSLG04Q2oBodN1iSh+Mbhs4GiG7Vntyv+wk8H87wGo1HaE?= =?us-ascii?Q?3MgcU57abA=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29e3bcc1-001c-46bd-f25c-08da24136a7c X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2022 03:51:44.0272 (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: 4dUcelGMEQlgPIPqy7xfTOIS+SLN7JnNn6CNF5oqZtT1LwS2tJa3dPXI5v8gP9Ao X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4393 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