summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt.h
diff options
context:
space:
mode:
authorAndy Gospodarek <gospo@broadcom.com>2018-04-26 17:44:40 -0400
committerDavid S. Miller <davem@davemloft.net>2018-04-27 14:47:30 -0400
commitcabfb09d87bd7980cb4e39bd2ce679a788eb7e7a (patch)
tree9f6300d1f02c2aa8a79d903bbbffac656b7441dc /drivers/net/ethernet/broadcom/bnxt/bnxt.h
parent9751e8e714872aa650b030e52a9fafbb694a3714 (diff)
downloadlinux-cabfb09d87bd7980cb4e39bd2ce679a788eb7e7a.tar.gz
linux-cabfb09d87bd7980cb4e39bd2ce679a788eb7e7a.tar.bz2
linux-cabfb09d87bd7980cb4e39bd2ce679a788eb7e7a.zip
bnxt_en: add debugfs support for DIM
This adds debugfs support for bnxt_en with the purpose of allowing users to examine the current DIM profile in use for each receive queue. This was instrumental in debugging issues found with DIM and ensuring that the profiles we expect to use are the profiles being used. Signed-off-by: Andy Gospodarek <gospo@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt.h')
-rw-r--r--drivers/net/ethernet/broadcom/bnxt/bnxt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.h b/drivers/net/ethernet/broadcom/bnxt/bnxt.h
index 7fa4a458edd0..8df1d8b9d2e3 100644
--- a/drivers/net/ethernet/broadcom/bnxt/bnxt.h
+++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.h
@@ -1391,6 +1391,8 @@ struct bnxt {
u16 *cfa_code_map; /* cfa_code -> vf_idx map */
u8 switch_id[8];
struct bnxt_tc_info *tc_info;
+ struct dentry *debugfs_pdev;
+ struct dentry *debugfs_dim;
};
#define BNXT_RX_STATS_OFFSET(counter) \