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 3F11CA00C2 for ; Wed, 23 Nov 2022 19:05:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A4FC42DA5; Wed, 23 Nov 2022 19:05:31 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 816ED40E5A for ; Wed, 23 Nov 2022 19:05:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669226729; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bvM8xURKeChYpJDDWnjgByzXADqExWiXMnL3Px/9HRM=; b=CSIWhbRBOtBwNVVM5jE9vXZdKxCZq2iY4+KnYbz83J2HlVeTx/GpEO3Hw1luUT8711pikI 4JdIcSFmR2W3Tu00DGnmKOYBjLdHg0aBp6VOMY4Pi6TymXMMOLKJ1y4nG/DdB/Ya3ZXwnc Wzi3UN70wcu1E+D5PqkDTaVflkFZ95A= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-39-e0W1kUytP4GLlGwGTxQkVw-1; Wed, 23 Nov 2022 13:05:24 -0500 X-MC-Unique: e0W1kUytP4GLlGwGTxQkVw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 00DB1800186; Wed, 23 Nov 2022 18:05:24 +0000 (UTC) Received: from rh.Home (unknown [10.39.195.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id 516EB492B07; Wed, 23 Nov 2022 18:05:23 +0000 (UTC) From: Kevin Traynor To: Gregory Etelson Cc: Matan Azrad , dpdk stable Subject: patch 'doc: add LRO size limitation in mlx5 guide' has been queued to stable release 21.11.3 Date: Wed, 23 Nov 2022 18:04:07 +0000 Message-Id: <20221123180413.733554-54-ktraynor@redhat.com> In-Reply-To: <20221123180413.733554-1-ktraynor@redhat.com> References: <20221123180413.733554-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 21.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 11/28/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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/d42406e77e2c0aa3cc46397c8df6ce2e43e56df5 Thanks. Kevin --- >From d42406e77e2c0aa3cc46397c8df6ce2e43e56df5 Mon Sep 17 00:00:00 2001 From: Gregory Etelson Date: Thu, 17 Nov 2022 16:39:01 +0200 Subject: [PATCH] doc: add LRO size limitation in mlx5 guide [ upstream commit ea75808941c8020c568e47d1ef9b25223258c131 ] Maximal LRO message size must be multiply of 256. Otherwise, TCP payload may not fit into a single WQE. Fixes: 1c7e57f9bd33 ("net/mlx5: set maximum LRO packet size") Signed-off-by: Gregory Etelson Acked-by: Matan Azrad --- doc/guides/nics/mlx5.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index ce40d1cdac..593a71cf9a 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -389,4 +389,6 @@ Limitations - Rx queue with LRO offload enabled, receiving a non-LRO packet, can forward it with size limited to max LRO size, not to max RX packet length. + - The driver rounds down the port configuration value ``max_lro_pkt_size`` + (from ``rte_eth_rxmode``) to a multiple of 256 due to hardware limitation. - LRO can be used with outer header of TCP packets of the standard format: eth (with or without vlan) / ipv4 or ipv6 / tcp / payload -- 2.38.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-23 09:55:58.321356612 +0000 +++ 0054-doc-add-LRO-size-limitation-in-mlx5-guide.patch 2022-11-23 09:55:57.114149421 +0000 @@ -1 +1 @@ -From ea75808941c8020c568e47d1ef9b25223258c131 Mon Sep 17 00:00:00 2001 +From d42406e77e2c0aa3cc46397c8df6ce2e43e56df5 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit ea75808941c8020c568e47d1ef9b25223258c131 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 4f0db21dde..ab9498a91e 100644 +index ce40d1cdac..593a71cf9a 100644 @@ -22 +23 @@ -@@ -405,4 +405,6 @@ Limitations +@@ -389,4 +389,6 @@ Limitations