crypto: cavium - Add debugfs support in CNN55XX driver.
Add debugfs support in CNN55XX Physical Function driver. Provides hardware counters and firmware information. Signed-off-by: Srikanth Jampala <Jampala.Srikanth@cavium.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:

committed by
Herbert Xu

parent
14fa93cdcd
commit
086eac9eb4
@@ -118,6 +118,7 @@ struct nitrox_bh {
|
||||
* @msix: MSI-X information
|
||||
* @bh: post processing work
|
||||
* @hw: hardware information
|
||||
* @debugfs_dir: debugfs directory
|
||||
*/
|
||||
struct nitrox_device {
|
||||
struct list_head list;
|
||||
@@ -141,6 +142,9 @@ struct nitrox_device {
|
||||
struct nitrox_bh bh;
|
||||
|
||||
struct nitrox_hw hw;
|
||||
#if IS_ENABLED(CONFIG_DEBUG_FS)
|
||||
struct dentry *debugfs_dir;
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user