Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/i40e: fix parsing packet type for NEON
[ upstream commit 31d7c6f ] In i40e NEON vector Rx path, the packet descs processing is incorrect. This caused wrong packet type been filled in mbuf. To fix this, when shifting the pktlen field to be 16-bit aligned, it only needs to process the high 16bit of the packet descs instead of the high 32bit. Test Results: Architecture: arm64 NIC: XL710 Driver: i40e Package: Ether()/IP()/ Without this patch: desc_to_ptype_v: ptype = 7 (error) With this patch: desc_to_ptype_v: ptype = 23 (correct) Fixes: ae0eb31 ("net/i40e: implement vector PMD for ARM") Signed-off-by: Feifei Wang <feifei.wang2@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Tested-by: Kathleen Capella <kathleen.capella@arm.com>
- Loading branch information