summaryrefslogtreecommitdiff
path: root/include/rdma/restrack.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-07-09 15:44:47 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-07-09 15:44:47 +0300
commit390d57728d8e6f7283030cb20d3b5459771a32f1 (patch)
treefe752ae1f3bc33af1ff983555e9ec6d622d9c8d0 /include/rdma/restrack.h
parent7a54f78d9387b75d8e64bac18e84cd65f639121f (diff)
downloadlinux-390d57728d8e6f7283030cb20d3b5459771a32f1.tar.xz
RDMA/core: Make rdma_counter.h compile stand alone
5.4-rc1 will have new compile time debugging to test that headers can be compiled stand alone. Many rdma headers are already broken and excluded from the mechanism, however to avoid compile failures during the merge window fix enough so that the newly added header compiles clean. Fixes: 413d3347503b ("RDMA/counter: Add set/clear per-port auto mode support") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Mark Zhang <markz@mellanox.com>
Diffstat (limited to 'include/rdma/restrack.h')
-rw-r--r--include/rdma/restrack.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/rdma/restrack.h b/include/rdma/restrack.h
index 4041a4d96524..b0fc6b26bdf5 100644
--- a/include/rdma/restrack.h
+++ b/include/rdma/restrack.h
@@ -14,6 +14,9 @@
#include <uapi/rdma/rdma_netlink.h>
#include <linux/xarray.h>
+struct ib_device;
+struct sk_buff;
+
/**
* enum rdma_restrack_type - HW objects to track
*/
@@ -52,8 +55,6 @@ enum rdma_restrack_type {
RDMA_RESTRACK_MAX
};
-struct ib_device;
-
/**
* struct rdma_restrack_entry - metadata per-entry
*/