xref: /titanic_52/usr/src/uts/common/io/warlock/tavor.wlcmd (revision 6a1af1a67532df169a657cce07140be64bdea084)
1#
2# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
3#
4
5one tavor_state_s
6
7### IBTF CI interface entry points
8root	tavor_ci_query_hca_ports
9root	tavor_ci_modify_ports
10root	tavor_ci_modify_system_image
11root	tavor_ci_alloc_pd
12root	tavor_ci_free_pd
13root	tavor_ci_alloc_rdd
14root	tavor_ci_free_rdd
15root	tavor_ci_alloc_ah
16root	tavor_ci_free_ah
17root	tavor_ci_query_ah
18root	tavor_ci_modify_ah
19root	tavor_ci_alloc_qp
20root	tavor_ci_alloc_special_qp
21root	tavor_ci_alloc_qp_range
22root	tavor_ci_free_qp
23root	tavor_ci_release_qpn
24root	tavor_ci_query_qp
25root	tavor_ci_modify_qp
26root	tavor_ci_alloc_cq
27root	tavor_ci_free_cq
28root	tavor_ci_query_cq
29root	tavor_ci_resize_cq
30root	tavor_ci_modify_cq
31root	tavor_ci_alloc_cq_sched
32root	tavor_ci_free_cq_sched
33root	tavor_ci_alloc_eec
34root	tavor_ci_free_eec
35root	tavor_ci_query_eec
36root	tavor_ci_modify_eec
37root	tavor_ci_register_mr
38root	tavor_ci_register_buf
39root	tavor_ci_register_shared_mr
40root	tavor_ci_deregister_mr
41root	tavor_ci_query_mr
42root	tavor_ci_reregister_mr
43root	tavor_ci_reregister_buf
44root	tavor_ci_sync_mr
45root	tavor_ci_alloc_mw
46root	tavor_ci_free_mw
47root	tavor_ci_query_mw
48root	tavor_ci_attach_mcg
49root	tavor_ci_detach_mcg
50root	tavor_ci_post_send
51root	tavor_ci_post_recv
52root	tavor_ci_poll_cq
53root	tavor_ci_notify_cq
54root	tavor_ci_ci_data_in
55root	tavor_ci_ci_data_out
56root	tavor_ci_alloc_srq
57root	tavor_ci_free_srq
58root	tavor_ci_query_srq
59root	tavor_ci_modify_srq
60root	tavor_ci_post_srq
61root	tavor_ci_map_mem_area
62root	tavor_ci_unmap_mem_area
63root	tavor_ci_alloc_lkey
64root	tavor_ci_register_physical_mr
65root	tavor_ci_reregister_physical_mr
66root	tavor_ci_create_fmr_pool
67root	tavor_ci_destroy_fmr_pool
68root	tavor_ci_flush_fmr_pool
69root	tavor_ci_register_physical_fmr
70root	tavor_ci_deregister_fmr
71root	tavor_ci_map_mem_iov
72root	tavor_ci_unmap_mem_iov
73root	tavor_ci_alloc_io_mem
74root	tavor_ci_free_io_mem
75root	tavor_ci_register_dma_mr
76root	tavor_ci_not_supported
77
78### Tavor Firmware commands (currently unused)
79root	tavor_sync_tpt_cmd_post
80root	tavor_write_mtt_cmd_post
81
82### Tavor Event Queue function pointers
83add	tavor_eq_poll/eqfunction targets tavor_cq_handler		\
84    tavor_cq_err_handler tavor_comm_estbl_handler			\
85    tavor_port_state_change_handler tavor_invreq_local_wq_err_handler	\
86    tavor_local_acc_vio_wq_err_handler \
87    tavor_path_mig_handler tavor_path_mig_err_handler			\
88    tavor_local_wq_cat_err_handler tavor_sendq_drained_handler		\
89    tavor_eq_overflow_handler tavor_cmd_complete_handler		\
90    tavor_srq_catastrophic_handler tavor_srq_last_wqe_reached_handler	\
91    tavor_ecc_detection_handler tavor_no_eqhandler
92
93### Tavor agent callbacks
94root	tavor_agent_handle_req
95root	tavor_agent_request_cb
96root	tavor_agent_response_cb
97
98### Tavor kmem_cache constructors and destructors
99root	tavor_rsrc_cqhdl_constructor
100root	tavor_rsrc_cqhdl_destructor
101root	tavor_rsrc_qphdl_constructor
102root	tavor_rsrc_qphdl_destructor
103root	tavor_rsrc_pdhdl_constructor
104root	tavor_rsrc_pdhdl_destructor
105root	tavor_rsrc_refcnt_constructor
106root	tavor_rsrc_refcnt_destructor
107root	tavor_rsrc_ahhdl_constructor
108root	tavor_rsrc_ahhdl_destructor
109root	tavor_rsrc_mrhdl_constructor
110root	tavor_rsrc_mrhdl_destructor
111root	tavor_rsrc_srqhdl_constructor
112root	tavor_rsrc_srqhdl_destructor
113
114### Tavor kstat callback
115root	tavor_kstat_cntr_update
116root	tavor_kstat_perfcntr64_update
117
118### Tavor userland mapping callbacks and functions
119root	tavor_umap_umemlock_cb
120root	tavor_devmap_umem_map
121root	tavor_devmap_umem_dup
122root	tavor_devmap_umem_unmap
123root	tavor_devmap_devmem_map
124root	tavor_devmap_devmem_dup
125root	tavor_devmap_devmem_unmap
126root	tavor_umap_db_compare
127add	tavor_umap_umemlock_cb/mr_callback	targets warlock_dummy
128
129
130### Tavor cleanup on close callback(s)
131add	tavor_umap_db_handle_onclose_cb/callback targets \
132    tavor_ioctl_flash_cleanup
133
134### Tavor QP number AVL tree compare function
135root	tavor_qpn_avl_compare
136
137add	bus_ops::bus_add_eventcall	targets warlock_dummy
138add	bus_ops::bus_get_eventcookie	targets warlock_dummy
139add	bus_ops::bus_post_event		targets warlock_dummy
140add	bus_ops::bus_remove_eventcall	targets warlock_dummy
141add	bus_ops::bus_intr_ctl		targets warlock_dummy
142add	bus_ops::bus_config		targets warlock_dummy
143add	bus_ops::bus_unconfig		targets warlock_dummy
144
145