]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
qed: Add configuration information to register dump and debug data
authorDenis Bolotin <denis.bolotin@cavium.com>
Mon, 23 Apr 2018 11:56:05 +0000 (14:56 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Apr 2018 16:05:57 +0000 (12:05 -0400)
commit1ac4329a1cff2e0bb12b71c13ad53a0e05bc87a6
treebef01a9f31a882d136332bc4c3b378eb3ad08f96
parentb60bfdfec5b8ec88552e75c8bd99f1ebfa66a6e0
qed: Add configuration information to register dump and debug data

Configuration information is added to the debug data collection, in
addition to register dump.
Added qed_dbg_nvm_image() that receives an image type, allocates a
buffer and reads the image. The images are saved in the buffers and the
dump size is updated.

Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_debug.c
drivers/net/ethernet/qlogic/qed/qed_mcp.c
drivers/net/ethernet/qlogic/qed/qed_mcp.h
include/linux/qed/qed_if.h