]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: A write memory barrier is sufficient in EQ ci update
authorTariq Toukan <tariqt@mellanox.com>
Sun, 16 Dec 2018 15:20:31 +0000 (17:20 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 5 Apr 2019 21:10:35 +0000 (14:10 -0700)
commitef8e03989eea1ebe8d970c9d4bc59309403fbd7b
tree390631e1606bc0a74d9c7525863af26741fb5014
parent61c706f0b0e004488fd50ad1233908845c3bbec0
net/mlx5: A write memory barrier is sufficient in EQ ci update

Soften the memory barrier call of mb() by a sufficient wmb() in the
consumer index update of the event queues.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eq.c