qed: Set the doorbell address correctly
authorMichal Kalderon <michal.kalderon@marvell.com>
Sun, 26 May 2019 12:22:25 +0000 (15:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 07:14:01 +0000 (09:14 +0200)
commit1c8e736115cd291519467aaea274ccf9f7f7c1df
tree239a04fcf51fe65843106f69b1454fa64817ab3d
parentdf6680de7a20387ef90db4c124ec1b8a3ec71112
qed: Set the doorbell address correctly

[ Upstream commit 8366d520019f366fabd6c7a13032bdcd837e18d4 ]

In 100g mode the doorbell bar is united for both engines. Set
the correct offset in the hwfn so that the doorbell returned
for RoCE is in the affined hwfn.

Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Denis Bolotin <denis.bolotin@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@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_dev.c
drivers/net/ethernet/qlogic/qed/qed_rdma.c