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 CDA7943829 for ; Tue, 5 Mar 2024 16:35:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C784E42D2E; Tue, 5 Mar 2024 16:35:12 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 3DD4C42686 for ; Tue, 5 Mar 2024 16:35:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709652911; 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=AdgWADVmyoVcf63PEtrxxpnC063UydGqJaKU2SbLN1o=; b=N8q1xlZBqA3iYfklUS8+81pXwuDUW3a3U2nEus6fP00+jE5KitZIG2DuZOMj3pkQz1IHgd xJAUjjujT0j0nfhFyzoPc5FF6ftjxHt8gBgDcA7uoIhNEf/eOhOb761xjueKKu0jViD0Cf ZITowx9Yf56Z4xcFyS0aQH8HH66WIw8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-460-1xYYwPoeNmK2RA5hAQg26Q-1; Tue, 05 Mar 2024 10:35:08 -0500 X-MC-Unique: 1xYYwPoeNmK2RA5hAQg26Q-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 018C5185A784; Tue, 5 Mar 2024 15:35:08 +0000 (UTC) Received: from rh.redhat.com (unknown [10.39.194.197]) by smtp.corp.redhat.com (Postfix) with ESMTP id EB29F200AE7F; Tue, 5 Mar 2024 15:35:06 +0000 (UTC) From: Kevin Traynor To: Kaiwen Deng Cc: Qi Zhang , dpdk stable Subject: patch 'net/ice: fix tunnel TSO capabilities' has been queued to stable release 21.11.7 Date: Tue, 5 Mar 2024 15:33:40 +0000 Message-ID: <20240305153449.263666-7-ktraynor@redhat.com> In-Reply-To: <20240305153449.263666-1-ktraynor@redhat.com> References: <20240305153449.263666-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 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.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 03/11/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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/c354880dcf5fafc48392f079ac73aaf55469cf33 Thanks. Kevin --- >From c354880dcf5fafc48392f079ac73aaf55469cf33 Mon Sep 17 00:00:00 2001 From: Kaiwen Deng Date: Thu, 7 Dec 2023 10:30:51 +0800 Subject: [PATCH] net/ice: fix tunnel TSO capabilities [ upstream commit daac90272857812b3da1db95caf5922f03a83343 ] The Tx offload capabilities doesn't include TSO tunnel which will result in TSO tunnel setting to not take effect. The patch adds tunnel TSO offload to ICE_TX_NO_VECTOR_FLAGS. This commit will add TSO tunnel capabilities in ice_dev_info_get(). Bugzilla ID: 1327 Fixes: d852fec1be63 ("net/ice: fix Tx offload path choice") Signed-off-by: Kaiwen Deng Acked-by: Qi Zhang --- drivers/net/ice/ice_ethdev.c | 6 +++++- drivers/net/ice/ice_rxtx_vec_common.h | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index 0b7555cc55..ef24a21239 100644 --- a/drivers/net/ice/ice_ethdev.c +++ b/drivers/net/ice/ice_ethdev.c @@ -3746,5 +3746,9 @@ ice_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) RTE_ETH_TX_OFFLOAD_SCTP_CKSUM | RTE_ETH_TX_OFFLOAD_OUTER_IPV4_CKSUM | - RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM; + RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM | + RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO | + RTE_ETH_TX_OFFLOAD_GRE_TNL_TSO | + RTE_ETH_TX_OFFLOAD_IPIP_TNL_TSO | + RTE_ETH_TX_OFFLOAD_GENEVE_TNL_TSO; dev_info->flow_type_rss_offloads |= ICE_RSS_OFFLOAD_ALL; } diff --git a/drivers/net/ice/ice_rxtx_vec_common.h b/drivers/net/ice/ice_rxtx_vec_common.h index ac939a3ba6..f07e304e20 100644 --- a/drivers/net/ice/ice_rxtx_vec_common.h +++ b/drivers/net/ice/ice_rxtx_vec_common.h @@ -252,4 +252,8 @@ ice_rxq_vec_setup_default(struct ice_rx_queue *rxq) RTE_ETH_TX_OFFLOAD_OUTER_IPV4_CKSUM | \ RTE_ETH_TX_OFFLOAD_TCP_TSO | \ + RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO | \ + RTE_ETH_TX_OFFLOAD_GRE_TNL_TSO | \ + RTE_ETH_TX_OFFLOAD_IPIP_TNL_TSO | \ + RTE_ETH_TX_OFFLOAD_GENEVE_TNL_TSO | \ RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM) -- 2.43.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-05 14:08:54.915785737 +0000 +++ 0007-net-ice-fix-tunnel-TSO-capabilities.patch 2024-03-05 14:08:54.619520683 +0000 @@ -1 +1 @@ -From daac90272857812b3da1db95caf5922f03a83343 Mon Sep 17 00:00:00 2001 +From c354880dcf5fafc48392f079ac73aaf55469cf33 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit daac90272857812b3da1db95caf5922f03a83343 ] + @@ -15 +16,0 @@ -Cc: stable@dpdk.org @@ -25 +26 @@ -index 1f8ab5158a..3c3bc49dc2 100644 +index 0b7555cc55..ef24a21239 100644 @@ -28 +29 @@ -@@ -3892,5 +3892,9 @@ ice_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) +@@ -3746,5 +3746,9 @@ ice_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) @@ -40 +41 @@ -index 55840cf170..4b73465af5 100644 +index ac939a3ba6..f07e304e20 100644