linux/drivers/net/ethernet/broadcom/bnxt
Vasundhara Volam 0b0eacf3c8 bnxt_en: Add support to collect crash dump via ethtool
Driver supports 2 types of core dumps.

1. Live dump - Firmware dump when system is up and running.
2. Crash dump - Dump which is collected during firmware crash
                that can be retrieved after recovery.
Crash dump is currently supported only on specific 58800 chips
which can be retrieved using OP-TEE API only, as firmware cannot
access this region directly.

User needs to set the dump flag using following command before
initiating the dump collection:

    $ ethtool -W|--set-dump eth0 N

Where N is "0" for live dump and "1" for crash dump

Command to collect the dump after setting the flag:

    $ ethtool -w eth0 data Filename

v3: Modify set_dump to support even when CONFIG_TEE_BNXT_FW=n.
Also change log message to netdev_info().

Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-10-31 11:00:45 -07:00
..
bnxt.c bnxt_en: Add support to invoke OP-TEE API to reset firmware 2019-10-31 11:00:45 -07:00
bnxt.h bnxt_en: Add support to collect crash dump via ethtool 2019-10-31 11:00:45 -07:00
bnxt_coredump.h
bnxt_dcb.c bnxt_en: Prepare bnxt_init_one() to be called multiple times. 2019-08-30 14:02:18 -07:00
bnxt_dcb.h
bnxt_debugfs.c bnxt: no need to check return value of debugfs_create functions 2019-08-10 15:25:47 -07:00
bnxt_debugfs.h
bnxt_devlink.c devlink: propagate extack down to health reporter ops 2019-10-11 21:02:30 -07:00
bnxt_devlink.h bnxt_en: Add devlink health reset reporter. 2019-08-30 14:02:19 -07:00
bnxt_dim.c linux/dim: Move implementation to .c files 2019-06-25 13:46:39 -07:00
bnxt_ethtool.c bnxt_en: Add support to collect crash dump via ethtool 2019-10-31 11:00:45 -07:00
bnxt_ethtool.h bnxt_en: Add support to collect crash dump via ethtool 2019-10-31 11:00:45 -07:00
bnxt_fw_hdr.h
bnxt_hsi.h bnxt_en: Update firmware interface spec. to 1.10.0.100. 2019-09-16 16:44:27 +02:00
bnxt_nvm_defs.h
bnxt_sriov.c bnxt_en: Retain user settings on a VF after RESET_NOTIFY event. 2019-08-30 14:02:19 -07:00
bnxt_sriov.h bnxt_en: Retain user settings on a VF after RESET_NOTIFY event. 2019-08-30 14:02:19 -07:00
bnxt_tc.c bnxt_en: Convert error code in firmware message response to standard code. 2019-08-30 14:02:18 -07:00
bnxt_tc.h bnxt_en: Fix to include flow direction in L2 key 2019-08-18 13:05:01 -07:00
bnxt_ulp.c bnxt_en: Handle firmware reset. 2019-08-30 14:02:19 -07:00
bnxt_ulp.h bnxt_en: get rid of num_stat_ctxs variable 2018-12-17 23:08:53 -08:00
bnxt_vfr.c drivers: net: use flow block API 2019-07-09 14:38:50 -07:00
bnxt_vfr.h devlink: Add extack for eswitch operations 2018-10-03 16:17:58 -07:00
bnxt_xdp.c bnxt_en: add page_pool support 2019-07-08 15:15:25 -07:00
bnxt_xdp.h bnxt_en: optimized XDP_REDIRECT support 2019-07-08 15:15:24 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00