qed: Fix qed_ll2_post_rx_buffer_notify_fw() by adding a write memory barrier
authorDenis Bolotin <dbolotin@marvell.com>
Thu, 3 Jan 2019 10:02:40 +0000 (12:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:08:03 +0000 (10:08 +0100)
commit10b1df1928ab64d5904d07cdb5445621046b02c5
treeddb0653fffdb49dbdfb51c8878845284443d412e
parenta096429cac56f3d4571ae7914f98bd2eb201b5fe
qed: Fix qed_ll2_post_rx_buffer_notify_fw() by adding a write memory barrier

[ Upstream commit 46721c3d9e273aea880e9ff835b0e1271e1cd2fb ]

Make sure chain element is updated before ringing the doorbell.

Signed-off-by: Denis Bolotin <dbolotin@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/qlogic/qed/qed_ll2.c