xref: /titanic_52/usr/src/uts/common/io/warlock/hermon.wlcmd (revision 17a2b317610f531d565bf4e940433aab2d9e6985)
17dd1301aSBill Taylor#
27dd1301aSBill Taylor# CDDL HEADER START
37dd1301aSBill Taylor#
47dd1301aSBill Taylor# The contents of this file are subject to the terms of the
57dd1301aSBill Taylor# Common Development and Distribution License (the "License").
67dd1301aSBill Taylor# You may not use this file except in compliance with the License.
77dd1301aSBill Taylor#
87dd1301aSBill Taylor# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97dd1301aSBill Taylor# or http://www.opensolaris.org/os/licensing.
107dd1301aSBill Taylor# See the License for the specific language governing permissions
117dd1301aSBill Taylor# and limitations under the License.
127dd1301aSBill Taylor#
137dd1301aSBill Taylor# When distributing Covered Code, include this CDDL HEADER in each
147dd1301aSBill Taylor# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157dd1301aSBill Taylor# If applicable, add the following below this CDDL HEADER, with the
167dd1301aSBill Taylor# fields enclosed by brackets "[]" replaced with your own identifying
177dd1301aSBill Taylor# information: Portions Copyright [yyyy] [name of copyright owner]
187dd1301aSBill Taylor#
197dd1301aSBill Taylor# CDDL HEADER END
207dd1301aSBill Taylor#
217dd1301aSBill Taylor#
22*17a2b317SBill Taylor# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
237dd1301aSBill Taylor#
247dd1301aSBill Taylor
257dd1301aSBill Taylorone hermon_state_s
267dd1301aSBill Taylor
277dd1301aSBill Taylor### IBTF CI interface entry points
287dd1301aSBill Taylorroot	hermon_ci_query_hca_ports
297dd1301aSBill Taylorroot	hermon_ci_modify_ports
307dd1301aSBill Taylorroot	hermon_ci_modify_system_image
317dd1301aSBill Taylorroot	hermon_ci_alloc_pd
327dd1301aSBill Taylorroot	hermon_ci_free_pd
337dd1301aSBill Taylorroot	hermon_ci_alloc_rdd
347dd1301aSBill Taylorroot	hermon_ci_free_rdd
357dd1301aSBill Taylorroot	hermon_ci_alloc_ah
367dd1301aSBill Taylorroot	hermon_ci_free_ah
377dd1301aSBill Taylorroot	hermon_ci_query_ah
387dd1301aSBill Taylorroot	hermon_ci_modify_ah
397dd1301aSBill Taylorroot	hermon_ci_alloc_qp
407dd1301aSBill Taylorroot	hermon_ci_alloc_special_qp
4103494a98SBill Taylorroot	hermon_ci_alloc_qp_range
427dd1301aSBill Taylorroot	hermon_ci_free_qp
437dd1301aSBill Taylorroot	hermon_ci_release_qpn
447dd1301aSBill Taylorroot	hermon_ci_query_qp
457dd1301aSBill Taylorroot	hermon_ci_modify_qp
467dd1301aSBill Taylorroot	hermon_ci_alloc_cq
477dd1301aSBill Taylorroot	hermon_ci_free_cq
487dd1301aSBill Taylorroot	hermon_ci_query_cq
497dd1301aSBill Taylorroot	hermon_ci_resize_cq
5003494a98SBill Taylorroot	hermon_ci_modify_cq
517dd1301aSBill Taylorroot	hermon_ci_alloc_cq_sched
527dd1301aSBill Taylorroot	hermon_ci_free_cq_sched
537dd1301aSBill Taylorroot	hermon_ci_alloc_eec
547dd1301aSBill Taylorroot	hermon_ci_free_eec
557dd1301aSBill Taylorroot	hermon_ci_query_eec
567dd1301aSBill Taylorroot	hermon_ci_modify_eec
577dd1301aSBill Taylorroot	hermon_ci_register_mr
587dd1301aSBill Taylorroot	hermon_ci_register_buf
597dd1301aSBill Taylorroot	hermon_ci_register_shared_mr
607dd1301aSBill Taylorroot	hermon_ci_deregister_mr
617dd1301aSBill Taylorroot	hermon_ci_query_mr
627dd1301aSBill Taylorroot	hermon_ci_reregister_mr
637dd1301aSBill Taylorroot	hermon_ci_reregister_buf
647dd1301aSBill Taylorroot	hermon_ci_sync_mr
65*17a2b317SBill Taylorroot	hermon_ci_register_dma_mr
667dd1301aSBill Taylorroot	hermon_ci_alloc_mw
677dd1301aSBill Taylorroot	hermon_ci_free_mw
687dd1301aSBill Taylorroot	hermon_ci_query_mw
697dd1301aSBill Taylorroot	hermon_ci_attach_mcg
707dd1301aSBill Taylorroot	hermon_ci_detach_mcg
717dd1301aSBill Taylorroot	hermon_ci_post_send
727dd1301aSBill Taylorroot	hermon_ci_post_recv
737dd1301aSBill Taylorroot	hermon_ci_poll_cq
747dd1301aSBill Taylorroot	hermon_ci_notify_cq
757dd1301aSBill Taylorroot	hermon_ci_ci_data_in
767dd1301aSBill Taylorroot	hermon_ci_ci_data_out
777dd1301aSBill Taylorroot	hermon_ci_alloc_srq
787dd1301aSBill Taylorroot	hermon_ci_free_srq
797dd1301aSBill Taylorroot	hermon_ci_query_srq
807dd1301aSBill Taylorroot	hermon_ci_modify_srq
817dd1301aSBill Taylorroot	hermon_ci_post_srq
827dd1301aSBill Taylorroot	hermon_ci_map_mem_area
837dd1301aSBill Taylorroot	hermon_ci_unmap_mem_area
8403494a98SBill Taylorroot	hermon_ci_map_mem_iov
8503494a98SBill Taylorroot	hermon_ci_unmap_mem_iov
867dd1301aSBill Taylorroot	hermon_ci_alloc_lkey
877dd1301aSBill Taylorroot	hermon_ci_register_physical_mr
887dd1301aSBill Taylorroot	hermon_ci_reregister_physical_mr
897dd1301aSBill Taylorroot	hermon_ci_create_fmr_pool
907dd1301aSBill Taylorroot	hermon_ci_destroy_fmr_pool
917dd1301aSBill Taylorroot	hermon_ci_flush_fmr_pool
927dd1301aSBill Taylorroot	hermon_ci_register_physical_fmr
937dd1301aSBill Taylorroot	hermon_ci_deregister_fmr
9403494a98SBill Taylorroot	hermon_ci_alloc_io_mem
9503494a98SBill Taylorroot	hermon_ci_free_io_mem
96*17a2b317SBill Taylorroot	hermon_ci_query_cq_handler_id
97*17a2b317SBill Taylorroot	hermon_ci_not_supported
98*17a2b317SBill Taylor
99*17a2b317SBill Taylor### Hermon misc. (currently unused)
100*17a2b317SBill Taylorroot	hermon_config_int_mod
101*17a2b317SBill Taylorroot	hermon_hw_health_check
102*17a2b317SBill Taylorroot	hermon_rsrc_alloc_uarhdl
103*17a2b317SBill Taylorroot	hermon_sense_port_post
1047dd1301aSBill Taylor
1057dd1301aSBill Taylor### Hermon Firmware commands (currently unused)
1067dd1301aSBill Taylorroot	hermon_sync_tpt_cmd_post
1077dd1301aSBill Taylorroot	hermon_read_mtt_cmd_post
1087dd1301aSBill Taylorroot	hermon_write_mtt_cmd_post
1097dd1301aSBill Taylorroot	hermon_close_hca_cmd_post
1107dd1301aSBill Taylorroot	hermon_modify_mpt_cmd_post
1117dd1301aSBill Taylorroot	hermon_setdebug_post
1127dd1301aSBill Taylorroot	hermon_pci_capability_msix
1137dd1301aSBill Taylor
1147dd1301aSBill Taylor### Hermon Event Queue function pointers
1157dd1301aSBill Tayloradd	hermon_eq_poll/eqfunction targets hermon_cq_handler		\
116*17a2b317SBill Taylor    hermon_cq_err_handler hermon_comm_estbl_handler			\
1177dd1301aSBill Taylor    hermon_port_state_change_handler hermon_invreq_local_wq_err_handler	\
1187dd1301aSBill Taylor    hermon_local_acc_vio_wq_err_handler					\
1197dd1301aSBill Taylor    hermon_path_mig_handler hermon_path_mig_err_handler			\
1207dd1301aSBill Taylor    hermon_local_wq_cat_err_handler hermon_sendq_drained_handler	\
121*17a2b317SBill Taylor    hermon_cmd_complete_handler hermon_fexch_error_handler		\
1227dd1301aSBill Taylor    hermon_srq_last_wqe_reached_handler hermon_catastrophic_handler	\
123*17a2b317SBill Taylor    hermon_no_eqhandler hermon_eq_demux
1247dd1301aSBill Taylor
1257dd1301aSBill Taylor### Hermon agent callbacks
1267dd1301aSBill Taylorroot	hermon_agent_handle_req
1277dd1301aSBill Taylorroot	hermon_agent_request_cb
1287dd1301aSBill Taylorroot	hermon_agent_response_cb
1297dd1301aSBill Taylor
130*17a2b317SBill Taylor### Hermon interrupt allocation callback
131*17a2b317SBill Taylorroot	hermon_intr_cb_handler
132*17a2b317SBill Taylor
1337dd1301aSBill Taylor### Hermon kmem_cache constructors and destructors
1347dd1301aSBill Taylorroot	hermon_rsrc_cqhdl_constructor
1357dd1301aSBill Taylorroot	hermon_rsrc_cqhdl_destructor
1367dd1301aSBill Taylorroot	hermon_rsrc_qphdl_constructor
1377dd1301aSBill Taylorroot	hermon_rsrc_qphdl_destructor
1387dd1301aSBill Taylorroot	hermon_rsrc_pdhdl_constructor
1397dd1301aSBill Taylorroot	hermon_rsrc_pdhdl_destructor
1407dd1301aSBill Taylorroot	hermon_rsrc_refcnt_constructor
1417dd1301aSBill Taylorroot	hermon_rsrc_refcnt_destructor
1427dd1301aSBill Taylorroot	hermon_rsrc_ahhdl_constructor
1437dd1301aSBill Taylorroot	hermon_rsrc_ahhdl_destructor
1447dd1301aSBill Taylorroot	hermon_rsrc_mrhdl_constructor
1457dd1301aSBill Taylorroot	hermon_rsrc_mrhdl_destructor
1467dd1301aSBill Taylorroot	hermon_rsrc_srqhdl_constructor
1477dd1301aSBill Taylorroot	hermon_rsrc_srqhdl_destructor
1487dd1301aSBill Taylor
1497dd1301aSBill Taylor### Hermon kstat callback
1507dd1301aSBill Taylorroot	hermon_kstat_cntr_update
151d1a5c838SRamaswamy Tummalaroot	hermon_kstat_perfcntr64_update
1527dd1301aSBill Taylor
1537dd1301aSBill Taylor### Hermon userland mapping callbacks and functions
1547dd1301aSBill Taylorroot	hermon_umap_umemlock_cb
1557dd1301aSBill Taylorroot	hermon_devmap_umem_map
1567dd1301aSBill Taylorroot	hermon_devmap_umem_dup
1577dd1301aSBill Taylorroot	hermon_devmap_umem_unmap
1587dd1301aSBill Taylorroot	hermon_devmap_devmem_map
1597dd1301aSBill Taylorroot	hermon_devmap_devmem_dup
1607dd1301aSBill Taylorroot	hermon_devmap_devmem_unmap
1617dd1301aSBill Taylorroot	hermon_devmap_dbrecmem_map
1627dd1301aSBill Taylorroot	hermon_devmap_dbrecmem_dup
1637dd1301aSBill Taylorroot	hermon_devmap_dbrecmem_unmap
1647dd1301aSBill Taylorroot	hermon_umap_db_compare
1657dd1301aSBill Tayloradd	hermon_umap_umemlock_cb/mr_callback	targets warlock_dummy
1667dd1301aSBill Taylor
1677dd1301aSBill Taylor
1687dd1301aSBill Taylor### Hermon cleanup on close callback(s)
1697dd1301aSBill Tayloradd	hermon_umap_db_handle_onclose_cb/callback targets \
1707dd1301aSBill Taylor    hermon_ioctl_flash_cleanup
1717dd1301aSBill Taylor
1727dd1301aSBill Taylor### Hermon QP number AVL tree compare function
1737dd1301aSBill Taylorroot	hermon_qpn_avl_compare
1747dd1301aSBill Taylor
1757dd1301aSBill Taylor### Hermon FMR processing
1767dd1301aSBill Tayloradd	hermon_sw_fmr_s::fmr_flush_function targets warlock_dummy
1777dd1301aSBill Taylor
178*17a2b317SBill Taylor### Hermon FMA processing
17903494a98SBill Taylorroot	hermon_inter_err_chk
18003494a98SBill Taylor
1817dd1301aSBill Tayloradd	bus_ops::bus_add_eventcall	targets warlock_dummy
1827dd1301aSBill Tayloradd	bus_ops::bus_get_eventcookie	targets warlock_dummy
1837dd1301aSBill Tayloradd	bus_ops::bus_post_event		targets warlock_dummy
1847dd1301aSBill Tayloradd	bus_ops::bus_remove_eventcall	targets warlock_dummy
1857dd1301aSBill Tayloradd	bus_ops::bus_intr_ctl		targets warlock_dummy
1867dd1301aSBill Tayloradd	bus_ops::bus_config		targets warlock_dummy
1877dd1301aSBill Tayloradd	bus_ops::bus_unconfig		targets warlock_dummy
1887dd1301aSBill Taylor
189