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 B48F245C9B for ; Tue, 12 Nov 2024 23:09:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AFFD640B8F; Tue, 12 Nov 2024 23:09:59 +0100 (CET) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mails.dpdk.org (Postfix) with ESMTP id BBC4240B8F for ; Tue, 12 Nov 2024 23:09:58 +0100 (CET) Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-37d4fd00574so65246f8f.0 for ; Tue, 12 Nov 2024 14:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731449398; x=1732054198; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1iBEnNpmiPT2BsYXtr3z9YT99p2EXt1zgd/LOOuVV50=; b=b5dxRm5opwOM3ENPalv4lFE6BWRu08Vk9Qij3TwS4MRglKrO4Z98DkZq4h7u+iJ1eP ty14/vUnZRxeBUwiTtW0b/5uzRGURllLuUYslNWy4F6GUUM8AHQf3Sk987oFHJ0eB2u4 5EBwk4QIOqdBK2KVLfRTmEF3D3HYXMLNw95IWdI4U/RGExSwgGdftpqT989IKM4w9JQ3 /evJbMKz9XHhLs0K3buMomjx+tUcOlav2y6ciW5DZsMz2QxhldLHuZNU1Wn7RzUfIbHf uvGDqoU0/KUxhM1Ih0xv6Hu92QzvcVeO6A9jzb2fhQFkerqGpJL+4mG/pUuDC0uH6dz9 n/CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731449398; x=1732054198; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1iBEnNpmiPT2BsYXtr3z9YT99p2EXt1zgd/LOOuVV50=; b=ifT0UdJcbuVkG7y+iLTcbMIrbDu4KQgoKri0ApvX6jNdb1DQXhv8Ej9swI78OAaHti POD09mk2O00isesdEQVDew7hlV0NZpdHBmL7l91eZ+6sF8WVJHO37uXqXX8C/DGur5mi vndS1h4EwN1vOoLv9Aax6+gZsWWURuWQX/3ZkUNzSjS9PHsnbNmp46g/Fi5pPH4DwDvY Sepy+in7SE/9bAHssGFxcZsvUbtXBRTbYrACkOGJIqcAkL3OSquohSt6seP68MtZYFL9 LiozSQVhRfJXTEJ6OACR/X/CdZyqc6MBkUPazot1GHLEHs0UEZ2H+TPBLNKlnrpHijCn 5Hpg== X-Forwarded-Encrypted: i=1; AJvYcCV6hlRGmhFISvT/YeZB82ZB1N5ktLeANWnto4gszCsiknub2lnj53D/w4g2MptMT2SjanzbLu8=@dpdk.org X-Gm-Message-State: AOJu0Yx3H/oN717IHXTNNqYI3mVnAUSctH4zK7GzqHP+fS5O6ARIlmz9 wvJSkPMTki/NnRF3QoL0MdPqHvBIQYWlUL5EoA2iVEyqsioHwK3f X-Google-Smtp-Source: AGHT+IEv5oAt8HrYWqxOa3B1Po19isuWUnp5HPUuSI459pYb/EOKLdh2+19lZDajoSUbmn4m+Nj3hg== X-Received: by 2002:a5d:6d83:0:b0:37e:eee5:80dc with SMTP id ffacd0b85a97d-381f1c8c7demr16132652f8f.28.1731449398307; Tue, 12 Nov 2024 14:09:58 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:e89d:e9a1:da72:2f9d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381ed970d89sm16824749f8f.8.2024.11.12.14.09.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 14:09:57 -0800 (PST) From: luca.boccassi@gmail.com To: =?UTF-8?q?Morten=20Br=C3=B8rup?= Cc: Jochen Behrens , dpdk stable Subject: patch 'net/vmxnet3: support larger MTU with version 6' has been queued to stable release 22.11.7 Date: Tue, 12 Nov 2024 22:07:43 +0000 Message-ID: <20241112220754.666489-33-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241112220754.666489-1-luca.boccassi@gmail.com> References: <20241023211704.1216956-79-luca.boccassi@gmail.com> <20241112220754.666489-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.7 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/14/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://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/74b7f4e42ca848fd599fc7826b2c00a9be92f398 Thanks. Luca Boccassi --- >From 74b7f4e42ca848fd599fc7826b2c00a9be92f398 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 [ 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 5526f7d8fd..f4cdb1bb31 100644 --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c +++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c @@ -1481,7 +1481,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.45.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-12 22:06:59.731994093 +0000 +++ 0033-net-vmxnet3-support-larger-MTU-with-version-6.patch 2024-11-12 22:06:58.683307454 +0000 @@ -1 +1 @@ -From a4b83a747d7d21c6d61b9ae69d39db5e1c700dcd Mon Sep 17 00:00:00 2001 +From 74b7f4e42ca848fd599fc7826b2c00a9be92f398 Mon Sep 17 00:00:00 2001 @@ -8,0 +9,2 @@ +[ upstream commit a4b83a747d7d21c6d61b9ae69d39db5e1c700dcd ] + @@ -13 +14,0 @@ -Cc: stable@dpdk.org @@ -22 +23 @@ -index 619cfa21cf..15ca25b187 100644 +index 5526f7d8fd..f4cdb1bb31 100644 @@ -25 +26 @@ -@@ -1575,7 +1575,7 @@ vmxnet3_dev_info_get(struct rte_eth_dev *dev, +@@ -1481,7 +1481,7 @@ vmxnet3_dev_info_get(struct rte_eth_dev *dev,