ionic: add timeout error checking for queue disable
authorShannon Nelson <snelson@pensando.io>
Fri, 20 Mar 2020 02:31:48 +0000 (19:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Mar 2020 02:56:04 +0000 (19:56 -0700)
commit4ee7bda4ecc6bf57a391b9bb46249bf119558f32
tree30a2386c49b6d17482d6658bcbae7f7c5d5d69f5
parent6fcd42242ebcc98ebf1a9a03f5e8cb646277fd78
ionic: add timeout error checking for queue disable

Short circuit the cleanup if we get a timeout error from
ionic_qcq_disable() so as to not have to wait too long
on shutdown when we already know the FW is not responding.

Fixes: 0f3154e6bcb3 ("ionic: Add Tx and Rx handling")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c