diff options
author | Denis Bolotin <denis.bolotin@cavium.com> | 2018-04-23 14:56:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-23 12:05:57 -0400 |
commit | 1ac4329a1cff2e0bb12b71c13ad53a0e05bc87a6 (patch) | |
tree | bef01a9f31a882d136332bc4c3b378eb3ad08f96 /include/linux/qed | |
parent | b60bfdfec5b8ec88552e75c8bd99f1ebfa66a6e0 (diff) | |
download | linux-stable-1ac4329a1cff2e0bb12b71c13ad53a0e05bc87a6.tar.gz linux-stable-1ac4329a1cff2e0bb12b71c13ad53a0e05bc87a6.tar.bz2 linux-stable-1ac4329a1cff2e0bb12b71c13ad53a0e05bc87a6.zip |
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>
Diffstat (limited to 'include/linux/qed')
-rw-r--r-- | include/linux/qed/qed_if.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/qed/qed_if.h b/include/linux/qed/qed_if.h index b5b2bc9eacca..e53f9c7c2809 100644 --- a/include/linux/qed/qed_if.h +++ b/include/linux/qed/qed_if.h @@ -159,6 +159,9 @@ struct qed_dcbx_get { enum qed_nvm_images { QED_NVM_IMAGE_ISCSI_CFG, QED_NVM_IMAGE_FCOE_CFG, + QED_NVM_IMAGE_NVM_CFG1, + QED_NVM_IMAGE_DEFAULT_CFG, + QED_NVM_IMAGE_NVM_META, }; struct qed_link_eee_params { |