net/i40e: fix descriptor scan on Arm
authorJoyce Kong <joyce.kong@arm.com>
Tue, 6 Jul 2021 06:54:03 +0000 (01:54 -0500)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 9 Jul 2021 03:05:19 +0000 (05:05 +0200)
commit65b2ec7b4f6bca9c7436681141d2974c7960d208
treee3ad173d9b82a6cf2432ddca05cd226457182d75
parenta87688852dfa5e2dc1efcdd4024ae39defc0ead6
net/i40e: fix descriptor scan on Arm

For Arm platforms, reading descs can get re-ordered, then the
status of DD bits will be discontinuous, so add the logic to
only process continuous descs by checking DD bits.

Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: stable@dpdk.org
Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
drivers/net/i40e/i40e_rxtx.c