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 257B1A0C41; Tue, 7 Sep 2021 10:03:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8A78241104; Tue, 7 Sep 2021 10:03:33 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 7A246410EB for ; Tue, 7 Sep 2021 10:03:31 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10099"; a="220185833" X-IronPort-AV: E=Sophos;i="5.85,274,1624345200"; d="scan'208";a="220185833" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2021 01:03:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,274,1624345200"; d="scan'208";a="537821762" Received: from npg-dpdk-haiyue-2.sh.intel.com ([10.67.119.63]) by FMSMGA003.fm.intel.com with ESMTP; 07 Sep 2021 01:03:29 -0700 From: Haiyue Wang To: dev@dpdk.org Cc: Junfeng Guo , Haiyue Wang , Jingjing Wu , Beilei Xing Date: Tue, 7 Sep 2021 15:33:01 +0800 Message-Id: <20210907073304.73548-2-haiyue.wang@intel.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210907073304.73548-1-haiyue.wang@intel.com> References: <20210817071652.9939-1-haiyue.wang@intel.com> <20210907073304.73548-1-haiyue.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 1/4] common/iavf: add QFI fields for GTPU UL and DL 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 Sender: "dev" From: Junfeng Guo The QFI is 6-bit "QoS Flow Identifier" within the GTPU Extension Header. Add virtchnl fields QFI of GTPU UL/DL for supporting the AVF FDIR. Signed-off-by: Junfeng Guo Signed-off-by: Haiyue Wang --- drivers/common/iavf/virtchnl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h index 1cf0866124..9fa5e3e891 100644 --- a/drivers/common/iavf/virtchnl.h +++ b/drivers/common/iavf/virtchnl.h @@ -1642,6 +1642,11 @@ enum virtchnl_proto_hdr_field { /* IPv6 Extension Fragment */ VIRTCHNL_PROTO_HDR_IPV6_EH_FRAG_PKID = PROTO_HDR_FIELD_START(VIRTCHNL_PROTO_HDR_IPV6_EH_FRAG), + /* GTPU_DWN/UP */ + VIRTCHNL_PROTO_HDR_GTPU_DWN_QFI = + PROTO_HDR_FIELD_START(VIRTCHNL_PROTO_HDR_GTPU_EH_PDU_DWN), + VIRTCHNL_PROTO_HDR_GTPU_UP_QFI = + PROTO_HDR_FIELD_START(VIRTCHNL_PROTO_HDR_GTPU_EH_PDU_UP), }; struct virtchnl_proto_hdr { -- 2.33.0