From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A33237E75 for ; Fri, 5 Dec 2014 02:46:40 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 04 Dec 2014 17:46:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="425295992" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 04 Dec 2014 17:36:16 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id sB51kZBn031971; Fri, 5 Dec 2014 09:46:35 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id sB51kXPj015645; Fri, 5 Dec 2014 09:46:35 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id sB51kXh9015641; Fri, 5 Dec 2014 09:46:33 +0800 From: Helin Zhang To: dev@dpdk.org Date: Fri, 5 Dec 2014 09:46:27 +0800 Message-Id: <1417743988-15604-2-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1417743988-15604-1-git-send-email-helin.zhang@intel.com> References: <1416982032-28519-1-git-send-email-helin.zhang@intel.com> <1417743988-15604-1-git-send-email-helin.zhang@intel.com> Subject: [dpdk-dev] [PATCH v2 1/2] i40e: remove checking rxd flag which is not public X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2014 01:46:41 -0000 According to the latest datasheet, RX descriptor error flag of 'RECIPE' is not for public use, so its checks should be removed. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_rxtx.c | 6 ------ 1 file changed, 6 deletions(-) v2 changes: * Removed error flag of 'ECIPE' processing only in i40e PMD. All other error flags were added back. diff --git a/lib/librte_pmd_i40e/i40e_rxtx.c b/lib/librte_pmd_i40e/i40e_rxtx.c index 63c872d..7ffe50e 100644 --- a/lib/librte_pmd_i40e/i40e_rxtx.c +++ b/lib/librte_pmd_i40e/i40e_rxtx.c @@ -126,12 +126,6 @@ i40e_rxd_error_to_pkt_flags(uint64_t qword) flags |= PKT_RX_MAC_ERR; return flags; } - - /* If RECIPE bit set, all other status indications should be ignored */ - if (unlikely(error_bits & (1 << I40E_RX_DESC_ERROR_RECIPE_SHIFT))) { - flags |= PKT_RX_RECIP_ERR; - return flags; - } if (unlikely(error_bits & (1 << I40E_RX_DESC_ERROR_HBO_SHIFT))) flags |= PKT_RX_HBUF_OVERFLOW; if (unlikely(error_bits & (1 << I40E_RX_DESC_ERROR_IPE_SHIFT))) -- 1.9.3