diff options
author | Yann Droneaud <ydroneaud@opteya.com> | 2013-10-10 05:10:55 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-10-21 12:44:17 -0400 |
commit | 7afbddfae9931bf113c01bc5c6780dda3602ef6c (patch) | |
tree | ec012665be2a1ef570959889a2192a1e5446d8b2 /include | |
parent | 31d141e3a666269a3b6fcccddb0351caf7454240 (diff) |
IB/core: Temporarily disable create_flow/destroy_flow uverbs
The create_flow/destroy_flow uverbs and the associated extensions to
the user-kernel verbs ABI are under review and are too experimental to
freeze at this point.
So userspace is not exposed to experimental features and an uinstable
ABI, temporarily disable this for v3.12 (with a Kconfig option behind
staging to reenable it if desired).
The feature will be enabled after proper cleanup for v3.13.
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Link: http://marc.info/?i=cover.1381351016.git.ydroneaud@opteya.com
Link: http://marc.info/?i=cover.1381177342.git.ydroneaud@opteya.com
[ Add a Kconfig option to reenable these verbs. - Roland ]
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/rdma/ib_user_verbs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/rdma/ib_user_verbs.h b/include/uapi/rdma/ib_user_verbs.h index 0b233c56b0e4..e3ddd86c90a6 100644 --- a/include/uapi/rdma/ib_user_verbs.h +++ b/include/uapi/rdma/ib_user_verbs.h | |||
@@ -87,8 +87,10 @@ enum { | |||
87 | IB_USER_VERBS_CMD_CLOSE_XRCD, | 87 | IB_USER_VERBS_CMD_CLOSE_XRCD, |
88 | IB_USER_VERBS_CMD_CREATE_XSRQ, | 88 | IB_USER_VERBS_CMD_CREATE_XSRQ, |
89 | IB_USER_VERBS_CMD_OPEN_QP, | 89 | IB_USER_VERBS_CMD_OPEN_QP, |
90 | #ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING | ||
90 | IB_USER_VERBS_CMD_CREATE_FLOW = IB_USER_VERBS_CMD_THRESHOLD, | 91 | IB_USER_VERBS_CMD_CREATE_FLOW = IB_USER_VERBS_CMD_THRESHOLD, |
91 | IB_USER_VERBS_CMD_DESTROY_FLOW | 92 | IB_USER_VERBS_CMD_DESTROY_FLOW |
93 | #endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */ | ||
92 | }; | 94 | }; |
93 | 95 | ||
94 | /* | 96 | /* |
@@ -126,6 +128,7 @@ struct ib_uverbs_cmd_hdr { | |||
126 | __u16 out_words; | 128 | __u16 out_words; |
127 | }; | 129 | }; |
128 | 130 | ||
131 | #ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING | ||
129 | struct ib_uverbs_cmd_hdr_ex { | 132 | struct ib_uverbs_cmd_hdr_ex { |
130 | __u32 command; | 133 | __u32 command; |
131 | __u16 in_words; | 134 | __u16 in_words; |
@@ -134,6 +137,7 @@ struct ib_uverbs_cmd_hdr_ex { | |||
134 | __u16 provider_out_words; | 137 | __u16 provider_out_words; |
135 | __u32 cmd_hdr_reserved; | 138 | __u32 cmd_hdr_reserved; |
136 | }; | 139 | }; |
140 | #endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */ | ||
137 | 141 | ||
138 | struct ib_uverbs_get_context { | 142 | struct ib_uverbs_get_context { |
139 | __u64 response; | 143 | __u64 response; |
@@ -696,6 +700,7 @@ struct ib_uverbs_detach_mcast { | |||
696 | __u64 driver_data[0]; | 700 | __u64 driver_data[0]; |
697 | }; | 701 | }; |
698 | 702 | ||
703 | #ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING | ||
699 | struct ib_kern_eth_filter { | 704 | struct ib_kern_eth_filter { |
700 | __u8 dst_mac[6]; | 705 | __u8 dst_mac[6]; |
701 | __u8 src_mac[6]; | 706 | __u8 src_mac[6]; |
@@ -780,6 +785,7 @@ struct ib_uverbs_destroy_flow { | |||
780 | __u32 comp_mask; | 785 | __u32 comp_mask; |
781 | __u32 flow_handle; | 786 | __u32 flow_handle; |
782 | }; | 787 | }; |
788 | #endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */ | ||
783 | 789 | ||
784 | struct ib_uverbs_create_srq { | 790 | struct ib_uverbs_create_srq { |
785 | __u64 response; | 791 | __u64 response; |