History

IB/core: Re-enable create_flow/destroy_flow uverbs

This commit reverts commit 7afbddfae993 ("IB/core: Temporarily disable create_flow/destroy_flow uverbs"). Since the uverbs extensions functionality was experimental for v3.12, this patch re-enables the support for them and flow-steering for v3.13.

Matan Barak committed 13 years ago

Commit 69ad5da1 parent f21519b6 files · +0 −32Browse files

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

Unified · Split

include/uapi/rdma/ib_user_verbs.h+0−6
@@ -89,12 +89,10 @@ enum { · 88 unmodified lines
8989 IB_USER_VERBS_CMD_OPEN_QP,
9090 };
9191
92−#ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING
9392 enum {
9493 IB_USER_VERBS_EX_CMD_CREATE_FLOW = IB_USER_VERBS_CMD_THRESHOLD,
9594 IB_USER_VERBS_EX_CMD_DESTROY_FLOW
9695 };
97−#endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */
9896
9997 /*
10098 * Make sure that all structs defined in this file remain laid out so
@@ -137,14 +135,12 @@ struct ib_uverbs_cmd_hdr { · 36 unmodified lines
137135 __u16 out_words;
138136 };
139137
140−#ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING
141138 struct ib_uverbs_ex_cmd_hdr {
142139 __u64 response;
143140 __u16 provider_in_words;
144141 __u16 provider_out_words;
145142 __u32 cmd_hdr_reserved;
146143 };
147−#endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */
148144
149145 struct ib_uverbs_get_context {
150146 __u64 response;
@@ -707,7 +703,6 @@ struct ib_uverbs_detach_mcast { · 556 unmodified lines
707703 __u64 driver_data[0];
708704 };
709705
710−#ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING
711706 struct ib_uverbs_flow_spec_hdr {
712707 __u32 type;
713708 __u16 size;
@@ -802,7 +797,6 @@ struct ib_uverbs_destroy_flow { · 88 unmodified lines
802797 __u32 comp_mask;
803798 __u32 flow_handle;
804799 };
805−#endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */
806800
807801 struct ib_uverbs_create_srq {
808802 __u64 response;