History

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 ]

Yann Droneaud committed 13 years ago

Commit 7afbddf1 parent 31d141e6 files · +31 −0Browse files

Showing the changes to include/uapi (1 of 6 files). Show all

Unified · Split

include/uapi/rdma/ib_user_verbs.h+6−0
@@ -87,8 +87,10 @@ enum { · 86 unmodified lines
8787 IB_USER_VERBS_CMD_CLOSE_XRCD,
8888 IB_USER_VERBS_CMD_CREATE_XSRQ,
8989 IB_USER_VERBS_CMD_OPEN_QP,
90+#ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING
9091 IB_USER_VERBS_CMD_CREATE_FLOW = IB_USER_VERBS_CMD_THRESHOLD,
9192 IB_USER_VERBS_CMD_DESTROY_FLOW
93+#endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */
9294 };
9395
9496 /*
@@ -126,6 +128,7 @@ struct ib_uverbs_cmd_hdr { · 31 unmodified lines
126128 __u16 out_words;
127129 };
128130
131+#ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING
129132 struct ib_uverbs_cmd_hdr_ex {
130133 __u32 command;
131134 __u16 in_words;
@@ -134,6 +137,7 @@ struct ib_uverbs_cmd_hdr_ex { · 2 unmodified lines
134137 __u16 provider_out_words;
135138 __u32 cmd_hdr_reserved;
136139 };
140+#endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */
137141
138142 struct ib_uverbs_get_context {
139143 __u64 response;
@@ -696,6 +700,7 @@ struct ib_uverbs_detach_mcast { · 556 unmodified lines
696700 __u64 driver_data[0];
697701 };
698702
703+#ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING
699704 struct ib_kern_eth_filter {
700705 __u8 dst_mac[6];
701706 __u8 src_mac[6];
@@ -780,6 +785,7 @@ struct ib_uverbs_destroy_flow { · 78 unmodified lines
780785 __u32 comp_mask;
781786 __u32 flow_handle;
782787 };
788+#endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */
783789
784790 struct ib_uverbs_create_srq {
785791 __u64 response;