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 <helin.zhang at intel.com> --- 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