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 2B9D2A00C5 for ; Wed, 20 Jul 2022 10:25:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 26CC940697; Wed, 20 Jul 2022 10:25:33 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2071.outbound.protection.outlook.com [40.107.237.71]) by mails.dpdk.org (Postfix) with ESMTP id 5D4644003C for ; Wed, 20 Jul 2022 10:25:32 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eopcsf6UfFnWe4mUnrZEK5sWjh0u1GpedY+pNoca4QscZenQ8tRMvvW4SGD3S6dhvsTUZd7pl/OORDbYMep1x9yLIosMmBhmoiWe/OAQBkqUGmo6pgDP9IfGk6OoxTfs3peJQTSbPoB4Rl5hKCnty8Rw5jo8Mb+Hnj03SuUtqBgE2FJvrs8oUE0QgsMGu42XstvkHg1hC3A2x8S3yGCDKifBbU0oVug7/UWLdEY1ocmcF4l77ADNnkZ7fB7kOSNHW81tVvN8PlX0EChLmZh5HGbD8PiQ9T2iMiUIG0F9BNTsZ79z49tA8lHEQJhKMQMO/WL1g5/fwkD3ZsfxzMXWtA== 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=zZUxu37fe2Y6X1uza0fKGuf5jpKyoGwW2kBZxpukCcQ=; b=eKx++nXqcuDlBVbQpZuSS1GpyLxLXgAJY+g/BvDvRYna5BipNNBA2Mt3Al86ONRfvfc9CXbaYQhTSeKxQ2JQ05fxuJntp18WMYL3hvrLPBLBHQgQP2aqBXsCXI7YtZkEpZEZTsfUdLkfNA1LAmcgQ8i+xgFwjhiAPZn23LH+OLp7DdknhGn8CkZR5i7AErC/pq4tNXIyKyIn9Q/ezbd0H3/o+8/0e6XkWmYocMdvm29OZX6UCjhBk9xtgAf1pAVd+XYaaqY8umFe/7SWaXhwXdkuKD5lk2MsxfZEaLFI8Ty2sQRnp1998O0HbCfluPKF5MQV42Gks59QcEObt+jDbQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.236) 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=zZUxu37fe2Y6X1uza0fKGuf5jpKyoGwW2kBZxpukCcQ=; b=tYLLReBhDTaP2Vj9xlPugKPAgY1pi6UgQqIuY1ajPiQZBxciPuCghfTwrIap1bGxWifgyEfPw2gbpaYC+ACEcJMmeyiH0xGVDrSPu1JU/PYxUd8LtjH5SBD0mD+3ceJhjvt1Ro3G8RJjCpmcEazHZ6CtMQYbJUyVYfji7gTkceKFLsHJOZJGoF0zW+US4zBIMoJ00b/8191bqUhV2iv43CyVeqv/zC2PsTsLUueH16L0nYnabTevetRTdGFNRICmZMZM3LqytvROoDj+MTRJLkU6hxsN/gAERl0A9vdRNvvsG3wC51XeyOWEHdEM0KBVw+JAFqby2C6eiDWXsGD58A== Received: from MW4PR04CA0381.namprd04.prod.outlook.com (2603:10b6:303:81::26) by CH0PR12MB5042.namprd12.prod.outlook.com (2603:10b6:610:e1::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.14; Wed, 20 Jul 2022 08:25:31 +0000 Received: from CO1NAM11FT024.eop-nam11.prod.protection.outlook.com (2603:10b6:303:81:cafe::5b) by MW4PR04CA0381.outlook.office365.com (2603:10b6:303:81::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.26 via Frontend Transport; Wed, 20 Jul 2022 08:25:30 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.236) 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 12.22.5.236 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.236; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.236) by CO1NAM11FT024.mail.protection.outlook.com (10.13.174.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5458.17 via Frontend Transport; Wed, 20 Jul 2022 08:25:30 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL109.nvidia.com (10.27.9.19) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Wed, 20 Jul 2022 08:25:29 +0000 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.26; Wed, 20 Jul 2022 01:25:27 -0700 From: Xueming Li To: CC: , =?UTF-8?q?Abdullah=20=C3=96mer=20Yama=C3=A7?= , Ferruh Yigit , "David Hunt" , dpdk stable Subject: patch 'examples/distributor: fix distributor on Rx core' has been queued to stable release 20.11.6 Date: Wed, 20 Jul 2022 11:21:10 +0300 Message-ID: <20220720082132.3954126-41-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220720082132.3954126-1-xuemingl@nvidia.com> References: <20220621080301.2315720-1-xuemingl@nvidia.com> <20220720082132.3954126-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 065db8a9-373c-4d27-f386-08da6a296876 X-MS-TrafficTypeDiagnostic: CH0PR12MB5042:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?B?aEpDdHhUUXdTT2duL0FNZU9PNGNhakVvTXZjMlFPOXlLNkxpRUpDcGtpT0Jy?= =?utf-8?B?ZnlVaEVPdDMrRkJ4Wmg2S2FtOXoyTUEyL281cC9IMnNMVzJVYzAzME5JaE8z?= =?utf-8?B?bktPUGVHVnhVWHBkbXJoWHRYaEI0OFJyN0FQaXQrZ21rYm5VZTU1anNKbDhu?= =?utf-8?B?enNTTS9jcjRMeFdCVjMxdGt1UnhRak5rK3NlcitnNjdzY3A3c0xzVTdlcXNW?= =?utf-8?B?S1dwaC83L3J3cWZGOTZqeFNGTHlUTU5mMWsvWVNvVE5hOWxmWjFqMVMxR2sx?= =?utf-8?B?ZTdTVHB5aGdEbnI4NjNrSlNveWJpTk12UnFhd0Uvelo3ZlBGN0FDYzFFMzV5?= =?utf-8?B?UE5XSVdjMTRxRkFObkpHWnFDdlduanozSDdrTEdVelVaVjkvZUtTVGFOZnc0?= =?utf-8?B?S1ZGeUY1STJkQXErdHBaQytaYWViRzROaUk1bEFRN3FpY2U5aURxNVIzaDZW?= =?utf-8?B?TUFKYTdRUGNWMFd4MzBFQzljRWt4U2VhVTJneWRFSW9VRnoxY2pBY1FIeGtl?= =?utf-8?B?M2VacGFzL2NINFlORHhGaXBsYzhVbkFqaGdWTVlTVlZWRWhSRTVYN1VER3Yr?= =?utf-8?B?SHNBclptckpKOUU2amNyRnJkcjVaczc0aHRWRHVoQ3JJN3BJNXFDYTBPSW9J?= =?utf-8?B?Q0s1UFB0NkJZSzI5cmV1MDR2cVcvTm5WQkU0M1ZBTU81K0R1ajNIbklQbGpx?= =?utf-8?B?M2krNHdIZS95WFBacCt0NStDc3FGODh4QklpcjdKbzVaUmZPWXRIU3l4b2xi?= =?utf-8?B?eUl2Tk9FZ1o0T1V1VE9RU1BlOFh2WjNmT0FIejBxaDRlNUdSYWs1OFhzTzZN?= =?utf-8?B?YnJXVURqSnR6elJPbjhaa0xWVkU3YUErYUM0Q3J2TnBnaWNsbjd3L3BLRDlk?= =?utf-8?B?VE9Qc3djUmFoL0FvMTBiV2J1Mk9KUDhWWnMwaU9qSDd0ckV5SHRESXBRcURC?= =?utf-8?B?OGdOdmRqZTl6UHl0VjhHRHBUa3VuYndYUEppWXh3MHYvaUJwcGZVSDdRREdx?= =?utf-8?B?WkNxQU9Lb0NCMFBJOFdVVzFjdmV4RnZPeXozVTRpSjNzSWFqSDY4dXJHa0lp?= =?utf-8?B?NVVCL0VKaTdEVGZVeGljS3ZBZm1TQmdYMmo4VWRGQk14QzdMcUZNOTc5Vkx5?= =?utf-8?B?WGRpbVgxL2tUa3g5YkdybnBTMTNPSitacFJOVXVad2pQVFp6emZmcklaS0or?= =?utf-8?B?VmFtcW5HUkNkKy9idjh6azB1WTFxZTRXNEFyM2VIQTkzL2g4ZVBPRWhSeFcr?= =?utf-8?B?bzl1eEl3S3NKa2hQc0pxTjRFRk1iS3QzSXNGYi9wUUM1QzFlR3VUNXI2K2ha?= =?utf-8?Q?C97ftblZSuP0c=3D?= X-Forefront-Antispam-Report: CIP:12.22.5.236; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(136003)(376002)(39860400002)(396003)(346002)(40470700004)(36840700001)(46966006)(81166007)(82310400005)(5660300002)(8936002)(36756003)(40480700001)(70206006)(54906003)(55016003)(2906002)(40460700003)(86362001)(8676002)(66574015)(47076005)(316002)(4326008)(336012)(70586007)(966005)(7696005)(41300700001)(16526019)(426003)(478600001)(109986005)(83380400001)(2616005)(26005)(82740400003)(53546011)(356005)(6286002)(36860700001)(6666004)(186003)(1076003)(266003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2022 08:25:30.3926 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 065db8a9-373c-4d27-f386-08da6a296876 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.236]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT024.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5042 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.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/22/22. 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/3f6c57b6a39e88569b9f69e257415c3b4ba10a9d Thanks. Xueming Li --- >From 3f6c57b6a39e88569b9f69e257415c3b4ba10a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abdullah=20=C3=96mer=20Yama=C3=A7?= Date: Mon, 20 Jun 2022 19:31:46 +0300 Subject: [PATCH] examples/distributor: fix distributor on Rx core MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Xueming Li [ upstream commit 29c1e90e65e9e1592b4a200afe8d2a7ff7a77742 ] This patch fixes the syntax error when using the single-core for both Rx and distributor functions. Fixes: 4a7f40c0ff9a ("examples/distributor: add dedicated core") Signed-off-by: Abdullah Ömer Yamaç Acked-by: Ferruh Yigit Tested-by: David Hunt --- examples/distributor/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/distributor/main.c b/examples/distributor/main.c index 9303a00d1b..96c0ac8046 100644 --- a/examples/distributor/main.c +++ b/examples/distributor/main.c @@ -265,8 +265,8 @@ lcore_rx(struct lcore_params *p) * packets are then send straight to the tx core. */ #if 0 - rte_distributor_process(d, bufs, nb_rx); - const uint16_t nb_ret = rte_distributor_returned_pktsd, + rte_distributor_process(p->d, bufs, nb_rx); + const uint16_t nb_ret = rte_distributor_returned_pkts(p->d, bufs, BURST_SIZE*2); app_stats.rx.returned_pkts += nb_ret; -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-20 15:01:00.672395530 +0800 +++ 0041-examples-distributor-fix-distributor-on-Rx-core.patch 2022-07-20 15:00:58.751000431 +0800 @@ -1 +1 @@ -From 29c1e90e65e9e1592b4a200afe8d2a7ff7a77742 Mon Sep 17 00:00:00 2001 +From 3f6c57b6a39e88569b9f69e257415c3b4ba10a9d Mon Sep 17 00:00:00 2001 @@ -8,0 +9,3 @@ +Cc: Xueming Li + +[ upstream commit 29c1e90e65e9e1592b4a200afe8d2a7ff7a77742 ] @@ -14 +16,0 @@ -Cc: stable@dpdk.org @@ -24 +26 @@ -index 02bf91f555..8995806b4e 100644 +index 9303a00d1b..96c0ac8046 100644 @@ -27 +29 @@ -@@ -261,8 +261,8 @@ lcore_rx(struct lcore_params *p) +@@ -265,8 +265,8 @@ lcore_rx(struct lcore_params *p)