svn commit: r363040 - stable/12/sys/dev/mlx5/mlx5_core
Konstantin Belousov
kib at FreeBSD.org
Thu Jul 9 10:54:00 UTC 2020
Author: kib
Date: Thu Jul 9 10:54:00 2020
New Revision: 363040
URL: https://svnweb.freebsd.org/changeset/base/363040
Log:
MFC r362887:
mlx5_core: remove unneccessary LFENCE instruction.
Modified:
stable/12/sys/dev/mlx5/mlx5_core/mlx5_eq.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/dev/mlx5/mlx5_core/mlx5_eq.c
==============================================================================
--- stable/12/sys/dev/mlx5/mlx5_core/mlx5_eq.c Thu Jul 9 10:52:02 2020 (r363039)
+++ stable/12/sys/dev/mlx5/mlx5_core/mlx5_eq.c Thu Jul 9 10:54:00 2020 (r363040)
@@ -240,7 +240,7 @@ static int mlx5_eq_int(struct mlx5_core_dev *dev, stru
* Make sure we read EQ entry contents after we've
* checked the ownership bit.
*/
- rmb();
+ atomic_thread_fence_acq();
mlx5_core_dbg(eq->dev, "eqn %d, eqe type %s\n",
eq->eqn, eqe_type_str(eqe->type));
More information about the svn-src-stable
mailing list