diff options
| author | Matan Barak <matanb@mellanox.com> | 2013-11-06 17:21:50 -0500 |
|---|---|---|
| committer | Roland Dreier <roland@purestorage.com> | 2013-11-17 11:22:09 -0500 |
| commit | 69ad5da41b4ed94aef31d4111a3442cfd73ce570 (patch) | |
| tree | b5fa67ae95a9352707b76a73b1040a235da570f7 /include/uapi | |
| parent | f21519b23c1b6fa25366be4114ccf7fcf1c190f9 (diff) | |
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.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/rdma/ib_user_verbs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/uapi/rdma/ib_user_verbs.h b/include/uapi/rdma/ib_user_verbs.h index 6ace125e1af6..cbfdd4ca9510 100644 --- a/include/uapi/rdma/ib_user_verbs.h +++ b/include/uapi/rdma/ib_user_verbs.h | |||
| @@ -89,12 +89,10 @@ enum { | |||
| 89 | IB_USER_VERBS_CMD_OPEN_QP, | 89 | IB_USER_VERBS_CMD_OPEN_QP, |
| 90 | }; | 90 | }; |
| 91 | 91 | ||
| 92 | #ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING | ||
| 93 | enum { | 92 | enum { |
| 94 | IB_USER_VERBS_EX_CMD_CREATE_FLOW = IB_USER_VERBS_CMD_THRESHOLD, | 93 | IB_USER_VERBS_EX_CMD_CREATE_FLOW = IB_USER_VERBS_CMD_THRESHOLD, |
| 95 | IB_USER_VERBS_EX_CMD_DESTROY_FLOW | 94 | IB_USER_VERBS_EX_CMD_DESTROY_FLOW |
| 96 | }; | 95 | }; |
| 97 | #endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */ | ||
| 98 | 96 | ||
| 99 | /* | 97 | /* |
| 100 | * Make sure that all structs defined in this file remain laid out so | 98 | * Make sure that all structs defined in this file remain laid out so |
| @@ -137,14 +135,12 @@ struct ib_uverbs_cmd_hdr { | |||
| 137 | __u16 out_words; | 135 | __u16 out_words; |
| 138 | }; | 136 | }; |
| 139 | 137 | ||
| 140 | #ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING | ||
| 141 | struct ib_uverbs_ex_cmd_hdr { | 138 | struct ib_uverbs_ex_cmd_hdr { |
| 142 | __u64 response; | 139 | __u64 response; |
| 143 | __u16 provider_in_words; | 140 | __u16 provider_in_words; |
| 144 | __u16 provider_out_words; | 141 | __u16 provider_out_words; |
| 145 | __u32 cmd_hdr_reserved; | 142 | __u32 cmd_hdr_reserved; |
| 146 | }; | 143 | }; |
| 147 | #endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */ | ||
| 148 | 144 | ||
| 149 | struct ib_uverbs_get_context { | 145 | struct ib_uverbs_get_context { |
| 150 | __u64 response; | 146 | __u64 response; |
| @@ -707,7 +703,6 @@ struct ib_uverbs_detach_mcast { | |||
| 707 | __u64 driver_data[0]; | 703 | __u64 driver_data[0]; |
| 708 | }; | 704 | }; |
| 709 | 705 | ||
| 710 | #ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING | ||
| 711 | struct ib_uverbs_flow_spec_hdr { | 706 | struct ib_uverbs_flow_spec_hdr { |
| 712 | __u32 type; | 707 | __u32 type; |
| 713 | __u16 size; | 708 | __u16 size; |
| @@ -802,7 +797,6 @@ struct ib_uverbs_destroy_flow { | |||
| 802 | __u32 comp_mask; | 797 | __u32 comp_mask; |
| 803 | __u32 flow_handle; | 798 | __u32 flow_handle; |
| 804 | }; | 799 | }; |
| 805 | #endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */ | ||
| 806 | 800 | ||
| 807 | struct ib_uverbs_create_srq { | 801 | struct ib_uverbs_create_srq { |
| 808 | __u64 response; | 802 | __u64 response; |
