Skip to content

Commit fd7cdf8

Browse files
Vasundhara VolamSomasundaram Krishnasamy
authored andcommitted
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 <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]> (cherry picked from commit 5b306bd) Orabug: 30431202 Signed-off-by: Somasundaram Krishnasamy <[email protected]> Reviewed-by: John Donnelly <[email protected]>
1 parent 0f2dcee commit fd7cdf8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2994,7 +2994,8 @@ static int bnxt_hwrm_dbg_dma_data(struct bnxt *bp, void *msg, int msg_len,
29942994
mutex_lock(&bp->hwrm_cmd_lock);
29952995
while (1) {
29962996
*seq_ptr = cpu_to_le16(seq);
2997-
rc = _hwrm_send_message(bp, msg, msg_len, HWRM_CMD_TIMEOUT);
2997+
rc = _hwrm_send_message(bp, msg, msg_len,
2998+
HWRM_COREDUMP_TIMEOUT);
29982999
if (rc)
29993000
break;
30003001

0 commit comments

Comments
 (0)