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 A8D46A034F for ; Wed, 10 Nov 2021 07:43:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D9C14014D; Wed, 10 Nov 2021 07:43:45 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2074.outbound.protection.outlook.com [40.107.223.74]) by mails.dpdk.org (Postfix) with ESMTP id 205C74014D for ; Wed, 10 Nov 2021 07:43:44 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JIzoY/Q2u+qKv9MBmJiJQiGohP5lHUcI2ZSPjIUo4W09KBN4akIL+mjJx4WoaJuRNBBowzMkAE3NIrdKA+Ov9z/mVGfb82NNzCIDMF1YjJQGmnfLe3wTBIAjVbDYXYKoRpvwF4BsH3mshOUjh2Vo2wLzWVs441CHeOVoEg6chSVL0t0POuKOcJbJiVXUFtdNStgGr/6VEjDK8yMTfBzzaG8/vydP65kpEBC6Jp+F9/uwqjwGK8x7vGSya3UOo+iuS0/MUaDnNK2PMbVn3q5HnBkJP8d4EGZF2UbXu4FFxN36SjNwxPYcR7Dz3nOSzHcCapC+q6yDwxAA8mtp7wipYQ== 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=Sajabdq6i3DVvvY1f12IwX7hZHCFdahwih6HbvR6wL4=; b=UcOCKm4xnT51SUYroWla4cO0ocg62n6SuoxxjlcvFR34fwaFvfoE2wyrrTrvb7yE/E1UJM2kmocikqyQsXARvZlX5z95wEJMct6Pd1VApEpSe4aCUwRpnLaH2KylXCDq+0/LqGo07PjdLvm2H6adsS24EPmxa6z3xiuII6kjSqwkyTHXct3qDnxtkId0WhfCH+5COuwqYCyNdycwx8bVTcHzTxOQS3vz/050P9IHj4wSC60YHT0oYOMbJ/kUQSMzDTlgeCXJyomuFXsM4lE0eTVKgHipZjgHmGchSH/ABh74wI8Ug4GIh71FdlFIaS2q+nmkcIiLzBhRdvTW8IbwwQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=Sajabdq6i3DVvvY1f12IwX7hZHCFdahwih6HbvR6wL4=; b=if6GODdN7j7q0hKwbchWgQwBO/k9EQPTwFgVeIAKixAhf1R2/AqHmYY2dMA3tlvOcrRyvE3qd5NnhKc0e1ikEEKpzUS+M3TcfNYffOgt5JHrfkdeJx07CZ68Dp8Pi8iFrZRsoyyxf7TZXW24aQvF0wbqa+auKskOcDM8Wq7+W1zMEFxNyjuKlfZwPD2y7iu40yx2SdtSQ6cCZsAmbG1JE/z7AckNEeRB2R09FBYFULMBapHAw1b27364FndB6HoqwhGUwqZD3Bxcu1blpXASF37Mg0wSAiYG/6LIcIj2TEurl2tuwQpLvqzm9RmOVj6mhTaOA4EPtMtziG351CFMMA== Received: from DM6PR06CA0086.namprd06.prod.outlook.com (2603:10b6:5:336::19) by DM5PR12MB1210.namprd12.prod.outlook.com (2603:10b6:3:75::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11; Wed, 10 Nov 2021 06:43:42 +0000 Received: from DM6NAM11FT004.eop-nam11.prod.protection.outlook.com (2603:10b6:5:336:cafe::2c) by DM6PR06CA0086.outlook.office365.com (2603:10b6:5:336::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Wed, 10 Nov 2021 06:43:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT004.mail.protection.outlook.com (10.13.172.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Wed, 10 Nov 2021 06:43:41 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:43:40 +0000 From: Xueming Li To: Mohamad Noor Alim Hussin CC: Luca Boccassi , Tianfei Zhang , Bruce Richardson , dpdk stable Date: Wed, 10 Nov 2021 14:29:48 +0800 Message-ID: <20211110063216.2744012-105-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 39f5236b-07b0-45f3-cb46-08d9a4156f6f X-MS-TrafficTypeDiagnostic: DM5PR12MB1210: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6matUxVe1XxxncMuF9ltLDAyvtWfeGIuIHwEcf8hw4Idokbqa421d2DB+8DN3lZ8ZszZCtU57U9FWDBNc9pIaC+O1eUpsZlh7FIs3YvBXRrQ7UvSQoCZYA4K8XbXpBpyPVlKZ3/0KREi9LaOsDEM7WlUc8IHTUA4aB8pMOJK2bzXMeM9XYTbzH0xzb8fAKQH/5nl9y8asndhOpGWXp9gqKxlSqTrLhkKqOCY8Pbpc6OuXREdD80iHCk/9aIruUQYGA6PQULtGGalkzmk3eNKnU0P0gJ5GguO3ddPql/9aFyFtLPxkJ6KOs+R66Kckd+qO8IEuZ1q5DqCSZTAkz+spA1wryAM9SgMFU9yCNEqw1Z1y51HM7XwUi1slGov3fGvA4kIQOl7IuDo7yBOJqtEeJ7NW/kDKvdVWrrEzr76iFdqW7aY3wFKxNGbuteP2g2gtRrf5sv9EZbYI4gaYHLMUDqibHWS9HhWkpKdzpgGfTDhQv9DnA3Eokgz5jdXghMAlm4Bpd7SiJQELnDZho1ObH/uyhy5Tv510cR1JNGCOg9oxZ6geQcQFqPRqFcg+R+JDFQD9viu1Xl05e2ndZIsuckXFie6Q/bdT8Lw0EsowePVN3h+JlmvlizMm7x8dBuaGNGQKsF19FVFTw2JG/mztlWsPY+MZuMSR1L2h31dv7fV2zabGppwS4JK591CyvHaZJyBS5p28v8fpltk7n0g+nzsG3YHJC/raLZRdOmky21CSqXBtxOFUkRBWz+k0ho75vHuMDn/+4L2w9o4sNSvqjJRcxi4uqkJv6JXyjWNWvfPEfxpl6P9G4IfjiQL90cdzRFR1+Sv/DP7dR4FsPVCrQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(426003)(36860700001)(2906002)(356005)(508600001)(6916009)(6286002)(53546011)(316002)(7696005)(8936002)(2616005)(966005)(55016002)(47076005)(86362001)(336012)(70206006)(8676002)(36756003)(26005)(54906003)(186003)(82310400003)(4326008)(5660300002)(7636003)(70586007)(4001150100001)(16526019)(1076003)(83380400001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:43:41.9172 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 39f5236b-07b0-45f3-cb46-08d9a4156f6f X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT004.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1210 Subject: [dpdk-stable] patch 'raw/ifpga/base: fix linking with librt' has been queued to stable release 20.11.4 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.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/12/21. 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://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/a7bb99fc8602421e9ba3d527d2640b4e8ed25776 Thanks. Xueming Li --- >From a7bb99fc8602421e9ba3d527d2640b4e8ed25776 Mon Sep 17 00:00:00 2001 From: Mohamad Noor Alim Hussin Date: Tue, 28 Sep 2021 12:36:10 +0800 Subject: [PATCH] raw/ifpga/base: fix linking with librt Cc: Xueming Li [ upstream commit 829c5946b55f569e56df399b94ab51c473f6696e ] Finding with "librt" keyword would give the output with full path of librt such as /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/librt.so instead of -lrt in libdpdk.pc pkg-config file. Assume find_library() will prepend "lib", thus remove "lib" from "librt" keyword. The output will shows as -lrt. This will cause an issue when compile DPDK app with static library as the path of librt has been hard-coded in the libdpdk.pc file. Fixes: e41856b515ce ("raw/ifpga/base: enhance driver reliability in multi-process") Signed-off-by: Mohamad Noor Alim Hussin Acked-by: Tianfei Zhang Acked-by: Bruce Richardson --- drivers/raw/ifpga/base/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/raw/ifpga/base/meson.build b/drivers/raw/ifpga/base/meson.build index da2d6e33ca..949f7f1271 100644 --- a/drivers/raw/ifpga/base/meson.build +++ b/drivers/raw/ifpga/base/meson.build @@ -25,7 +25,7 @@ sources = [ rtdep = dependency('librt', required: false) if not rtdep.found() - rtdep = cc.find_library('librt', required: false) + rtdep = cc.find_library('rt', required: false) endif if not rtdep.found() build = false -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:06.618084008 +0800 +++ 0104-raw-ifpga-base-fix-linking-with-librt.patch 2021-11-10 14:17:01.864079479 +0800 @@ -1 +1 @@ -From 829c5946b55f569e56df399b94ab51c473f6696e Mon Sep 17 00:00:00 2001 +From a7bb99fc8602421e9ba3d527d2640b4e8ed25776 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 829c5946b55f569e56df399b94ab51c473f6696e ] @@ -20 +22,0 @@ -Cc: stable@dpdk.org @@ -30 +32 @@ -index db602cee69..2de8e7ea22 100644 +index da2d6e33ca..949f7f1271 100644 @@ -33 +35 @@ -@@ -27,7 +27,7 @@ sources = [ +@@ -25,7 +25,7 @@ sources = [ @@ -37,2 +39,2 @@ -- rtdep = cc.find_library('librt', required: false) -+ rtdep = cc.find_library('rt', required: false) +- rtdep = cc.find_library('librt', required: false) ++ rtdep = cc.find_library('rt', required: false) @@ -41 +43 @@ - build = false + build = false