]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - drivers/infiniband/hw/mlx5/qp.c
IB/mlx5: Make sure doorbell record is visible before doorbell
authorEli Cohen <eli@dev.mellanox.co.il>
Tue, 14 Jan 2014 15:45:16 +0000 (17:45 +0200)
committerRoland Dreier <roland@purestorage.com>
Thu, 23 Jan 2014 07:23:49 +0000 (23:23 -0800)
commitada388f7afad1e2e87acbfe30600fdaff9bd6327
tree6592209193d6c069cbbad291a9b7251360d7d031
parent042b9adae899e1b497282d92205d3fef42d5ca8d
IB/mlx5: Make sure doorbell record is visible before doorbell

Put a wmb() to make sure the doorbell record is visible to the HCA before we
hit doorbell.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/qp.c