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 F20C643C60 for ; Thu, 7 Mar 2024 02:33:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EC9F442E64; Thu, 7 Mar 2024 02:33:02 +0100 (CET) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mails.dpdk.org (Postfix) with ESMTP id 984AC42DD7 for ; Thu, 7 Mar 2024 02:33:01 +0100 (CET) Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-412f67bc6d0so3366785e9.3 for ; Wed, 06 Mar 2024 17:33:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709775181; x=1710379981; 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=qYZkxO05YGq7S8sx7v8wTj/vxlY0HRyczGAsSt+Ug88=; b=BOVx1VQ5qIH17a48NQUkpnLUkKFxqOvW2PqTj50FJ2PabND8P1PN4OCyzVjgRLQHYt RYh9/xhorDZQuDrpOGdr/oyLCos9rNY/OLWRVdB325bvdg3kuUz8BTZQqNvnKgtEwXB5 OXlQtTUUXTnUmrimI9I7vAEZnIbJT974erxGOK1zSdMpWy/eoyb1vWTCkNwSzf8LT+gw 0MOI/4EcCiUTmlCw7xw4Yvwee8zQ3kB8++69OhslyfzFxMh6/IG8Lwvu7i0bb8oF7SFt VTr1T0hLGhAaKnoTYQerfjuDTqFLFf7SF5d5wbFm8NS1pyYgxHve4lA5MBqGAlfvu9ep oi5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709775181; x=1710379981; 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=qYZkxO05YGq7S8sx7v8wTj/vxlY0HRyczGAsSt+Ug88=; b=Izkr7gsDYVuYGf2PXSEsV16Q4nfu0h8TRa8yEIUpoccNs6vJRc9gJFlWI5xSdOKr1j IrVoQ6tMgAn7DZ8GMWbLZcRu8AyHUPqlWNUsbXSc16j2FtoFuqLX+//TQkT2sM7J1II7 QjwyehwIJV8z8et4H9aYFq1fGaBDfWvH5lqXOcFctHszqax06e0eqOpIigMxvUK6bmVP hTAIkPXqdcsZ5gHXosv4jFSukr38qm9AEGVkTcRNgyo7M8qb9m3f7lk89TvF5qIy03gx 5W4Ea/6gIVeIhKJlzxsX9lHnkJ709yCNlX/kjwPd6nG79jpm2i53jcGrG7jdx7MVY28v duiw== X-Forwarded-Encrypted: i=1; AJvYcCW5+SbupW/JHtw0x9zlaRvpvQVPoG4snAyp3LXeN55fje2X+TAlmS6ir1BHJ0T8Hxy+fkz6b1lk+953fUdB9eQ= X-Gm-Message-State: AOJu0YyrE+HV6H+65wG6kGFInj4aTvHUT8yjrbSos8GVtp+C+96ydmEC NvIOUheJgdVvUpJ9EonlmQ517/Cizc32E49Lz9LReu+ZICY/vo3G X-Google-Smtp-Source: AGHT+IEXU6djIElLHILFJ7l270raIvFnSZcwEgyyx5ikoyf8wGRnT8KqmkGwEC2Z8bVA0OB18ArmAw== X-Received: by 2002:a05:600c:4fd5:b0:412:d68c:8229 with SMTP id o21-20020a05600c4fd500b00412d68c8229mr9692750wmq.39.1709775181240; Wed, 06 Mar 2024 17:33:01 -0800 (PST) Received: from localhost ([137.220.120.171]) by smtp.gmail.com with ESMTPSA id fl9-20020a05600c0b8900b00412eff2eb5bsm895852wmb.13.2024.03.06.17.33.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 17:33:00 -0800 (PST) From: luca.boccassi@gmail.com To: Kaiwen Deng Cc: Qi Zhang , dpdk stable Subject: patch 'net/ice: fix tunnel TSO capabilities' has been queued to stable release 22.11.5 Date: Thu, 7 Mar 2024 01:30:29 +0000 Message-Id: <20240307013159.1735343-12-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240307013159.1735343-1-luca.boccassi@gmail.com> References: <20240307013159.1735343-1-luca.boccassi@gmail.com> MIME-Version: 1.0 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.5 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/09/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/1a93dbe66718853f78b4c9a44e15d0f730cdd8a7 Thanks. Luca Boccassi --- >From 1a93dbe66718853f78b4c9a44e15d0f730cdd8a7 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 994eeaa83b..ba19c16384 100644 --- a/drivers/net/ice/ice_ethdev.c +++ b/drivers/net/ice/ice_ethdev.c @@ -3859,7 +3859,11 @@ ice_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) RTE_ETH_TX_OFFLOAD_TCP_CKSUM | 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 55840cf170..4b73465af5 100644 --- a/drivers/net/ice/ice_rxtx_vec_common.h +++ b/drivers/net/ice/ice_rxtx_vec_common.h @@ -251,6 +251,10 @@ ice_rxq_vec_setup_default(struct ice_rx_queue *rxq) RTE_ETH_TX_OFFLOAD_MULTI_SEGS | \ 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) #define ICE_TX_VECTOR_OFFLOAD ( \ -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-07 01:05:36.128350917 +0000 +++ 0012-net-ice-fix-tunnel-TSO-capabilities.patch 2024-03-07 01:05:34.674937384 +0000 @@ -1 +1 @@ -From daac90272857812b3da1db95caf5922f03a83343 Mon Sep 17 00:00:00 2001 +From 1a93dbe66718853f78b4c9a44e15d0f730cdd8a7 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 994eeaa83b..ba19c16384 100644 @@ -28 +29 @@ -@@ -3891,7 +3891,11 @@ ice_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) +@@ -3859,7 +3859,11 @@ ice_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)