14ebb14b2Sfrits# 24ebb14b2Sfrits# CDDL HEADER START 34ebb14b2Sfrits# 44ebb14b2Sfrits# The contents of this file are subject to the terms of the 54ebb14b2Sfrits# Common Development and Distribution License (the "License"). 64ebb14b2Sfrits# You may not use this file except in compliance with the License. 74ebb14b2Sfrits# 84ebb14b2Sfrits# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 94ebb14b2Sfrits# or http://www.opensolaris.org/os/licensing. 104ebb14b2Sfrits# See the License for the specific language governing permissions 114ebb14b2Sfrits# and limitations under the License. 124ebb14b2Sfrits# 134ebb14b2Sfrits# When distributing Covered Code, include this CDDL HEADER in each 144ebb14b2Sfrits# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 154ebb14b2Sfrits# If applicable, add the following below this CDDL HEADER, with the 164ebb14b2Sfrits# fields enclosed by brackets "[]" replaced with your own identifying 174ebb14b2Sfrits# information: Portions Copyright [yyyy] [name of copyright owner] 184ebb14b2Sfrits# 194ebb14b2Sfrits# CDDL HEADER END 204ebb14b2Sfrits# 21c87dd6b7SRajkumar Sivaprakasam# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 224ebb14b2Sfrits# 234ebb14b2Sfrits 244ebb14b2Sfrits# IBTF TI and VTI api entry points 254ebb14b2Sfritsroot ibt_attach 264ebb14b2Sfritsroot ibt_detach 274ebb14b2Sfritsroot ibc_init 284ebb14b2Sfritsroot ibc_fini 294ebb14b2Sfritsroot ibc_attach 304ebb14b2Sfritsroot ibc_post_attach 314ebb14b2Sfritsroot ibc_pre_detach 324ebb14b2Sfritsroot ibc_detach 334ebb14b2Sfritsroot ibt_ci_data_in 344ebb14b2Sfritsroot ibt_ci_data_out 354ebb14b2Sfritsroot ibt_usec2ib 364ebb14b2Sfritsroot ibt_ib2usec 374ebb14b2Sfritsroot ibt_register_mr 384ebb14b2Sfritsroot ibt_register_buf 394ebb14b2Sfritsroot ibt_query_mr 404ebb14b2Sfritsroot ibt_deregister_mr 414ebb14b2Sfritsroot ibt_reregister_mr 424ebb14b2Sfritsroot ibt_reregister_buf 434ebb14b2Sfritsroot ibt_register_shared_mr 444ebb14b2Sfritsroot ibt_sync_mr 454ebb14b2Sfritsroot ibt_alloc_mw 464ebb14b2Sfritsroot ibt_query_mw 474ebb14b2Sfritsroot ibt_free_mw 484ebb14b2Sfritsroot ibt_alloc_lkey 494ebb14b2Sfritsroot ibt_map_mem_area 504ebb14b2Sfritsroot ibt_unmap_mem_area 514ebb14b2Sfritsroot ibt_register_phys_mr 524ebb14b2Sfritsroot ibt_reregister_phys_mr 534ebb14b2Sfritsroot ibt_create_fmr_pool 544ebb14b2Sfritsroot ibt_destroy_fmr_pool 554ebb14b2Sfritsroot ibt_flush_fmr_pool 564ebb14b2Sfritsroot ibt_register_physical_fmr 574ebb14b2Sfritsroot ibt_deregister_fmr 584ebb14b2Sfritsroot ibt_enable_cq_notify 594ebb14b2Sfritsroot ibt_set_cq_handler 60*17a2b317SBill Taylorroot ibt_query_cq_handler_id 614ebb14b2Sfritsroot ibt_alloc_qp 624ebb14b2Sfritsroot ibt_initialize_qp 634ebb14b2Sfritsroot ibt_alloc_special_qp 644ebb14b2Sfritsroot ibt_flush_qp 654ebb14b2Sfritsroot ibt_free_qp 664ebb14b2Sfritsroot ibt_query_qp 674ebb14b2Sfritsroot ibt_modify_qp 684ebb14b2Sfritsroot ibt_migrate_path 694ebb14b2Sfritsroot ibt_set_qp_private 704ebb14b2Sfritsroot ibt_get_qp_private 714ebb14b2Sfritsroot ibt_qp_to_hca_guid 724ebb14b2Sfritsroot ibt_recover_ud_qp 734ebb14b2Sfritsroot ibt_pause_sendq 744ebb14b2Sfritsroot ibt_unpause_sendq 754ebb14b2Sfritsroot ibt_resize_queues 764ebb14b2Sfritsroot ibt_query_queues 774ebb14b2Sfritsroot ibt_modify_rdma 784ebb14b2Sfritsroot ibt_set_rdma_resource 794ebb14b2Sfritsroot ibt_change_port 804ebb14b2Sfritsroot ibt_alloc_cq_sched 814ebb14b2Sfritsroot ibt_free_cq_sched 824ebb14b2Sfritsroot ibt_alloc_cq 834ebb14b2Sfritsroot ibt_free_cq 844ebb14b2Sfritsroot ibt_query_cq 854ebb14b2Sfritsroot ibt_resize_cq 8603494a98SBill Taylorroot ibt_modify_cq 874ebb14b2Sfritsroot ibt_poll_cq 884ebb14b2Sfritsroot ibt_set_cq_private 894ebb14b2Sfritsroot ibt_get_cq_private 904ebb14b2Sfritsroot ibt_post_send 914ebb14b2Sfritsroot ibt_post_recv 924ebb14b2Sfritsroot ibt_open_hca 934ebb14b2Sfritsroot ibt_close_hca 944ebb14b2Sfritsroot ibt_get_hca_list 954ebb14b2Sfritsroot ibt_free_hca_list 964ebb14b2Sfritsroot ibt_get_port_state 974ebb14b2Sfritsroot ibt_get_port_state_byguid 984ebb14b2Sfritsroot ibt_query_hca_byguid 994ebb14b2Sfritsroot ibt_query_hca 1004ebb14b2Sfritsroot ibt_query_hca_ports 1014ebb14b2Sfritsroot ibt_query_hca_ports_byguid 1024ebb14b2Sfritsroot ibt_modify_system_image 1034ebb14b2Sfritsroot ibt_modify_system_image_byguid 1044ebb14b2Sfritsroot ibt_modify_port_byguid 1054ebb14b2Sfritsroot ibt_modify_port 1064ebb14b2Sfritsroot ibt_free_portinfo 1074ebb14b2Sfritsroot ibt_pkey2index 1084ebb14b2Sfritsroot ibt_pkey2index_byguid 1094ebb14b2Sfritsroot ibt_index2pkey 1104ebb14b2Sfritsroot ibt_index2pkey_byguid 1114ebb14b2Sfritsroot ibt_set_hca_private 1124ebb14b2Sfritsroot ibt_get_hca_private 1134ebb14b2Sfritsroot ibt_hca_handle_to_guid 1144ebb14b2Sfritsroot ibt_hca_guid_to_handle 1154ebb14b2Sfritsroot ibt_alloc_rc_channel 1164ebb14b2Sfritsroot ibt_query_rc_channel 1174ebb14b2Sfritsroot ibt_modify_rc_channel 1184ebb14b2Sfritsroot ibt_alloc_ud_channel 119*17a2b317SBill Taylorroot ibt_alloc_ud_channel_range 1204ebb14b2Sfritsroot ibt_query_ud_channel 1214ebb14b2Sfritsroot ibt_modify_ud_channel 1224ebb14b2Sfritsroot ibt_recover_ud_channel 1234ebb14b2Sfritsroot ibt_flush_channel 1244ebb14b2Sfritsroot ibt_free_channel 1254ebb14b2Sfritsroot ibt_alloc_ud_dest 1264ebb14b2Sfritsroot ibt_query_ud_dest 1274ebb14b2Sfritsroot ibt_modify_ud_dest 1284ebb14b2Sfritsroot ibt_free_ud_dest 1294ebb14b2Sfritsroot ibt_modify_reply_ud_dest 1304ebb14b2Sfritsroot ibt_is_privileged_ud_dest 1314ebb14b2Sfritsroot ibt_update_channel_qkey 1324ebb14b2Sfritsroot ibt_set_chan_private 1334ebb14b2Sfritsroot ibt_get_chan_private 1344ebb14b2Sfritsroot ibt_channel_to_hca_guid 1354ebb14b2Sfritsroot ibt_alloc_pd 1364ebb14b2Sfritsroot ibt_free_pd 1374ebb14b2Sfritsroot ibt_alloc_ah 1384ebb14b2Sfritsroot ibt_free_ah 1394ebb14b2Sfritsroot ibt_query_ah 1404ebb14b2Sfritsroot ibt_modify_ah 1414ebb14b2Sfritsroot ibt_attach_mcg 1424ebb14b2Sfritsroot ibt_detach_mcg 1434ebb14b2Sfritsroot ibt_recycle_ud 1444ebb14b2Sfritsroot ibt_reprobe_dev 1454ebb14b2Sfritsroot ibt_alloc_srq 1464ebb14b2Sfritsroot ibt_free_srq 1474ebb14b2Sfritsroot ibt_modify_srq 1484ebb14b2Sfritsroot ibt_post_srq 1494ebb14b2Sfritsroot ibt_query_srq 1504ebb14b2Sfritsroot ibt_get_srq_private 1514ebb14b2Sfritsroot ibt_set_srq_private 15203494a98SBill Taylorroot ibt_alloc_io_mem 15303494a98SBill Taylorroot ibt_free_io_mem 15403494a98SBill Taylorroot ibt_map_mem_iov 15503494a98SBill Taylorroot ibt_unmap_mem_iov 156c87dd6b7SRajkumar Sivaprakasamroot ibt_register_part_attr_cb 157c87dd6b7SRajkumar Sivaprakasamroot ibt_unregister_part_attr_cb 158c87dd6b7SRajkumar Sivaprakasamroot ibt_get_part_attr 159c87dd6b7SRajkumar Sivaprakasamroot ibt_get_all_part_attr 160c87dd6b7SRajkumar Sivaprakasamroot ibt_free_part_attr 161*17a2b317SBill Taylorroot ibt_register_dma_mr 1624ebb14b2Sfrits 1634ebb14b2Sfrits# IBTF CI api entry points 1644ebb14b2Sfritsroot ibc_init 1654ebb14b2Sfritsroot ibc_fini 1664ebb14b2Sfritsroot ibc_attach 1674ebb14b2Sfritsroot ibc_pre_detach 1684ebb14b2Sfritsroot ibc_detach 1694ebb14b2Sfritsroot ibc_async_handler 1704ebb14b2Sfritsroot ibc_cq_handler 1714ebb14b2Sfrits 1724ebb14b2Sfrits# IBTF Debug entry points 1734ebb14b2Sfritsroot ibtl_dprintf_intr 1744ebb14b2Sfritsroot ibtl_dprintf5 1754ebb14b2Sfritsroot ibtl_dprintf4 1764ebb14b2Sfritsroot ibtl_dprintf3 1774ebb14b2Sfritsroot ibtl_dprintf2 1784ebb14b2Sfritsroot ibtl_dprintf1 1794ebb14b2Sfritsroot ibtl_dprintf0 1804ebb14b2Sfrits 1814ebb14b2Sfrits# IBTL-CM private interface 1824ebb14b2Sfritsroot ibtl_cm_sm_notice_init_failure 1834ebb14b2Sfritsroot ibtl_cm_sm_notice_handler 1844ebb14b2Sfritsroot ibtl_cm_set_sm_notice_handler 185c87dd6b7SRajkumar Sivaprakasamroot ibtl_cm_chan_is_opening 186c87dd6b7SRajkumar Sivaprakasamroot ibtl_cm_chan_open_is_aborted 1874ebb14b2Sfritsroot ibtl_cm_chan_is_open 1884ebb14b2Sfritsroot ibtl_cm_is_chan_closing 1894ebb14b2Sfritsroot ibtl_cm_chan_is_closing 1904ebb14b2Sfritsroot ibtl_cm_chan_is_closed 1914ebb14b2Sfritsroot ibtl_cm_chan_is_reused 1924ebb14b2Sfritsroot ibtl_cm_is_chan_closed 1934ebb14b2Sfritsroot ibtl_cm_query_hca_ports_byguid 1944ebb14b2Sfritsroot ibtl_cm_set_chan_private 1954ebb14b2Sfritsroot ibtl_cm_get_chan_private 1964ebb14b2Sfritsroot ibtl_cm_release_chan_private 1974ebb14b2Sfritsroot ibtl_cm_wait_chan_private 1984ebb14b2Sfritsroot ibtl_cm_get_chan_type 1994ebb14b2Sfritsroot ibtl_cm_change_service_cnt 2004ebb14b2Sfritsroot ibtl_cm_get_hca_port 2014ebb14b2Sfritsroot ibtl_cm_get_active_plist 2024ebb14b2Sfritsroot ibtl_cm_free_active_plist 2034ebb14b2Sfritsroot ibtl_cm_get_1st_full_pkey_ix 2044ebb14b2Sfritsroot ibtl_cm_get_local_comp_gids 2054ebb14b2Sfritsroot ibtl_cm_is_multi_sm 20676c04273SRajkumar Sivaprakasamroot ibtl_cm_set_node_info_cb 207d1a5c838SRamaswamy Tummalaroot ibtl_cm_get_clnt_name 20876c04273SRajkumar Sivaprakasamroot ibtl_dummy_node_info_cb 2094ebb14b2Sfrits 2104ebb14b2Sfrits# IBTL-IBNEX private interface 2114ebb14b2Sfritsroot ibtl_ibnex_get_hca_info 2124ebb14b2Sfritsroot ibtl_ibnex_register_callback 2134ebb14b2Sfritsroot ibtl_ibnex_unregister_callback 2144ebb14b2Sfritsroot ibtl_ibnex_hcadip2guid 2154ebb14b2Sfritsroot ibtl_ibnex_hcaguid2dip 2164ebb14b2Sfritsroot ibtl_ibnex_get_hca_verbose_data 2174ebb14b2Sfritsroot ibtl_ibnex_valid_hca_parent 218d1a5c838SRamaswamy Tummalaroot ibtl_ibnex_query_hca_byguid 2194ebb14b2Sfrits 2204ebb14b2Sfrits# IBTL internal taskq related callbacks 2214ebb14b2Sfritsroot ibtl_do_mgr_async_task 2224ebb14b2Sfritsroot ibtl_hca_client_async_task 2234ebb14b2Sfritsroot ibtl_tell_client_about_new_hca 2244ebb14b2Sfritsroot ibtl_sm_notice_task 22576c04273SRajkumar Sivaprakasamroot ibt_cisco_embedded_sm_rereg_fix 2264ebb14b2Sfrits 2274ebb14b2Sfrits# IBTL internal threads 2284ebb14b2Sfritsroot ibtl_async_thread 2294ebb14b2Sfritsroot ibtl_cq_thread 2304ebb14b2Sfrits 2314ebb14b2Sfrits# IBTL FMA Hooks 2324ebb14b2Sfritsroot ibc_get_ci_failure 2334ebb14b2Sfritsroot ibt_get_module_failure 2344ebb14b2Sfritsroot ibt_check_failure 2354ebb14b2Sfrits 236d1a5c838SRamaswamy Tummala# IBTL kstat callback 237d1a5c838SRamaswamy Tummalaroot ibtl_kstat_stats_update 238d1a5c838SRamaswamy Tummalaroot ibtl_kstat_pkeys_update 239d1a5c838SRamaswamy Tummala 240d1a5c838SRamaswamy Tummala 2414ebb14b2Sfrits 2424ebb14b2Sfrits# Internal, but not referenced (n the future, maybe) 2434ebb14b2Sfritsroot ibtl_free_eec_async_check 2444ebb14b2Sfrits 2454ebb14b2Sfritsadd ibc_operations_s::ibc_alloc_ah targets warlock_dummy 2464ebb14b2Sfritsadd bus_ops::bus_add_eventcall targets warlock_dummy 2474ebb14b2Sfritsadd bus_ops::bus_config targets warlock_dummy 2484ebb14b2Sfritsadd bus_ops::bus_get_eventcookie targets warlock_dummy 2494ebb14b2Sfritsadd bus_ops::bus_intr_ctl targets warlock_dummy 2504ebb14b2Sfritsadd bus_ops::bus_post_event targets warlock_dummy 2514ebb14b2Sfritsadd bus_ops::bus_remove_eventcall targets warlock_dummy 2524ebb14b2Sfritsadd bus_ops::bus_unconfig targets warlock_dummy 2534ebb14b2Sfritsadd ibc_operations_s::ibc_alloc_cq targets warlock_dummy 2544ebb14b2Sfritsadd ibc_operations_s::ibc_alloc_cq_sched targets warlock_dummy 2554ebb14b2Sfritsadd ibc_operations_s::ibc_alloc_mw targets warlock_dummy 2564ebb14b2Sfritsadd ibc_operations_s::ibc_alloc_pd targets warlock_dummy 2574ebb14b2Sfritsadd ibc_operations_s::ibc_alloc_qp targets warlock_dummy 258*17a2b317SBill Tayloradd ibc_operations_s::ibc_alloc_qp_range targets warlock_dummy 2594ebb14b2Sfritsadd ibc_operations_s::ibc_alloc_special_qp targets warlock_dummy 2604ebb14b2Sfritsadd ibc_operations_s::ibc_attach_mcg targets warlock_dummy 2614ebb14b2Sfritsadd ibc_operations_s::ibc_ci_data_in targets warlock_dummy 2624ebb14b2Sfritsadd ibc_operations_s::ibc_ci_data_out targets warlock_dummy 2634ebb14b2Sfritsadd ibc_operations_s::ibc_deregister_mr targets warlock_dummy 2644ebb14b2Sfritsadd ibc_operations_s::ibc_detach_mcg targets warlock_dummy 2654ebb14b2Sfritsadd ibc_operations_s::ibc_free_ah targets warlock_dummy 2664ebb14b2Sfritsadd ibc_operations_s::ibc_free_cq targets warlock_dummy 2674ebb14b2Sfritsadd ibc_operations_s::ibc_free_cq_sched targets warlock_dummy 2684ebb14b2Sfritsadd ibc_operations_s::ibc_free_mw targets warlock_dummy 2694ebb14b2Sfritsadd ibc_operations_s::ibc_free_pd targets warlock_dummy 2704ebb14b2Sfritsadd ibc_operations_s::ibc_free_qp targets warlock_dummy 2714ebb14b2Sfritsadd ibc_operations_s::ibc_modify_ah targets warlock_dummy 27203494a98SBill Tayloradd ibc_operations_s::ibc_modify_cq targets warlock_dummy 2734ebb14b2Sfritsadd ibc_operations_s::ibc_modify_ports targets warlock_dummy 2744ebb14b2Sfritsadd ibc_operations_s::ibc_modify_qp targets warlock_dummy 2754ebb14b2Sfritsadd ibc_operations_s::ibc_modify_system_image targets warlock_dummy 2764ebb14b2Sfritsadd ibc_operations_s::ibc_notify_cq targets warlock_dummy 2774ebb14b2Sfritsadd ibc_operations_s::ibc_poll_cq targets warlock_dummy 2784ebb14b2Sfritsadd ibc_operations_s::ibc_post_recv targets warlock_dummy 2794ebb14b2Sfritsadd ibc_operations_s::ibc_post_send targets warlock_dummy 2804ebb14b2Sfritsadd ibc_operations_s::ibc_query_ah targets warlock_dummy 2814ebb14b2Sfritsadd ibc_operations_s::ibc_query_cq targets warlock_dummy 282*17a2b317SBill Tayloradd ibc_operations_s::ibc_query_cq_handler_id targets warlock_dummy 2834ebb14b2Sfritsadd ibc_operations_s::ibc_query_hca_ports targets warlock_dummy 2844ebb14b2Sfritsadd ibc_operations_s::ibc_query_mr targets warlock_dummy 2854ebb14b2Sfritsadd ibc_operations_s::ibc_query_mw targets warlock_dummy 2864ebb14b2Sfritsadd ibc_operations_s::ibc_query_qp targets warlock_dummy 2874ebb14b2Sfritsadd ibc_operations_s::ibc_register_buf targets warlock_dummy 2884ebb14b2Sfritsadd ibc_operations_s::ibc_register_mr targets warlock_dummy 2894ebb14b2Sfritsadd ibc_operations_s::ibc_register_shared_mr targets warlock_dummy 2904ebb14b2Sfritsadd ibc_operations_s::ibc_release_qpn targets warlock_dummy 2914ebb14b2Sfritsadd ibc_operations_s::ibc_reregister_buf targets warlock_dummy 2924ebb14b2Sfritsadd ibc_operations_s::ibc_reregister_mr targets warlock_dummy 2934ebb14b2Sfritsadd ibc_operations_s::ibc_resize_cq targets warlock_dummy 2944ebb14b2Sfritsadd ibc_operations_s::ibc_sync_mr targets warlock_dummy 2954ebb14b2Sfritsadd ibc_operations_s::ibc_alloc_srq targets warlock_dummy 2964ebb14b2Sfritsadd ibc_operations_s::ibc_free_srq targets warlock_dummy 2974ebb14b2Sfritsadd ibc_operations_s::ibc_modify_srq targets warlock_dummy 2984ebb14b2Sfritsadd ibc_operations_s::ibc_post_srq targets warlock_dummy 2994ebb14b2Sfritsadd ibc_operations_s::ibc_query_srq targets warlock_dummy 3004ebb14b2Sfritsadd ibc_operations_s::ibc_map_mem_area targets warlock_dummy 3014ebb14b2Sfritsadd ibc_operations_s::ibc_unmap_mem_area targets warlock_dummy 3024ebb14b2Sfritsadd ibc_operations_s::ibc_alloc_lkey targets warlock_dummy 3034ebb14b2Sfritsadd ibc_operations_s::ibc_register_physical_mr targets warlock_dummy 3044ebb14b2Sfritsadd ibc_operations_s::ibc_reregister_physical_mr targets warlock_dummy 3054ebb14b2Sfritsadd ibc_operations_s::ibc_create_fmr_pool targets warlock_dummy 3064ebb14b2Sfritsadd ibc_operations_s::ibc_destroy_fmr_pool targets warlock_dummy 3074ebb14b2Sfritsadd ibc_operations_s::ibc_flush_fmr_pool targets warlock_dummy 3084ebb14b2Sfritsadd ibc_operations_s::ibc_register_physical_fmr targets warlock_dummy 3094ebb14b2Sfritsadd ibc_operations_s::ibc_deregister_fmr targets warlock_dummy 31003494a98SBill Tayloradd ibc_operations_s::ibc_alloc_io_mem targets warlock_dummy 31103494a98SBill Tayloradd ibc_operations_s::ibc_free_io_mem targets warlock_dummy 31203494a98SBill Tayloradd ibc_operations_s::ibc_map_mem_iov targets warlock_dummy 31303494a98SBill Tayloradd ibc_operations_s::ibc_unmap_mem_iov targets warlock_dummy 314*17a2b317SBill Tayloradd ibc_operations_s::ibc_register_dma_mr targets warlock_dummy 3154ebb14b2Sfritsadd ibt_clnt_modinfo_s::mi_async_handler targets warlock_dummy 3164ebb14b2Sfritsadd ibtl_handlers.c:ibtl_async_client_call/async_handler targets warlock_dummy 3174ebb14b2Sfritsadd ibtl_handlers.c:ibtl_cq_handler_call/cq_handler targets warlock_dummy 3184ebb14b2Sfritsadd ibtl_handlers.c:ibtl_sm_notice_task/sm_notice_handler targets warlock_dummy 3194ebb14b2Sfritsadd ibtl_mgr_s::mgr_async_handler targets warlock_dummy 320