Rasesh Mody a50d7cbbda net/qede: support registers dump
Add support for .get_reg eth_dev ops which will be used to collect the
firmware debug data.

PMD on detecting on some HW errors will collect the FW/HW Dump to a
buffer and then it will save it to a file implemented in
qede_save_fw_dump().

Dump file location and name:
Location: <RTE_SDK> or DPDK root
Name: qede_pmd_dump_mm-dd-yy_hh-mm-ss.bin

DPDK applications can initiate a debug data collection by invoking DPDK
library’s rte_eth_dev_get_reg_info() API. This API invokes .get_reg()
interface in the PMD.

PMD implementation of .get_reg() collects the FW/HW Dump, saves it to
data field of rte_dev_reg_info and passes it to the application. It’s
the responsibility of the application to save the FW/HW Dump to a file.
We recommendation using the file name format used by qede_save_fw_dump().

Signed-off-by: Rasesh Mody <rmody@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
2020-07-11 06:18:53 +02:00
..
2020-07-11 06:18:53 +02:00
2019-11-28 03:12:55 +01:00
2018-10-26 22:14:05 +02:00
2020-07-11 06:18:52 +02:00
2019-11-06 21:30:00 +01:00
2019-11-15 11:36:27 +01:00
2020-05-25 17:49:32 +02:00
2018-02-08 18:42:14 +01:00
2020-04-21 13:57:08 +02:00
2020-04-21 13:57:07 +02:00
2020-01-20 18:02:17 +01:00
2019-04-19 14:51:54 +02:00
2020-01-17 19:59:18 +01:00
2019-11-26 00:12:08 +01:00
2020-02-25 15:55:54 +01:00
2019-07-23 14:31:34 +02:00
2020-04-21 13:57:07 +02:00
2019-10-23 16:43:08 +02:00
2019-11-26 18:05:15 +01:00
2020-04-21 13:57:06 +02:00
2019-11-26 18:05:15 +01:00
2020-02-21 11:41:21 +01:00