xref: /titanic_41/usr/src/uts/common/io/warlock/hermon.wlcmd (revision a6d42e7d71324c5193c3b94d57d96ba2925d52e1)
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 2008 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_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_alloc_cq_sched
51root	hermon_ci_free_cq_sched
52root	hermon_ci_alloc_eec
53root	hermon_ci_free_eec
54root	hermon_ci_query_eec
55root	hermon_ci_modify_eec
56root	hermon_ci_register_mr
57root	hermon_ci_register_buf
58root	hermon_ci_register_shared_mr
59root	hermon_ci_deregister_mr
60root	hermon_ci_query_mr
61root	hermon_ci_reregister_mr
62root	hermon_ci_reregister_buf
63root	hermon_ci_sync_mr
64root	hermon_ci_alloc_mw
65root	hermon_ci_free_mw
66root	hermon_ci_query_mw
67root	hermon_ci_attach_mcg
68root	hermon_ci_detach_mcg
69root	hermon_ci_post_send
70root	hermon_ci_post_recv
71root	hermon_ci_poll_cq
72root	hermon_ci_notify_cq
73root	hermon_ci_ci_data_in
74root	hermon_ci_ci_data_out
75root	hermon_ci_alloc_srq
76root	hermon_ci_free_srq
77root	hermon_ci_query_srq
78root	hermon_ci_modify_srq
79root	hermon_ci_post_srq
80root	hermon_ci_map_mem_area
81root	hermon_ci_unmap_mem_area
82root	hermon_ci_alloc_lkey
83root	hermon_ci_register_physical_mr
84root	hermon_ci_reregister_physical_mr
85root	hermon_ci_create_fmr_pool
86root	hermon_ci_destroy_fmr_pool
87root	hermon_ci_flush_fmr_pool
88root	hermon_ci_register_physical_fmr
89root	hermon_ci_deregister_fmr
90
91### Hermon Firmware commands (currently unused)
92root	hermon_sync_tpt_cmd_post
93root	hermon_read_mtt_cmd_post
94root	hermon_write_mtt_cmd_post
95root	hermon_close_hca_cmd_post
96root	hermon_modify_mpt_cmd_post
97root	hermon_setdebug_post
98root	hermon_pci_capability_msix
99
100### Hermon Event Queue function pointers
101add	hermon_eq_poll/eqfunction targets hermon_cq_handler		\
102    hermon_cq_err_handler hermon_comm_estbl_handler hermon_eq_arm	\
103    hermon_port_state_change_handler hermon_invreq_local_wq_err_handler	\
104    hermon_local_acc_vio_wq_err_handler					\
105    hermon_path_mig_handler hermon_path_mig_err_handler			\
106    hermon_local_wq_cat_err_handler hermon_sendq_drained_handler	\
107    hermon_eq_overflow_handler hermon_cmd_complete_handler		\
108    hermon_srq_last_wqe_reached_handler hermon_catastrophic_handler	\
109    hermon_ecc_detection_handler hermon_no_eqhandler hermon_eq_demux
110
111### Hermon agent callbacks
112root	hermon_agent_handle_req
113root	hermon_agent_request_cb
114root	hermon_agent_response_cb
115
116### Hermon kmem_cache constructors and destructors
117root	hermon_rsrc_cqhdl_constructor
118root	hermon_rsrc_cqhdl_destructor
119root	hermon_rsrc_qphdl_constructor
120root	hermon_rsrc_qphdl_destructor
121root	hermon_rsrc_pdhdl_constructor
122root	hermon_rsrc_pdhdl_destructor
123root	hermon_rsrc_refcnt_constructor
124root	hermon_rsrc_refcnt_destructor
125root	hermon_rsrc_ahhdl_constructor
126root	hermon_rsrc_ahhdl_destructor
127root	hermon_rsrc_mrhdl_constructor
128root	hermon_rsrc_mrhdl_destructor
129root	hermon_rsrc_srqhdl_constructor
130root	hermon_rsrc_srqhdl_destructor
131
132### Hermon kstat callback
133root	hermon_kstat_cntr_update
134
135### Hermon userland mapping callbacks and functions
136root	hermon_umap_umemlock_cb
137root	hermon_devmap_umem_map
138root	hermon_devmap_umem_dup
139root	hermon_devmap_umem_unmap
140root	hermon_devmap_devmem_map
141root	hermon_devmap_devmem_dup
142root	hermon_devmap_devmem_unmap
143root	hermon_devmap_dbrecmem_map
144root	hermon_devmap_dbrecmem_dup
145root	hermon_devmap_dbrecmem_unmap
146root	hermon_umap_db_compare
147add	hermon_umap_umemlock_cb/mr_callback	targets warlock_dummy
148
149
150### Hermon cleanup on close callback(s)
151add	hermon_umap_db_handle_onclose_cb/callback targets \
152    hermon_ioctl_flash_cleanup
153
154### Hermon QP number AVL tree compare function
155root	hermon_qpn_avl_compare
156
157### Hermon FMR processing
158root	hermon_fmr_avl_compare
159root	hermon_fmr_processing
160add	hermon_sw_fmr_s::fmr_flush_function targets warlock_dummy
161
162add	bus_ops::bus_add_eventcall	targets warlock_dummy
163add	bus_ops::bus_get_eventcookie	targets warlock_dummy
164add	bus_ops::bus_post_event		targets warlock_dummy
165add	bus_ops::bus_remove_eventcall	targets warlock_dummy
166add	bus_ops::bus_intr_ctl		targets warlock_dummy
167add	bus_ops::bus_config		targets warlock_dummy
168add	bus_ops::bus_unconfig		targets warlock_dummy
169
170