qed: Wait for resources before FUNC_CLOSE
authorMichal Kalderon <Michal.Kalderon@cavium.com>
Tue, 20 Jun 2017 13:00:05 +0000 (16:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 16:34:08 +0000 (12:34 -0400)
commit898fff120d9e73c2432432d4e457bf584b2a9df7
tree913126b6af9b6588a43ec51c54947db0a3dc746f
parentbbfcd1e8e1677b1e692144c5709945e1dfe1ed30
qed: Wait for resources before FUNC_CLOSE

Driver needs to wait for all resources to return from FW before it can send
the FUNC_CLOSE ramrod.

Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_roce.c