cxgb4: Check for firmware errors in the mailbox command loop
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 3 May 2016 13:28:02 +0000 (18:58 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2016 17:59:27 +0000 (13:59 -0400)
commitf358738b1d64935b54430613691a6ef8c1f6d450
treeacb7bc9833aae4208989150a504fdc6fb4ed1e8b
parent5a20f5cfd7276862a8d21d75f83359840ed6e662
cxgb4: Check for firmware errors in the mailbox command loop

Check for firmware errors in the mailbox command loop and report
them differently rather than simply timing out when the firmware goes
belly up.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c