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 20F6945E41 for ; Sat, 7 Dec 2024 09:05:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 16C2040281; Sat, 7 Dec 2024 09:05:06 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2070.outbound.protection.outlook.com [40.107.223.70]) by mails.dpdk.org (Postfix) with ESMTP id 7DFF540281 for ; Sat, 7 Dec 2024 09:05:04 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pcZOVMem0scy3joj0N2bJ5b+Ox6QXCGY/GODAuR+ejAH1idLsKxppUFHgW25kX4hHvoqs3lOQo99xwby3x9BfYebTp7p9nIW9dTKEnxq8DNPErypcEKAFSF2Ina1sbZBzjeNvmo9dH3ApOPctQsnyFRcsfNGcQT2458H2nogKe+XdIg6R8iYvnV85qhVq/H+V65poLEIGJALI/M2xyjZMdGAwrPsEOTgeLnebaOJDawHPGTe2ochRpnmJjOfkFzWW7pE/kilATTEMc/F+4k6meSt95UcETGZWOC1FvqeIaooqWs4hw054PbbLcP5oQOsvf1fRpe22Xi6x0FF1PYhxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=bCyh5zu5aOVsDfJldT+HS6xXYK+k4HSKPgGtAipxXKA=; b=VHTLHxo+yOdgcutIVPqkSjmBa5V2wVtcP7YUhQmFP7G7QAaPcrHQlz5aHcbszFDi76FYHLcd4VjpKVi8dkipartV01KdaBBi9tbpshqXf/Uc2IQ43kCJUrtwOC4/dBXO2uIA45g5VYXCwhVJfybZbxbkt2IPmmKuEGmHjjQubkiUTuh0hQGpgNNkRQyfjzX0ezGcPaIeEd8z9+4A8Bn8fPw0rysUY9RraImwlPY3UZKxGhcCVxlvkoxgn8eLmjwx+mPVDnL9keY/wa0jdp4fnlhQ6B5r6ZFwIADMJ7O1E7deFRsqMyPFA4FdMmW2Fs6bFyYyAjoSGgI2rSao3rpdrw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=smartsharesystems.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 (0) 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=bCyh5zu5aOVsDfJldT+HS6xXYK+k4HSKPgGtAipxXKA=; b=LwP948rXWNxhxgb2f0xazdn+Z7DVxZN4mphZ0oi4ngBZqobG3BoLkz9gKgJDrrTtz6ic3DIcuZXznra+5c13GNsJhtSXpKVtwDUipht0eETFY4bHuyaVd2xl9VEZl4xzP2Z4g4LIB/0pQOLTGA1zWuqfY2QRwYvc5ql0omP7L2B0Jibwe20uVQ/ZtjjHKyf9TzhZCLvgdKdxw7Nvu3TVT3QZNui5DNALd6Kj4CY7mD4iYI4dSlL9fbbIHl/aluXDZORoZcsQ7Z3AS586BM6nqM7n4T3nXzNhbH49JbFWqp4MrJLrKhqntU8l5jSP+cKGBKLGTZt9EKry9ecSFRvuEg== Received: from DM6PR17CA0036.namprd17.prod.outlook.com (2603:10b6:5:1b3::49) by BY5PR12MB4083.namprd12.prod.outlook.com (2603:10b6:a03:20d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.12; Sat, 7 Dec 2024 08:05:00 +0000 Received: from CY4PEPF0000E9D5.namprd05.prod.outlook.com (2603:10b6:5:1b3:cafe::9f) by DM6PR17CA0036.outlook.office365.com (2603:10b6:5:1b3::49) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8207.18 via Frontend Transport; Sat, 7 Dec 2024 08:04:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CY4PEPF0000E9D5.mail.protection.outlook.com (10.167.241.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.7 via Frontend Transport; Sat, 7 Dec 2024 08:04:58 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sat, 7 Dec 2024 00:04:55 -0800 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.1544.4; Sat, 7 Dec 2024 00:04:53 -0800 From: Xueming Li To: =?UTF-8?q?Morten=20Br=C3=B8rup?= CC: Xueming Li , Jochen Behrens , dpdk stable Subject: patch 'net/vmxnet3: support larger MTU with version 6' has been queued to stable release 23.11.3 Date: Sat, 7 Dec 2024 15:59:58 +0800 Message-ID: <20241207080055.488538-41-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241207080055.488538-1-xuemingl@nvidia.com> References: <20241111062847.216344-122-xuemingl@nvidia.com> <20241207080055.488538-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: 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: CY4PEPF0000E9D5:EE_|BY5PR12MB4083:EE_ X-MS-Office365-Filtering-Correlation-Id: 4cd7a6ec-0553-4e56-2746-08dd1695d836 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|1800799024|82310400026|376014|7053199007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?TUpPMEFsK1FuY2ZoZ0hNeXZXb2RiUFJybGllWE5GOUJkVm9JdWFtK2orbUR3?= =?utf-8?B?YmJlTGFwV012VDJlNGE1b3BpeXdMdjRvNlBiUUR3TGlyY0x2MkY2YlFZQk9Z?= =?utf-8?B?U3crYXRhbUFHb3JBYlZ1MndZNGl6VzlpM2hpYmIwWVM4eG5KalJTWnp0WEI4?= =?utf-8?B?alZ5SWtTT1RlTDF4RXlOY1U0QTVEa0RrY01kOFhCOUhxRzZWbXh6VXpEdTVZ?= =?utf-8?B?dmNkcWptYjZmNTQzN25nWFJDa3RCcmNtMXBYRjdpMmUyL0UzVDB3UXBlRXYx?= =?utf-8?B?MU5jbzFrVU1SckFpaE1vU01jS0kyZUdEckpTWlllTDZBM3JONDRpRmVTdzJo?= =?utf-8?B?cFloODlRNTRJTkNYQVJxeTR1WG1tTjdsbXd2aWpxQ1JRUlFpREt0NWJ1Ylgx?= =?utf-8?B?enhCV1JPclAvelRBUlpUczdDajNxbzJ2Z3VGRXp2VldOSEt2aThobFZ3N2Rr?= =?utf-8?B?bnBIOWhqY2lEaXRjQ3pmanpNMFBpN3lxMFlGaWZwM2Qzc3RjZEkvVVRPRGd5?= =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DRHp1WWlIZkcxeHBU?= =?utf-8?B?V21kN3R4cTVVN05veXNaVVpsL1RrZEkzVFRyekZyeXphNXB1ZWlZYVFUSnA5?= =?utf-8?B?YlkwV2R5M3dubGNPQ3FQcUoxU2t6Y0xObXcxeG1OOVZIWGRaNGZqb3JNQW5Z?= =?utf-8?B?SS91ZUlIZnhvYTVqeXg4ODN1emNJRVR5RkZEakNoY3hwcGZnRWYxOGkyblZ5?= =?utf-8?B?NEtnc0lMa05FTVI3S3JHQTlFS0NlRVRQS3E5TjlHUmRXNG1EWjJNSGRmVlJG?= =?utf-8?B?N09sTGdIdmhTTEVCbkpMb0ZTQ0dCNXBYNlloOFVjcHc4OXpxaEZGZDJDR3Fa?= =?utf-8?B?WmJpdFF3V1AzNlpuUkhjenc2S0c5aTN0dlRGclRUbmVoRGlyMm90QnZRbHFk?= =?utf-8?B?RGhRckw2VXBpb1JZRVdxUlQyQ0ZZVVZkTk51ZXFKR1R0TFNZR1IzYmhnaHAy?= =?utf-8?B?WDNPa1dOUW1nU0lHUUkzQmlKYWxRdWtDMnZNdlZnb1lxeHFsZTlWbWNOWXZ3?= =?utf-8?Q?AkrY5pCf4WWttJCZVoE5VYPOyzZEtFbh?= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(36860700013)(1800799024)(82310400026)(376014)(7053199007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2024 08:04:58.9376 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4cd7a6ec-0553-4e56-2746-08dd1695d836 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.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000E9D5.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4083 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 23.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/10/24. 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=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=5bab0b75fb373232aab6a4146bff851353bd96c3 Thanks. Xueming Li --- >From 5bab0b75fb373232aab6a4146bff851353bd96c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Br=C3=B8rup?= Date: Mon, 4 Nov 2024 10:52:20 +0000 Subject: [PATCH] net/vmxnet3: support larger MTU with version 6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Xueming Li [ upstream commit a4b83a747d7d21c6d61b9ae69d39db5e1c700dcd ] Virtual hardware version 6 supports larger max MTU, but the device information (dev_info) did not reflect this, so it could not be used. Fixes: b1584dd0affe ("net/vmxnet3: support version 6") Signed-off-by: Morten Brørup Acked-by: Jochen Behrens --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c index e60935f835..8305c27d15 100644 --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c +++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c @@ -1574,7 +1574,7 @@ vmxnet3_dev_info_get(struct rte_eth_dev *dev, dev_info->min_rx_bufsize = 1518 + RTE_PKTMBUF_HEADROOM; dev_info->max_rx_pktlen = 16384; /* includes CRC, cf MAXFRS register */ dev_info->min_mtu = VMXNET3_MIN_MTU; - dev_info->max_mtu = VMXNET3_MAX_MTU; + dev_info->max_mtu = VMXNET3_VERSION_GE_6(hw) ? VMXNET3_V6_MAX_MTU : VMXNET3_MAX_MTU; dev_info->speed_capa = RTE_ETH_LINK_SPEED_10G; dev_info->max_mac_addrs = VMXNET3_MAX_MAC_ADDRS; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-12-06 23:26:45.439755011 +0800 +++ 0040-net-vmxnet3-support-larger-MTU-with-version-6.patch 2024-12-06 23:26:43.933044828 +0800 @@ -1 +1 @@ -From a4b83a747d7d21c6d61b9ae69d39db5e1c700dcd Mon Sep 17 00:00:00 2001 +From 5bab0b75fb373232aab6a4146bff851353bd96c3 Mon Sep 17 00:00:00 2001 @@ -7,0 +8,3 @@ +Cc: Xueming Li + +[ upstream commit a4b83a747d7d21c6d61b9ae69d39db5e1c700dcd ] @@ -13 +15,0 @@ -Cc: stable@dpdk.org @@ -22 +24 @@ -index 619cfa21cf..15ca25b187 100644 +index e60935f835..8305c27d15 100644 @@ -25 +27 @@ -@@ -1575,7 +1575,7 @@ vmxnet3_dev_info_get(struct rte_eth_dev *dev, +@@ -1574,7 +1574,7 @@ vmxnet3_dev_info_get(struct rte_eth_dev *dev,