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 A5C12A0548 for ; Sun, 28 Nov 2021 15:59:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A05C942746; Sun, 28 Nov 2021 15:59:38 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2070.outbound.protection.outlook.com [40.107.92.70]) by mails.dpdk.org (Postfix) with ESMTP id 4C39A40E5A for ; Sun, 28 Nov 2021 15:59:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jea2R2fY3xlQVG4uw9CdAW81zwgshNWIW5dH4i78WgL4jNU8yq3+LxrrEDuqgi25YkAerqJ9EKdhNFHABKxvkkKrtKnILSfTUs/6/34DhZAwJZIY3rb/rW8GND5wNExdA2cEByq+7jXwsjNiKTIrJIna6ViPVeXaluH+mrccXG34cIJM1HLZFMWY4bnlX+103k/wIvMtFy0z7d+50JWLLiXmGA5vFM7E6qWQy46yiXIpQ3a1jwfFDZUqQRxKr2tfF1xizsPs+1piZmcNsl8OAdoYa3ZwsZtr3UX/gavbBj8wFbKPgt6Y+evStTUSTk7ao0iA8Xzyv8LHwuWr4B+luQ== 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=gSmfC4Rx8Lvmd3vr3kM93M9BW0p2EXp+Yq8P69D15Lo=; b=VZU2H9af6EWFxw23/Ik3+zl/eL8Y13OmnMrqotYOvNKTCAlWd5hdtFkAwplDW5hkHrqFdreQeAOALsOUQHlP9pKi/11SClNbyPFheTsyzvJNODdsytqEJ6S/sh2Sbw8NBD6kr1cUe2UEEiVt3RuSDPOg8odR1+xhVcSX3XMjXM9tVvny3hRKZz6NU9Ipm50ljXe8XgGnLDajSzB8P/M0YibAda7ZkbeHu4TJndifH0gLLNwa0D+O9M4AUXx6JGYFyFXMrzOVQ9yJFc+4J2OUeHBE2x9q8W4Em3H/lNrL+23s1CwcgRWVa0VmbvqZ2ssq2fH0hFQAsYrXoJ/MvO6pww== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org 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=gSmfC4Rx8Lvmd3vr3kM93M9BW0p2EXp+Yq8P69D15Lo=; b=T+9FTRR5rhq8+EaU6YmcrP2C3JES5Uu9I6BlTqUebY6EGjKCI8ayXqpDkqLp7Lo3anwnJSUwYwnZlqWzIDPrOuLBpgJlyF3kvemGsRc7LtTnBTUWlO/5x2rogd2zf4Hs7mB54n3K+CRuQMBxEUTKG0+be6KdCFlW0BBdEWrLSzvFlTMTLXHUrqV01UdTWbGTu5Ru86aeZ5rnlmuMUtpvX5DciuopN7iXTP/cm3yDCanEGsHuOLjNKQZbRi/V9SJqP1ZlLG1Xb8LClz5XbkeBceoVG9mNKQsA2xWLYvbm7yUPDlSWyvjZ7+9tf78uc1Bz5ZI/ic/wdGxwO7T8VosKPQ== Received: from BN9PR03CA0741.namprd03.prod.outlook.com (2603:10b6:408:110::26) by CH2PR12MB4119.namprd12.prod.outlook.com (2603:10b6:610:aa::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.25; Sun, 28 Nov 2021 14:59:31 +0000 Received: from BN8NAM11FT004.eop-nam11.prod.protection.outlook.com (2603:10b6:408:110:cafe::53) by BN9PR03CA0741.outlook.office365.com (2603:10b6:408:110::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23 via Frontend Transport; Sun, 28 Nov 2021 14:59:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) 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.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 BN8NAM11FT004.mail.protection.outlook.com (10.13.176.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4734.22 via Frontend Transport; Sun, 28 Nov 2021 14:59:31 +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; Sun, 28 Nov 2021 14:59:25 +0000 From: Xueming Li To: David Marchand CC: Luca Boccassi , dpdk stable Subject: patch 'examples/ntb: fix build dependency' has been queued to stable release 20.11.4 Date: Sun, 28 Nov 2021 22:53:44 +0800 Message-ID: <20211128145423.3974892-41-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211128145423.3974892-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> <20211128145423.3974892-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: 0a3ae374-5fcd-4d80-b39c-08d9b27faf0d X-MS-TrafficTypeDiagnostic: CH2PR12MB4119: 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: 3xiYueNSB/GocNwyt3a77zbHzs2dEDuG3tPUoLp14XS7PfJGmS5JQ9olv+Dbtu7YC73C6BhtdcHsoeNCwt0/tQWN06DnwQNQ3plv8wLr1w9dFTviFAxVyVgXMsTQ7O8101F0jUAeHYm+rLtzqxO4Gppg7d3nc/tpwUjXCZDebmeccrHTqrJWjdSUqPCck+vVr0Bc6RzAsZI5XcUBFoylyoKni93mlBIVh4s1PzXUE/rYoRuFhlD9tf9pZyq3aquHUbGxLgsx2BW8Qq61uehery1NnUnC5qVzG3iP0xJW8U1BQaWQRoZYi09geP/35/UvDeZpMP0WOPy2MEWV9IVeLvjIvxuQyQQtysQZGodiKpaTlPs3d2d4ZYkMpEdCK32klfuAwlj2zXekJXeXcsST6CBOLoLFZLq+yhzmARQfuV/b9C2vaP+bV9TRFx0KCxeDBHlkXTGYhHYCaXYGqfBommmfT7BQOixkRl1GgfKwGqAGm3L/+lIR+2/GFPKP1xwf3jAtw9tQo9JanEBM4mUdJ6sHHZMbUBw6/yit8NPH9Ff5fLMl0wLOT7eK0Ab3ZRbYP603sw8oXwjOFo2hjP87LIv3NLhmaIyj52KhONdiPcAeju0JrZwxmOpoxBeXfEAQqO0bib6mYZ6+LQXE7JxLjUSAAb+sbbXeBCX8d2W3DhQtzCf+VbQc3fMxUlDD357ghKmVD4L5C0gcdFN8h9YeIkBmW1FJwT2OjUFhw/YFFR7Q9R3nnzNzQtctDNzIBYiIN8wPukpF9Emse9vEK/FA5nE2KO+FVgwkrY7+bII2X6YCEjjbE3wxdGL9hEGjfn7X2lCYGOfjF8hUeDvEN4v6Tg== 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)(6916009)(36860700001)(83380400001)(1076003)(55016003)(8936002)(6666004)(336012)(4001150100001)(4326008)(5660300002)(53546011)(7696005)(26005)(36756003)(426003)(2906002)(966005)(82310400004)(86362001)(2616005)(186003)(70206006)(70586007)(8676002)(47076005)(316002)(508600001)(356005)(16526019)(6286002)(7636003)(54906003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2021 14:59:31.5448 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0a3ae374-5fcd-4d80-b39c-08d9b27faf0d 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: BN8NAM11FT004.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4119 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 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/30/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/55935076628619db56dcafd2c726110e246e8411 Thanks. Xueming Li --- >From 55935076628619db56dcafd2c726110e246e8411 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Tue, 16 Nov 2021 21:51:35 +0100 Subject: [PATCH] examples/ntb: fix build dependency Cc: Xueming Li [ upstream commit 2c7302145c0405b056850382731e5352d44f7d64 ] Caught while building with -Ddisable_drivers=*/*. This example requires raw/ntb specific API. Fix dependency to avoid a compilation error: FAILED: examples/c590b3c@@dpdk-ntb@exe/ntb_ntb_fwd.c.o ccache gcc -Iexamples/c590b3c@@dpdk-ntb@exe -Iexamples -I../examples -Iexamples/ntb -I../examples/ntb -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/rawdev -I../lib/rawdev -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -march=corei7 -Wno-format-truncation -D_FILE_OFFSET_BITS=64 -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-ntb@exe/ntb_ntb_fwd.c.o' -MF 'examples/c590b3c@@dpdk-ntb@exe/ntb_ntb_fwd.c.o.d' -o 'examples/c590b3c@@dpdk-ntb@exe/ntb_ntb_fwd.c.o' -c ../examples/ntb/ntb_fwd.c ../examples/ntb/ntb_fwd.c:21:10: fatal error: rte_pmd_ntb.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. Fixes: 5194299d6ef5 ("examples/ntb: support more functions") Signed-off-by: David Marchand --- examples/ntb/meson.build | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/ntb/meson.build b/examples/ntb/meson.build index 02be9fc80d..3da983badb 100644 --- a/examples/ntb/meson.build +++ b/examples/ntb/meson.build @@ -12,11 +12,8 @@ if not is_linux subdir_done() endif -deps += 'rawdev' +deps += ['rawdev', 'raw_ntb'] cflags += ['-D_FILE_OFFSET_BITS=64'] sources = files( 'ntb_fwd.c' ) -if dpdk_conf.has('RTE_RAW_NTB') - deps += 'raw_ntb' -endif -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-28 22:41:05.444645244 +0800 +++ 0040-examples-ntb-fix-build-dependency.patch 2021-11-28 22:41:03.323540920 +0800 @@ -1 +1 @@ -From 2c7302145c0405b056850382731e5352d44f7d64 Mon Sep 17 00:00:00 2001 +From 55935076628619db56dcafd2c726110e246e8411 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 2c7302145c0405b056850382731e5352d44f7d64 ] @@ -42 +44,0 @@ -Cc: stable@dpdk.org @@ -50 +52 @@ -index 37899dfeb6..18eaffdf21 100644 +index 02be9fc80d..3da983badb 100644 @@ -54 +56 @@ - subdir_done() + subdir_done() @@ -61 +63 @@ - 'ntb_fwd.c', + 'ntb_fwd.c' @@ -64 +66 @@ -- deps += 'raw_ntb' +- deps += 'raw_ntb'