]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Improve logging of error recovery settings information.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 14 Feb 2021 23:05:01 +0000 (18:05 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2021 01:27:51 +0000 (17:27 -0800)
commitf4d95c3c194de04ae7b44f850131321c7ceb9312
tree758ded98938dc9cf03ca24d35ba9091d6ae9f17d
parentdf97b34d3ace777f90df368efe5508ddd32c16d4
bnxt_en: Improve logging of error recovery settings information.

We currently only log the error recovery settings if it is enabled.
In some cases, firmware disables error recovery after it was
initially enabled.  Without logging anything, the user will not be
aware of this change in setting.

Log it when error recovery is disabled.  Also, change the reset count
value from hexadecimal to decimal.

Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c