]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: A write memory barrier is sufficient in EQ ci update
authorTariq Toukan <tariqt@mellanox.com>
Tue, 22 Jan 2019 13:25:50 +0000 (15:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Jan 2019 05:54:13 +0000 (21:54 -0800)
commit0f2fad14fcf79146bc18d35a8e035a799961e4c5
treedd5a519de58a5f74ea990c5614f20926527d2418
parent3f28fcded9ff74b5beb140a127898799738666eb
net/mlx4_core: 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.

Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/eq.c