]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Retrieve coredump and crashdump size via FW command
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Fri, 29 Oct 2021 07:47:50 +0000 (03:47 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Oct 2021 11:13:05 +0000 (12:13 +0100)
commit9a324e4d181e1ac43349556e5510d1adaa7ccbad
treee79b586a4e7940243b71241db6d424edb04acf96
parentb3fe81396942c26f800184c66b310e61272649b4
bnxt_en: Retrieve coredump and crashdump size via FW command

Recent firmware provides coredump and crashdump size info via
DBG_QCFG command. Read the dump sizes from firmware, instead of
computing in the driver. This patch reduces the time taken
to collect the dump via ethtool.

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>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c