]> 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)
commit9e78485e0121714f40a1ab24e9024be5889bc606
treee79b586a4e7940243b71241db6d424edb04acf96
parent0e3b3172954ab29811dc3c9f3e41400102365868
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