diff options
Diffstat (limited to 'include/rdma/restrack.h')
| -rw-r--r-- | include/rdma/restrack.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/rdma/restrack.h b/include/rdma/restrack.h index ecf3c7702a4f..b0fc6b26bdf5 100644 --- a/include/rdma/restrack.h +++ b/include/rdma/restrack.h | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | #include <uapi/rdma/rdma_netlink.h> | 14 | #include <uapi/rdma/rdma_netlink.h> |
| 15 | #include <linux/xarray.h> | 15 | #include <linux/xarray.h> |
| 16 | 16 | ||
| 17 | struct ib_device; | ||
| 18 | struct sk_buff; | ||
| 19 | |||
| 17 | /** | 20 | /** |
| 18 | * enum rdma_restrack_type - HW objects to track | 21 | * enum rdma_restrack_type - HW objects to track |
| 19 | */ | 22 | */ |
| @@ -43,13 +46,15 @@ enum rdma_restrack_type { | |||
| 43 | */ | 46 | */ |
| 44 | RDMA_RESTRACK_CTX, | 47 | RDMA_RESTRACK_CTX, |
| 45 | /** | 48 | /** |
| 49 | * @RDMA_RESTRACK_COUNTER: Statistic Counter | ||
| 50 | */ | ||
| 51 | RDMA_RESTRACK_COUNTER, | ||
| 52 | /** | ||
| 46 | * @RDMA_RESTRACK_MAX: Last entry, used for array dclarations | 53 | * @RDMA_RESTRACK_MAX: Last entry, used for array dclarations |
| 47 | */ | 54 | */ |
| 48 | RDMA_RESTRACK_MAX | 55 | RDMA_RESTRACK_MAX |
| 49 | }; | 56 | }; |
| 50 | 57 | ||
| 51 | struct ib_device; | ||
| 52 | |||
| 53 | /** | 58 | /** |
| 54 | * struct rdma_restrack_entry - metadata per-entry | 59 | * struct rdma_restrack_entry - metadata per-entry |
| 55 | */ | 60 | */ |
