]> git.droids-corp.org - dpdk.git/commit
net/iavf: count continuous DD bits for Arm
authorKathleen Capella <kathleen.capella@arm.com>
Sat, 5 Feb 2022 00:26:29 +0000 (00:26 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 9 Feb 2022 02:00:19 +0000 (03:00 +0100)
commit3d88d5e401f6d04882415866012a98bced0c3cb8
tree85e37acb4ff4df804829d51e030756dacd296473
parent89cfd4e18e353d75d693d06a04a285ec6a9d80f2
net/iavf: count continuous DD bits for Arm

On Arm platforms, reading of descriptors may be re-ordered causing the
status of DD bits to be discontinuous. Add logic to only process
continuous descriptors by checking DD bits.

Fixes: 1060591eada5 ("net/avf: enable bulk allocate Rx")
Cc: stable@dpdk.org
Signed-off-by: Kathleen Capella <kathleen.capella@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_rxtx.c