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 33630A0560 for ; Tue, 18 Oct 2022 03:41:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E980415D7; Tue, 18 Oct 2022 03:41:22 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id C27AA410E8; Tue, 18 Oct 2022 03:41:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666057280; x=1697593280; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=CW6SGA+QHpVTT6LOaQZDI0JxlWLyTEnMOVxDU0ktVKE=; b=PSmuDxlYmgFRM4LLqIW1rzQoo0K8G2nok3GG9KELzNkX3zSGWrNyAx+v G8xEkfAfCnLjMfMwrIHUNJB/VnKcORfkyLhIOsn8eNZS8lqhdyOFud1rz OUBqph3Unq+CtSO70MpdPJOFF2paWJm35sQtyq6Tx0sbp5PFWnAyO/Fch c+Q3of7cv313+wt+KT1d0wGl6uPIZq6hinlVg/Ti4ZIB+6Q3mXewPd7EY ecv6o75LqTv7LR+lGRFRr/0iCX8QB21d7UIe8M7k1KFUBLQMInZsqTx/o jZsn7VbT63zWe6MCijw1QMiQkDCA0JR7BXs+ru3pH946nPFOFFeJpO5+h Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="293335524" X-IronPort-AV: E=Sophos;i="5.95,192,1661842800"; d="scan'208";a="293335524" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 18:41:18 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="606338764" X-IronPort-AV: E=Sophos;i="5.95,192,1661842800"; d="scan'208";a="606338764" Received: from unknown (HELO yemj..) ([10.239.252.253]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 18:41:15 -0700 From: Mingjin Ye To: dev@dpdk.org Cc: stable@dpdk.org, yidingx.zhou@intel.com, Mingjin Ye , Qiming Yang , Qi Zhang , Andrew Rybchenko , Olivier Matz , Somnath Kotur , Ajit Khaparde Subject: [PATCH] net/ice: support vxlan gpe tunnel offload Date: Tue, 18 Oct 2022 09:28:42 +0000 Message-Id: <20221018092842.509634-1-mingjinx.ye@intel.com> X-Mailer: git-send-email 2.34.1 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 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