diff options
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2019-09-14 00:01:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-16 16:44:27 +0200 |
commit | 57a8730b1f7a0be7bf8a0a0bb665329074ba764f (patch) | |
tree | 9e662af2d0db0eac85bfc7c1bb2ca551a81692e9 /drivers/net/ethernet/broadcom/bnxt/bnxt.h | |
parent | 268d0895f1b9690755d91b6ced60c9d8d17a7567 (diff) | |
download | linux-57a8730b1f7a0be7bf8a0a0bb665329074ba764f.tar.bz2 |
bnxt_en: Increase timeout for HWRM_DBG_COREDUMP_XX commands
Firmware coredump messages take much longer than standard messages,
so increase the timeout accordingly.
Fixes: 6c5657d085ae ("bnxt_en: Add support for ethtool get dump.")
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.h b/drivers/net/ethernet/broadcom/bnxt/bnxt.h index 333b0a85a7fd..42a8a7574570 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.h +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.h @@ -648,6 +648,7 @@ struct nqe_cn { #define SHORT_HWRM_CMD_TIMEOUT 20 #define HWRM_CMD_TIMEOUT (bp->hwrm_cmd_timeout) #define HWRM_RESET_TIMEOUT ((HWRM_CMD_TIMEOUT) * 4) +#define HWRM_COREDUMP_TIMEOUT ((HWRM_CMD_TIMEOUT) * 12) #define HWRM_RESP_ERR_CODE_MASK 0xffff #define HWRM_RESP_LEN_OFFSET 4 #define HWRM_RESP_LEN_MASK 0xffff0000 |