From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7AC18A0577; Mon, 13 Apr 2020 11:29:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ACC581BEA5; Mon, 13 Apr 2020 11:29:14 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 2FDF12A66 for ; Mon, 13 Apr 2020 11:29:11 +0200 (CEST) IronPort-SDR: 2e+lfz4yKoOPHs63OMJWn83SVlxAKXCot+dZwWBkoCQcwiyW+tWCizdWKAhPNOTBpXFMJpghW6 iGfa1YytO4WQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2020 02:29:11 -0700 IronPort-SDR: uw043vLY7bhyJZwwLteoc90txQ+S/eg+8fRBCphAoUprhmFOcFj8WCjF30CuhxtMYQ41pyHFe4 1V6SAt1bwVuQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,378,1580803200"; d="scan'208";a="276849256" Received: from dpdk51.sh.intel.com ([10.67.110.245]) by fmsmga004.fm.intel.com with ESMTP; 13 Apr 2020 02:29:09 -0700 From: Qi Zhang To: beilei.xing@intel.com Cc: xiaolong.ye@intel.com, dev@dpdk.org, Qi Zhang , Przemyslaw Patynowski , Paul M Stillwell Jr Date: Mon, 13 Apr 2020 17:32:51 +0800 Message-Id: <20200413093256.20767-2-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20200413093256.20767-1-qi.z.zhang@intel.com> References: <20200413093256.20767-1-qi.z.zhang@intel.com> Subject: [dpdk-dev] [PATCH 1/6 v2] common/iavf: add PTYPE definition X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Add IAVF_RX_PTYPE_PARSER_ABORTED definition, so iavf driver will know opcode for parser aborted packets. Without this definition driver would have to rely on magic numbers. Signed-off-by: Przemyslaw Patynowski Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang --- drivers/common/iavf/iavf_type.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/common/iavf/iavf_type.h b/drivers/common/iavf/iavf_type.h index a5834e50f..905e1afb6 100644 --- a/drivers/common/iavf/iavf_type.h +++ b/drivers/common/iavf/iavf_type.h @@ -552,7 +552,8 @@ enum iavf_rx_l2_ptype { IAVF_RX_PTYPE_GRENAT4_MAC_PAY3 = 58, IAVF_RX_PTYPE_GRENAT4_MACVLAN_IPV6_ICMP_PAY4 = 87, IAVF_RX_PTYPE_GRENAT6_MAC_PAY3 = 124, - IAVF_RX_PTYPE_GRENAT6_MACVLAN_IPV6_ICMP_PAY4 = 153 + IAVF_RX_PTYPE_GRENAT6_MACVLAN_IPV6_ICMP_PAY4 = 153, + IAVF_RX_PTYPE_PARSER_ABORTED = 255 }; struct iavf_rx_ptype_decoded { -- 2.13.6