mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 14:26:40 +07:00
bnxt_en: Increase firmware response timeout for coredump commands.
Use the larger HWRM_COREDUMP_TIMEOUT value for coredump related data response from the firmware. These commands take longer than normal commands. Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
19b3751ffa
commit
5b306bde2b
@ -3040,7 +3040,8 @@ static int bnxt_hwrm_dbg_dma_data(struct bnxt *bp, void *msg, int msg_len,
|
||||
mutex_lock(&bp->hwrm_cmd_lock);
|
||||
while (1) {
|
||||
*seq_ptr = cpu_to_le16(seq);
|
||||
rc = _hwrm_send_message(bp, msg, msg_len, HWRM_CMD_TIMEOUT);
|
||||
rc = _hwrm_send_message(bp, msg, msg_len,
|
||||
HWRM_COREDUMP_TIMEOUT);
|
||||
if (rc)
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user