aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/rdma_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rdma/rdma_counter.h')
-rw-r--r--include/rdma/rdma_counter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rdma/rdma_counter.h b/include/rdma/rdma_counter.h
index 0295b22cd1cd..45d5481a7846 100644
--- a/include/rdma/rdma_counter.h
+++ b/include/rdma/rdma_counter.h
@@ -63,4 +63,6 @@ int rdma_counter_get_mode(struct ib_device *dev, u32 port,
enum rdma_nl_counter_mode *mode,
enum rdma_nl_counter_mask *mask);
+int rdma_counter_modify(struct ib_device *dev, u32 port,
+ unsigned int index, bool enable);
#endif /* _RDMA_COUNTER_H_ */