[PATCH] net/hns3: add Rx DMA address align check
Ferruh Yigit
ferruh.yigit at amd.com
Wed Jul 17 12:39:07 CEST 2024
On 7/15/2024 3:04 AM, Jie Hai wrote:
> From: Chengwen Feng <fengchengwen at huawei.com>
>
> The network engine has Rx DMA address align requirement, if this
> requirement is violated, the Rx function will be abnormal. The detail
> requirement is:
> 1) For HIP08 platform, require 64-bytes alignment.
> 2) For later platform, require 128-bytes alignment.
>
> The setup Rx DMA address exists both on the control and data plane, to
> ensure performance, the alignment check is added only on the control
> plane.
>
> Fixes: bba636698316 ("net/hns3: support Rx/Tx and related operations")
> Cc: stable at dpdk.org
>
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
> Signed-off-by: Jie Hai <haijie1 at huawei.com>
>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list