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
..
2019-04-05 17:45:22 +02:00
2018-06-14 19:27:50 +02:00
2018-04-14 00:40:21 +02:00
2020-07-11 06:18:52 +02:00
2018-04-27 15:54:56 +01:00
2020-04-21 13:57:06 +02:00
2018-04-27 15:54:56 +01:00
2020-04-21 13:57:08 +02:00
2020-01-20 18:02:17 +01:00
2020-04-21 13:57:06 +02:00
2019-07-31 00:22:33 +02:00
2018-10-11 18:53:48 +02:00
2018-03-30 14:08:44 +02:00
2019-04-12 17:01:13 +02:00
2018-12-13 17:53:50 +00:00
2019-10-23 16:43:08 +02:00
2020-07-11 06:18:53 +02:00
2018-04-27 15:54:56 +01:00