xref: /freebsd/contrib/ofed/libibcm/cm_abi.h (revision 643ac419fafba89f5adda0e0ea75b538727453fb)
1 /*
2  * This software is available to you under a choice of one of two
3  * licenses.  You may choose to be licensed under the terms of the GNU
4  * General Public License (GPL) Version 2, available from the file
5  * COPYING in the main directory of this source tree, or the
6  * OpenIB.org BSD license below:
7  *
8  *     Redistribution and use in source and binary forms, with or
9  *     without modification, are permitted provided that the following
10  *     conditions are met:
11  *
12  *      - Redistributions of source code must retain the above
13  *        copyright notice, this list of conditions and the following
14  *        disclaimer.
15  *
16  *      - Redistributions in binary form must reproduce the above
17  *        copyright notice, this list of conditions and the following
18  *        disclaimer in the documentation and/or other materials
19  *        provided with the distribution.
20  *
21  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
25  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
26  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28  * SOFTWARE.
29  */
30 
31 #ifndef INFINIBAND_CM_ABI_H
32 #define INFINIBAND_CM_ABI_H
33 
34 #warning "This header is obsolete, use rdma/ib_user_cm.h instead"
35 
36 #include <rdma/ib_user_cm.h>
37 
38 #define cm_abi_cmd_hdr ib_ucm_cmd_hdr
39 #define cm_abi_create_id ib_ucm_create_id
40 #define cm_abi_create_id_resp ib_ucm_create_id_resp
41 #define cm_abi_destroy_id ib_ucm_destroy_id
42 #define cm_abi_destroy_id_resp ib_ucm_destroy_id_resp
43 #define cm_abi_attr_id ib_ucm_attr_id
44 #define cm_abi_attr_id_resp ib_ucm_attr_id_resp
45 #define cm_abi_init_qp_attr ib_ucm_init_qp_attr
46 #define cm_abi_listen ib_ucm_listen
47 #define cm_abi_establish ib_ucm_establish
48 #define cm_abi_notify ib_ucm_notify
49 #define cm_abi_private_data ib_ucm_private_data
50 #define cm_abi_req ib_ucm_req
51 #define cm_abi_rep ib_ucm_rep
52 #define cm_abi_info ib_ucm_info
53 #define cm_abi_mra ib_ucm_mra
54 #define cm_abi_lap ib_ucm_lap
55 #define cm_abi_sidr_req ib_ucm_sidr_req
56 #define cm_abi_sidr_rep ib_ucm_sidr_rep
57 #define cm_abi_event_get ib_ucm_event_get
58 #define cm_abi_req_event_resp ib_ucm_req_event_resp
59 #define cm_abi_rep_event_resp ib_ucm_rep_event_resp
60 #define cm_abi_rej_event_resp ib_ucm_rej_event_resp
61 #define cm_abi_mra_event_resp ib_ucm_mra_event_resp
62 #define cm_abi_lap_event_resp ib_ucm_lap_event_resp
63 #define cm_abi_apr_event_resp ib_ucm_apr_event_resp
64 #define cm_abi_sidr_req_event_resp ib_ucm_sidr_req_event_resp
65 #define cm_abi_sidr_rep_event_resp ib_ucm_sidr_rep_event_resp
66 #define cm_abi_event_resp ib_ucm_event_resp
67 
68 #define CM_ABI_PRES_DATA IB_UCM_PRES_DATA
69 #define CM_ABI_PRES_INFO IB_UCM_PRES_INFO
70 #define CM_ABI_PRES_PRIMARY IB_UCM_PRES_PRIMARY
71 #define CM_ABI_PRES_ALTERNATE IB_UCM_PRES_ALTERNATE
72 
73 #endif
74