[PATCH v3] net/mlx5: use just sufficient barrier for ARM platforms
Slava Ovsiienko
viacheslavo at nvidia.com
Thu Mar 9 16:44:40 CET 2023
> -----Original Message-----
> From: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Sent: четверг, 9 марта 2023 г. 04:33
> 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>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
More information about the dev
mailing list