qed: Set the doorbell address correctly
authorMichal Kalderon <michal.kalderon@marvell.com>
Sun, 26 May 2019 12:22:25 +0000 (15:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 May 2019 20:04:12 +0000 (13:04 -0700)
commit8366d520019f366fabd6c7a13032bdcd837e18d4
tree18bfbb1841fbf922bc19e0ce377e6df4cc72d4b0
parent443473d2f3a53100cfde67415feddde2b8781732
qed: Set the doorbell address correctly

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>
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_rdma.c