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)
commit98df6d5b877c26012bbafcf07ff51326db4ef3f7
tree390631e1606bc0a74d9c7525863af26741fb5014
parent27c11b6b844cd9473330ff29ddb55a535d2dd14a
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