[v2,0/4] net/qede: add FW debug data collection support
mbox series

Message ID 20200630083215.13108-1-rmody@marvell.com
Headers show
Series
  • net/qede: add FW debug data collection support
Related show

Message

Rasesh Mody June 30, 2020, 8:32 a.m. UTC
Hi Jerin, Ferruh,

This patch-set adds an ability to collect FW and HW Debug Data/Dump
(referred to as FW/HW Dump) to QEDE PMD. The dump is collected either
when PMD detects an error or when a DPDK application asks PMD to
collect it upon detection of application error. This FW/HW Dump
needs to be saved to a file and sent to Marvell for analysis.

Please apply to dpdk-next-net-mrvl and dpdk-next-net trees.

v2:
Addressed checkpatch issues and updated supported features. 

Thanks!
-Rasesh

Rasesh Mody (4):
  net/qede/base: re-arrange few structures for DDC
  net/qede/base: add changes for debug data collection
  net/qede: add infrastructure for debug data collection
  net/qede: add support for get register operation

 doc/guides/nics/features/qede.ini             |    1 +
 drivers/net/qede/Makefile                     |    5 +-
 drivers/net/qede/base/bcm_osal.c              |   31 +
 drivers/net/qede/base/bcm_osal.h              |   18 +-
 drivers/net/qede/base/common_hsi.h            |    1 +
 drivers/net/qede/base/ecore.h                 |   54 +-
 drivers/net/qede/base/ecore_cxt.c             |  200 +-
 drivers/net/qede/base/ecore_cxt.h             |  140 +-
 drivers/net/qede/base/ecore_dev.c             |   13 +
 drivers/net/qede/base/ecore_hsi_common.h      |  184 +-
 drivers/net/qede/base/ecore_hsi_debug_tools.h |    2 +-
 drivers/net/qede/base/ecore_hsi_func_common.h |   17 +
 drivers/net/qede/base/ecore_init_fw_funcs.h   |    7 -
 drivers/net/qede/base/ecore_mcp.c             |  211 +
 drivers/net/qede/base/ecore_mcp_api.h         |   37 +
 drivers/net/qede/base/ecore_status.h          |    2 +
 drivers/net/qede/base/reg_addr.h              |  846 ++
 drivers/net/qede/qede_debug.c                 | 8120 +++++++++++++++++
 drivers/net/qede/qede_debug.h                 |  759 ++
 drivers/net/qede/qede_ethdev.c                |    2 +-
 drivers/net/qede/qede_ethdev.h                |   25 +
 drivers/net/qede/qede_if.h                    |   45 +
 drivers/net/qede/qede_main.c                  |   42 +-
 drivers/net/qede/qede_regs.c                  |  271 +
 24 files changed, 10874 insertions(+), 159 deletions(-)
 create mode 100644 drivers/net/qede/base/ecore_hsi_func_common.h
 create mode 100644 drivers/net/qede/qede_debug.c
 create mode 100644 drivers/net/qede/qede_debug.h
 create mode 100644 drivers/net/qede/qede_regs.c