cxgbe(4): Dump any mailbox command that times out.
This commit is contained in:
parent
5dd723425e
commit
aaa4ddd9d0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307759
@ -432,6 +432,21 @@ int t4_wr_mbox_meat_timeout(struct adapter *adap, int mbox, const void *cmd,
|
||||
CH_ERR(adap, "command %#x in mailbox %d timed out\n",
|
||||
*(const u8 *)cmd, mbox);
|
||||
|
||||
/* If DUMP_MBOX is set the mbox has already been dumped */
|
||||
if ((adap->debug_flags & DF_DUMP_MBOX) == 0) {
|
||||
p = cmd;
|
||||
CH_ERR(adap, "mbox: %016llx %016llx %016llx %016llx "
|
||||
"%016llx %016llx %016llx %016llx\n",
|
||||
(unsigned long long)be64_to_cpu(p[0]),
|
||||
(unsigned long long)be64_to_cpu(p[1]),
|
||||
(unsigned long long)be64_to_cpu(p[2]),
|
||||
(unsigned long long)be64_to_cpu(p[3]),
|
||||
(unsigned long long)be64_to_cpu(p[4]),
|
||||
(unsigned long long)be64_to_cpu(p[5]),
|
||||
(unsigned long long)be64_to_cpu(p[6]),
|
||||
(unsigned long long)be64_to_cpu(p[7]));
|
||||
}
|
||||
|
||||
t4_report_fw_error(adap);
|
||||
t4_fatal_err(adap);
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user