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 79D3AA0542 for ; Mon, 24 Oct 2022 17:34:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EAFCF42C43; Mon, 24 Oct 2022 17:33:59 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 80F8F410F1; Fri, 14 Oct 2022 09:50:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665733814; x=1697269814; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=CW6SGA+QHpVTT6LOaQZDI0JxlWLyTEnMOVxDU0ktVKE=; b=JzXVTwtOW6RId7ZajY7Pm22oJsSFJ3H8wJuWkCNbCWUq51AS5uWwbwT6 5c7RYVuJRiNeqMOANsKh/sWEqizDsdAA4XGTzg42b7oZlNwBIEBVPOLo1 pn8z7JMFRfA24g5T3eJ560SfEJLgBXRKkanmGxM5GeFOEurUQBePpjM/c QRR2/ZoTpMsIV4RAYLCrZNYCoHTaRZ3bXWf8i31A+UAcp98yLEkc9f6di G5W41B9mGtG2SccVm7ULhMEsy7ss4v4CawbIRDUYu+seyFKcbQe/Boh5o V7ceacTyFoqBKCMsYthFZjuctkoU2OXw0iRHXhAaBHJ0lfueL/2tczPvN g==; X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="285037427" X-IronPort-AV: E=Sophos;i="5.95,182,1661842800"; d="scan'208";a="285037427" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2022 00:50:04 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="769944227" X-IronPort-AV: E=Sophos;i="5.95,182,1661842800"; d="scan'208";a="769944227" Received: from unknown (HELO yemj..) ([10.239.252.253]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2022 00:50:01 -0700 From: Mingjin Ye To: dev@dpdk.org Cc: stable@dpdk.org, yidingx.zhou@intel.com, Mingjin Ye , Qiming Yang , Qi Zhang , Andrew Rybchenko , Somnath Kotur , Ajit Khaparde , Olivier Matz Subject: [PATCH] net/ice: support vxlan gpe tunnel offload Date: Fri, 14 Oct 2022 15:38:08 +0000 Message-Id: <20221014153808.740969-1-mingjinx.ye@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 24 Oct 2022 17:33:59 +0200 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 PMD does not support VXLAN_GPE tunnel offloading, therefore, it will cause the tx queues overflow and stop working when sending such packets. This patch adds support for the vxlan gpe. Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags") Cc: stable@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/ice/ice_rxtx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c index 697251c603..0a2b0376ac 100644 --- a/drivers/net/ice/ice_rxtx.c +++ b/drivers/net/ice/ice_rxtx.c @@ -2690,6 +2690,7 @@ ice_parse_tunneling_params(uint64_t ol_flags, /* for non UDP / GRE tunneling, set to 00b */ break; case RTE_MBUF_F_TX_TUNNEL_VXLAN: + case RTE_MBUF_F_TX_TUNNEL_VXLAN_GPE: case RTE_MBUF_F_TX_TUNNEL_GTP: case RTE_MBUF_F_TX_TUNNEL_GENEVE: *cd_tunneling |= ICE_TXD_CTX_UDP_TUNNELING; -- 2.34.1