diff options
author | Upinder Malhi <umalhi@cisco.com> | 2014-01-10 03:40:58 +0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-01-14 12:44:46 +0400 |
commit | 9f637f7936025aef57f247b11036bad18bb87c06 (patch) | |
tree | 6f6b0f89a5e7cd16680c4fdd29c301d9161c1e88 /drivers/infiniband/hw/usnic/usnic_ib_qp_grp.h | |
parent | c5f855e08a97edc107c4a3b73809ed629c1dcac1 (diff) | |
download | linux-9f637f7936025aef57f247b11036bad18bb87c06.tar.xz |
IB/usnic: Expose flows via debugfs
Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/usnic/usnic_ib_qp_grp.h')
-rw-r--r-- | drivers/infiniband/hw/usnic/usnic_ib_qp_grp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/usnic/usnic_ib_qp_grp.h b/drivers/infiniband/hw/usnic/usnic_ib_qp_grp.h index a8ba1b9224d8..b0aafe8db0c3 100644 --- a/drivers/infiniband/hw/usnic/usnic_ib_qp_grp.h +++ b/drivers/infiniband/hw/usnic/usnic_ib_qp_grp.h @@ -19,6 +19,7 @@ #ifndef USNIC_IB_QP_GRP_H_ #define USNIC_IB_QP_GRP_H_ +#include <linux/debugfs.h> #include <rdma/ib_verbs.h> #include "usnic_ib.h" @@ -62,6 +63,10 @@ struct usnic_ib_qp_grp_flow { }; struct usnic_ib_qp_grp *qp_grp; struct list_head link; + + /* Debug FS */ + struct dentry *dbgfs_dentry; + char dentry_name[32]; }; static const struct |