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 39752431D5 for ; Sun, 22 Oct 2023 16:27:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 338EF402D8; Sun, 22 Oct 2023 16:27:49 +0200 (CEST) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2071.outbound.protection.outlook.com [40.107.100.71]) by mails.dpdk.org (Postfix) with ESMTP id 60E0F402C5 for ; Sun, 22 Oct 2023 16:27:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O/0xIGlAjQdFEE89CGFVAf1y3xP4KoiY+CCcJjAZNXtWiO24V0jQsCjSeA2XZ97rfGsCmh/9OMg2/lWZVWzAn8+3A/Df0FJ7a7GztKCFI0J4kNlgG99yEQvGJtnlBEmFb6kfpZi9oO+/d0THMLKSodmNjNBxFV34SUWSZKYngRkXCM/8pUU2Ay3s8hVJs7bZvGVBrVcNlIexpUyg9D6f4Mqhu/2BSe3ZyiT1Lp0iXDnU+l49ZDb1yJPzlLw/OWG3N9R03NvSfud8kVZiZ7nJPjB/OnLD/bKCLoUiKNerMNbUMzzpaU3xPdlFRpry55nctqW0vuahXR68y4Rne/oJnA== 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=6l9N/mtqS9ev+ZmEeVIqRmpj7XGSnXp1Fwh/zgn7q0U=; b=N5MvS/ihBxD+S3HLHOl3qPVfYtwj1H3fTALjHuIi4ijgHM+/Eyl0NRIHw+OalAzneG4U6aL/lVONAe+zo8BWXJ2TINg+E/mGmiZEeUNCzZ8nlnVYII5al3hAC9cAIRFksbJHaBUU1WQuRr8EYog3rKGs5QcNhNZQrQRRF/DiO3fBU32ddKwpca+7xnGIU+XeLCWxTwhk21oCMPCMG7Mo3sCfo9E6iIE6TbEL5zTnPzxXQ1Dh7BzU7xHHwRjiAXYaoSEIHkDUrqrp/8G94+ouq3Vk/voqAwSFfoxUlFqMdpwvyqQsjnpnRd53FcTgcb/P5OIBh4f5+9fqGnai+K3Osg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6l9N/mtqS9ev+ZmEeVIqRmpj7XGSnXp1Fwh/zgn7q0U=; b=G3/hZK7dQk1+hzFPgo/4Wpx0YC4uWVG2Wc4+wrt4Ni2q1Y/V05/B8YvqyFQX1vU77rwEE6eLVIPnUytreBpG7C6plzXBbjk1OdrFzrIl//W/LhNb+aO3D6Idjgij1HrNDXkgQWjjfijmN2dLV0xq3Dcqp9MkBoPr6xmCJ9bHhvwQWxHQSGax16J5S5+SaVFzrKzZBbTmUW3LkeytxcMwIiDYJ/bZ+wPVPv1snoJBGc2e3atXNdD4YHhcM8DhDlfNXwcNOXJ/rAtdRIv2ZphdqRg6pn6ABebp1MhGGeTP1NH/iXYAJnCM9shazvcmU2EG2DOZEwPqeGHMCaCuklWpXw== Received: from SJ0PR03CA0390.namprd03.prod.outlook.com (2603:10b6:a03:3a1::35) by DS7PR12MB5815.namprd12.prod.outlook.com (2603:10b6:8:77::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Sun, 22 Oct 2023 14:27:44 +0000 Received: from CO1PEPF000044F5.namprd05.prod.outlook.com (2603:10b6:a03:3a1:cafe::28) by SJ0PR03CA0390.outlook.office365.com (2603:10b6:a03:3a1::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.33 via Frontend Transport; Sun, 22 Oct 2023 14:27:44 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CO1PEPF000044F5.mail.protection.outlook.com (10.167.241.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.15 via Frontend Transport; Sun, 22 Oct 2023 14:27:44 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Sun, 22 Oct 2023 07:27:33 -0700 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Sun, 22 Oct 2023 07:27:31 -0700 From: Xueming Li To: Bruce Richardson CC: Ciara Power , dpdk stable Subject: patch 'crypto/ipsec_mb: add dependency check for cross build' has been queued to stable release 22.11.4 Date: Sun, 22 Oct 2023 22:21:19 +0800 Message-ID: <20231022142250.10324-51-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231022142250.10324-1-xuemingl@nvidia.com> References: <20231022142250.10324-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000044F5:EE_|DS7PR12MB5815:EE_ X-MS-Office365-Filtering-Correlation-Id: f555c845-0580-48d7-b5d1-08dbd30b0e76 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nB0AUkeZVUU41fvJ/bpvphkEa7Yu27BDRguKVncr/VFwLnXYmaQSLOZe0t6fxFwDUvna6r5rqxAz+gL3q33AxNLpCKjHqiTr7m5ozL7mN3lxygyVXcaexi849wWxe8bhSkUfMmXI0Dj7gcx1kxjtnAYZz9O+iZEtKDgaOxNGJrpX+LGzA9G3yllk1HcVxB18QSjD0LttTgGuQc5C+LvDZZsR01ra0rlXD1sQtxscIl7UVSCoBhRUR4j0zVQcIw+XmB24/ohatkEcDLObaoGIxeawtfvf2NuPkqChzHhCOQqg1JaXyJ63wYzag9gz6AGGdn8QETPa0rCMNflW/+w43GS1xkeBVNWpkaIaue6DAFuYiLsR+w9Scr8xOMBxW947KnkmDxsMBFt7ypx2TtE8ko1Zj5zRyyOwm/Yr/9ugYP0O4RD7SyYf4sKSCSe4SaJweBjeCuvxbgorFpZYA2S121OZsG7dL93EbxJZ7u4gM+V4q3dGJhHiBmUJyZ61wShTCbxX/F260LarN8ONSBr0uO8G1BlvNydVHsIt6HwLl1UlyvbGxF3jbeXvT2CR9JhUfjaoP9gSI3AYaDMIu0oRCkuLyYj/PF4AU11FLHaGWnbW/zXBSl4EP8Wb/VZxPjbHEyi5aa/qdswFI9LSBxSvYNM+CY7T3NXiEG8ZQsfrtlTHPyCtG7VIaFkgchw4iR5u6qDtTFvsXOzYVJkD08fmGgnqQPlFormqKeyIw2Btn9R2LP8m5R8V2P1wVmaQP2mum7RWP3kiVx6yHspqGtSjh/ogHMIW2AJYghjpdMYSLSg= X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(4636009)(136003)(396003)(39860400002)(376002)(346002)(230922051799003)(64100799003)(186009)(1800799009)(82310400011)(451199024)(36840700001)(40470700004)(46966006)(55016003)(40460700003)(86362001)(36756003)(4001150100001)(2906002)(4326008)(5660300002)(41300700001)(47076005)(336012)(7696005)(83380400001)(426003)(16526019)(6286002)(356005)(7636003)(1076003)(36860700001)(2616005)(26005)(53546011)(82740400003)(40480700001)(6666004)(8676002)(478600001)(966005)(316002)(70586007)(70206006)(54906003)(8936002)(6916009); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2023 14:27:44.3037 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f555c845-0580-48d7-b5d1-08dbd30b0e76 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1PEPF000044F5.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5815 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/15/23. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=f150a45b651ba38df3cbac2601379c2d0b80ee79 Thanks. Xueming Li --- >From f150a45b651ba38df3cbac2601379c2d0b80ee79 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Thu, 31 Aug 2023 13:10:57 +0100 Subject: [PATCH] crypto/ipsec_mb: add dependency check for cross build Cc: Xueming Li [ upstream commit fb94d8243894524316d872c8299b9e793832d991 ] When cross-compiling for PowerPC on Ubuntu, the x86 IPSec_MB library was getting found by the build system for use in the PPC build. This led to failures at compile time due to the library not being linkable. We can avoid these failures by checking the discovered library for compatibility at configuration time. This needs a version check as it is supported only from version 0.60 of meson onwards. Fixes: c75542ae4200 ("crypto/ipsec_mb: introduce IPsec_mb framework") Signed-off-by: Bruce Richardson Acked-by: Ciara Power --- drivers/crypto/ipsec_mb/meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/crypto/ipsec_mb/meson.build b/drivers/crypto/ipsec_mb/meson.build index ec147d2110..4100d921ff 100644 --- a/drivers/crypto/ipsec_mb/meson.build +++ b/drivers/crypto/ipsec_mb/meson.build @@ -16,6 +16,11 @@ lib = cc.find_library('IPSec_MB', required: false) if not lib.found() build = false reason = 'missing dependency, "libIPSec_MB"' +# if the lib is found, check it's the right format +elif meson.version().version_compare('>=0.60') and not cc.links( + 'int main(void) {return 0;}', dependencies: lib) + build = false + reason = 'incompatible dependency, "libIPSec_MB"' else ext_deps += lib -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-10-22 22:17:36.283422000 +0800 +++ 0050-crypto-ipsec_mb-add-dependency-check-for-cross-build.patch 2023-10-22 22:17:34.266723700 +0800 @@ -1 +1 @@ -From fb94d8243894524316d872c8299b9e793832d991 Mon Sep 17 00:00:00 2001 +From f150a45b651ba38df3cbac2601379c2d0b80ee79 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit fb94d8243894524316d872c8299b9e793832d991 ] @@ -15 +17,0 @@ -Cc: stable@dpdk.org @@ -24 +26 @@ -index 3057e6fd10..87bf965554 100644 +index ec147d2110..4100d921ff 100644