From mboxrd@z Thu Jan 1 00:00:00 1970 From: Helin Zhang Subject: [PATCH v2 1/2] i40e: remove checking rxd flag which is not public Date: Fri, 5 Dec 2014 09:46:27 +0800 Message-ID: <1417743988-15604-2-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> To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1417743988-15604-1-git-send-email-helin.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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