[dpdk-dev,v2,1/2] i40e: remove checking rxd flag which is not public
Commit Message
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@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.
@@ -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)))