[PATCH v3] net/mlx5: use just sufficient barrier for ARM platforms

Raslan Darawsheh rasland at nvidia.com
Sun Mar 19 14:32:21 CET 2023


Hi,

> -----Original Message-----
> From: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Sent: Thursday, March 9, 2023 4:33 AM
> To: Matan Azrad <matan at nvidia.com>; Shahaf Shuler <shahafs at nvidia.com>;
> Slava Ovsiienko <viacheslavo at nvidia.com>
> Cc: dev at dpdk.org; honnappa.nagarahalli at arm.com; ruifeng.wang at arm.com;
> nd at arm.com; Matan Azrad <matan at mellanox.com>; stable at dpdk.org
> Subject: [PATCH v3] net/mlx5: use just sufficient barrier for ARM platforms
> 
> cqe->op_own indicates if the CQE is owned by the NIC. The rest of
> the fields in CQE should be read only after op_own is read. On Arm platforms
> using "dmb ishld" is sufficient to enforce this.
> 
> Fixes: 88c0733535d6 ("net/mlx5: extend Rx completion with error handling")
> Cc: matan at mellanox.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list