svn commit: r363041 - stable/11/sys/dev/mlx5/mlx5_core
Konstantin Belousov
kib at FreeBSD.org
Thu Jul 9 11:06:30 UTC 2020
Author: kib
Date: Thu Jul 9 11:06:29 2020
New Revision: 363041
URL: https://svnweb.freebsd.org/changeset/base/363041
Log:
MFC r362887:
mlx5_core: remove unneccessary LFENCE instruction.
Modified:
stable/11/sys/dev/mlx5/mlx5_core/mlx5_eq.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_eq.c
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_core/mlx5_eq.c Thu Jul 9 10:54:00 2020 (r363040)
+++ stable/11/sys/dev/mlx5/mlx5_core/mlx5_eq.c Thu Jul 9 11:06:29 2020 (r363041)
@@ -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