xref: /titanic_44/usr/src/uts/common/io/warlock/hermon.wlcmd (revision e71ca95ca6de23d33b54cb55cefdef30bc7c969b)
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 2009 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25
26one hermon_state_s
27
28### IBTF CI interface entry points
29root	hermon_ci_query_hca_ports
30root	hermon_ci_modify_ports
31root	hermon_ci_modify_system_image
32root	hermon_ci_alloc_pd
33root	hermon_ci_free_pd
34root	hermon_ci_alloc_rdd
35root	hermon_ci_free_rdd
36root	hermon_ci_alloc_ah
37root	hermon_ci_free_ah
38root	hermon_ci_query_ah
39root	hermon_ci_modify_ah
40root	hermon_ci_alloc_qp
41root	hermon_ci_alloc_special_qp
42root	hermon_ci_alloc_qp_range
43root	hermon_ci_free_qp
44root	hermon_ci_release_qpn
45root	hermon_ci_query_qp
46root	hermon_ci_modify_qp
47root	hermon_ci_alloc_cq
48root	hermon_ci_free_cq
49root	hermon_ci_query_cq
50root	hermon_ci_resize_cq
51root	hermon_ci_modify_cq
52root	hermon_ci_alloc_cq_sched
53root	hermon_ci_free_cq_sched
54root	hermon_ci_alloc_eec
55root	hermon_ci_free_eec
56root	hermon_ci_query_eec
57root	hermon_ci_modify_eec
58root	hermon_ci_register_mr
59root	hermon_ci_register_buf
60root	hermon_ci_register_shared_mr
61root	hermon_ci_deregister_mr
62root	hermon_ci_query_mr
63root	hermon_ci_reregister_mr
64root	hermon_ci_reregister_buf
65root	hermon_ci_sync_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
96
97### Hermon Firmware commands (currently unused)
98root	hermon_sync_tpt_cmd_post
99root	hermon_read_mtt_cmd_post
100root	hermon_write_mtt_cmd_post
101root	hermon_close_hca_cmd_post
102root	hermon_modify_mpt_cmd_post
103root	hermon_setdebug_post
104root	hermon_pci_capability_msix
105
106### Hermon Event Queue function pointers
107add	hermon_eq_poll/eqfunction targets hermon_cq_handler		\
108    hermon_cq_err_handler hermon_comm_estbl_handler hermon_eq_arm	\
109    hermon_port_state_change_handler hermon_invreq_local_wq_err_handler	\
110    hermon_local_acc_vio_wq_err_handler					\
111    hermon_path_mig_handler hermon_path_mig_err_handler			\
112    hermon_local_wq_cat_err_handler hermon_sendq_drained_handler	\
113    hermon_eq_overflow_handler hermon_cmd_complete_handler		\
114    hermon_srq_last_wqe_reached_handler hermon_catastrophic_handler	\
115    hermon_ecc_detection_handler hermon_no_eqhandler hermon_eq_demux
116
117### Hermon agent callbacks
118root	hermon_agent_handle_req
119root	hermon_agent_request_cb
120root	hermon_agent_response_cb
121
122### Hermon kmem_cache constructors and destructors
123root	hermon_rsrc_cqhdl_constructor
124root	hermon_rsrc_cqhdl_destructor
125root	hermon_rsrc_qphdl_constructor
126root	hermon_rsrc_qphdl_destructor
127root	hermon_rsrc_pdhdl_constructor
128root	hermon_rsrc_pdhdl_destructor
129root	hermon_rsrc_refcnt_constructor
130root	hermon_rsrc_refcnt_destructor
131root	hermon_rsrc_ahhdl_constructor
132root	hermon_rsrc_ahhdl_destructor
133root	hermon_rsrc_mrhdl_constructor
134root	hermon_rsrc_mrhdl_destructor
135root	hermon_rsrc_srqhdl_constructor
136root	hermon_rsrc_srqhdl_destructor
137
138### Hermon kstat callback
139root	hermon_kstat_cntr_update
140root	hermon_kstat_perfcntr64_update
141
142### Hermon userland mapping callbacks and functions
143root	hermon_umap_umemlock_cb
144root	hermon_devmap_umem_map
145root	hermon_devmap_umem_dup
146root	hermon_devmap_umem_unmap
147root	hermon_devmap_devmem_map
148root	hermon_devmap_devmem_dup
149root	hermon_devmap_devmem_unmap
150root	hermon_devmap_dbrecmem_map
151root	hermon_devmap_dbrecmem_dup
152root	hermon_devmap_dbrecmem_unmap
153root	hermon_umap_db_compare
154add	hermon_umap_umemlock_cb/mr_callback	targets warlock_dummy
155
156
157### Hermon cleanup on close callback(s)
158add	hermon_umap_db_handle_onclose_cb/callback targets \
159    hermon_ioctl_flash_cleanup
160
161### Hermon QP number AVL tree compare function
162root	hermon_qpn_avl_compare
163
164### Hermon FMR processing
165root	hermon_fmr_avl_compare
166root	hermon_fmr_processing
167add	hermon_sw_fmr_s::fmr_flush_function targets warlock_dummy
168
169### Hermon FMR processing
170root	hermon_inter_err_chk
171
172add	bus_ops::bus_add_eventcall	targets warlock_dummy
173add	bus_ops::bus_get_eventcookie	targets warlock_dummy
174add	bus_ops::bus_post_event		targets warlock_dummy
175add	bus_ops::bus_remove_eventcall	targets warlock_dummy
176add	bus_ops::bus_intr_ctl		targets warlock_dummy
177add	bus_ops::bus_config		targets warlock_dummy
178add	bus_ops::bus_unconfig		targets warlock_dummy
179
180