1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21# 22# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. 23# 24 25one hermon_state_s 26 27### IBTF CI interface entry points 28root hermon_ci_query_hca_ports 29root hermon_ci_modify_ports 30root hermon_ci_modify_system_image 31root hermon_ci_alloc_pd 32root hermon_ci_free_pd 33root hermon_ci_alloc_rdd 34root hermon_ci_free_rdd 35root hermon_ci_alloc_ah 36root hermon_ci_free_ah 37root hermon_ci_query_ah 38root hermon_ci_modify_ah 39root hermon_ci_alloc_qp 40root hermon_ci_alloc_special_qp 41root hermon_ci_alloc_qp_range 42root hermon_ci_free_qp 43root hermon_ci_release_qpn 44root hermon_ci_query_qp 45root hermon_ci_modify_qp 46root hermon_ci_alloc_cq 47root hermon_ci_free_cq 48root hermon_ci_query_cq 49root hermon_ci_resize_cq 50root hermon_ci_modify_cq 51root hermon_ci_alloc_cq_sched 52root hermon_ci_free_cq_sched 53root hermon_ci_alloc_eec 54root hermon_ci_free_eec 55root hermon_ci_query_eec 56root hermon_ci_modify_eec 57root hermon_ci_register_mr 58root hermon_ci_register_buf 59root hermon_ci_register_shared_mr 60root hermon_ci_deregister_mr 61root hermon_ci_query_mr 62root hermon_ci_reregister_mr 63root hermon_ci_reregister_buf 64root hermon_ci_sync_mr 65root hermon_ci_register_dma_mr 66root hermon_ci_alloc_mw 67root hermon_ci_free_mw 68root hermon_ci_query_mw 69root hermon_ci_attach_mcg 70root hermon_ci_detach_mcg 71root hermon_ci_post_send 72root hermon_ci_post_recv 73root hermon_ci_poll_cq 74root hermon_ci_notify_cq 75root hermon_ci_ci_data_in 76root hermon_ci_ci_data_out 77root hermon_ci_alloc_srq 78root hermon_ci_free_srq 79root hermon_ci_query_srq 80root hermon_ci_modify_srq 81root hermon_ci_post_srq 82root hermon_ci_map_mem_area 83root hermon_ci_unmap_mem_area 84root hermon_ci_map_mem_iov 85root hermon_ci_unmap_mem_iov 86root hermon_ci_alloc_lkey 87root hermon_ci_register_physical_mr 88root hermon_ci_reregister_physical_mr 89root hermon_ci_create_fmr_pool 90root hermon_ci_destroy_fmr_pool 91root hermon_ci_flush_fmr_pool 92root hermon_ci_register_physical_fmr 93root hermon_ci_deregister_fmr 94root hermon_ci_alloc_io_mem 95root hermon_ci_free_io_mem 96root hermon_ci_query_cq_handler_id 97root hermon_ci_not_supported 98 99### Hermon misc. (currently unused) 100root hermon_config_int_mod 101root hermon_hw_health_check 102root hermon_rsrc_alloc_uarhdl 103root hermon_sense_port_post 104 105### Hermon Firmware commands (currently unused) 106root hermon_sync_tpt_cmd_post 107root hermon_read_mtt_cmd_post 108root hermon_write_mtt_cmd_post 109root hermon_close_hca_cmd_post 110root hermon_modify_mpt_cmd_post 111root hermon_setdebug_post 112root hermon_pci_capability_msix 113 114### Hermon Event Queue function pointers 115add hermon_eq_poll/eqfunction targets hermon_cq_handler \ 116 hermon_cq_err_handler hermon_comm_estbl_handler \ 117 hermon_port_state_change_handler hermon_invreq_local_wq_err_handler \ 118 hermon_local_acc_vio_wq_err_handler \ 119 hermon_path_mig_handler hermon_path_mig_err_handler \ 120 hermon_local_wq_cat_err_handler hermon_sendq_drained_handler \ 121 hermon_cmd_complete_handler hermon_fexch_error_handler \ 122 hermon_srq_last_wqe_reached_handler hermon_catastrophic_handler \ 123 hermon_no_eqhandler hermon_eq_demux 124 125### Hermon agent callbacks 126root hermon_agent_handle_req 127root hermon_agent_request_cb 128root hermon_agent_response_cb 129 130### Hermon interrupt allocation callback 131root hermon_intr_cb_handler 132 133### Hermon kmem_cache constructors and destructors 134root hermon_rsrc_cqhdl_constructor 135root hermon_rsrc_cqhdl_destructor 136root hermon_rsrc_qphdl_constructor 137root hermon_rsrc_qphdl_destructor 138root hermon_rsrc_pdhdl_constructor 139root hermon_rsrc_pdhdl_destructor 140root hermon_rsrc_refcnt_constructor 141root hermon_rsrc_refcnt_destructor 142root hermon_rsrc_ahhdl_constructor 143root hermon_rsrc_ahhdl_destructor 144root hermon_rsrc_mrhdl_constructor 145root hermon_rsrc_mrhdl_destructor 146root hermon_rsrc_srqhdl_constructor 147root hermon_rsrc_srqhdl_destructor 148 149### Hermon kstat callback 150root hermon_kstat_cntr_update 151root hermon_kstat_perfcntr64_update 152 153### Hermon userland mapping callbacks and functions 154root hermon_umap_umemlock_cb 155root hermon_devmap_umem_map 156root hermon_devmap_umem_dup 157root hermon_devmap_umem_unmap 158root hermon_devmap_devmem_map 159root hermon_devmap_devmem_dup 160root hermon_devmap_devmem_unmap 161root hermon_devmap_dbrecmem_map 162root hermon_devmap_dbrecmem_dup 163root hermon_devmap_dbrecmem_unmap 164root hermon_umap_db_compare 165add hermon_umap_umemlock_cb/mr_callback targets warlock_dummy 166 167 168### Hermon cleanup on close callback(s) 169add hermon_umap_db_handle_onclose_cb/callback targets \ 170 hermon_ioctl_flash_cleanup 171 172### Hermon QP number AVL tree compare function 173root hermon_qpn_avl_compare 174 175### Hermon FMR processing 176add hermon_sw_fmr_s::fmr_flush_function targets warlock_dummy 177 178### Hermon FMA processing 179root hermon_inter_err_chk 180 181add bus_ops::bus_add_eventcall targets warlock_dummy 182add bus_ops::bus_get_eventcookie targets warlock_dummy 183add bus_ops::bus_post_event targets warlock_dummy 184add bus_ops::bus_remove_eventcall targets warlock_dummy 185add bus_ops::bus_intr_ctl targets warlock_dummy 186add bus_ops::bus_config targets warlock_dummy 187add bus_ops::bus_unconfig targets warlock_dummy 188 189