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 4BAB4A0542; Mon, 24 Oct 2022 17:33:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E30B442BDA; Mon, 24 Oct 2022 17:33:09 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id ED44B400D7; Mon, 17 Oct 2022 07:36:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665985003; x=1697521003; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=CW6SGA+QHpVTT6LOaQZDI0JxlWLyTEnMOVxDU0ktVKE=; b=I+0jd+U1XkG/pAW6czQw0DWv0WMhFwPaZ0FjEzDvzStGahArPADZ1KWz ty8q5XmGth5Hi7cNUQyoc4DNV6Mn06wYNTuXuqyUt2ZfiIe3YckYLKAdc K8sqmP3Wel31ZjHfyA7N7C6rnBI0ghthNhSz6fBj+qXfakKMSu36f8OH+ qXbbAD6r3UNslYxsEwTW4hWW34SIDtptPXxuOqSnoGcqfzmMwBD/lDNxa 0oyI1IlFU2pmLFY7rk5sy73Ni025zOLzYeaQV8QiJuwLJUFIbTxeIYere I52uzFD97tJO1fDhoeWSSMnxgPKU6cvIvMgUEryZrGhVDmBn36A/VppH/ A==; X-IronPort-AV: E=McAfee;i="6500,9779,10502"; a="304453070" X-IronPort-AV: E=Sophos;i="5.95,190,1661842800"; d="scan'208";a="304453070" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2022 22:36:41 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10502"; a="803224934" X-IronPort-AV: E=Sophos;i="5.95,190,1661842800"; d="scan'208";a="803224934" Received: from unknown (HELO yemj..) ([10.239.252.253]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2022 22:36:38 -0700 From: Mingjin Ye To: dev@dpdk.org Cc: stable@dpdk.org, yidingx.zhou@intel.com, Mingjin Ye , Qiming Yang , Qi Zhang , Somnath Kotur , Ajit Khaparde , Andrew Rybchenko , Olivier Matz Subject: [PATCH] net/ice: support vxlan gpe tunnel offload Date: Mon, 17 Oct 2022 13:24:04 +0000 Message-Id: <20221017132404.442170-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:00 +0200 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-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