xref: /titanic_50/usr/src/uts/common/io/warlock/tavor.wlcmd (revision 6a634c9dca3093f3922e4b7ab826d7bdf17bf78e)
14ebb14b2Sfrits#
2*17a2b317SBill Taylor# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
34ebb14b2Sfrits#
44ebb14b2Sfrits
54ebb14b2Sfritsone tavor_state_s
64ebb14b2Sfrits
74ebb14b2Sfrits### IBTF CI interface entry points
84ebb14b2Sfritsroot	tavor_ci_query_hca_ports
94ebb14b2Sfritsroot	tavor_ci_modify_ports
104ebb14b2Sfritsroot	tavor_ci_modify_system_image
114ebb14b2Sfritsroot	tavor_ci_alloc_pd
124ebb14b2Sfritsroot	tavor_ci_free_pd
134ebb14b2Sfritsroot	tavor_ci_alloc_rdd
144ebb14b2Sfritsroot	tavor_ci_free_rdd
154ebb14b2Sfritsroot	tavor_ci_alloc_ah
164ebb14b2Sfritsroot	tavor_ci_free_ah
174ebb14b2Sfritsroot	tavor_ci_query_ah
184ebb14b2Sfritsroot	tavor_ci_modify_ah
194ebb14b2Sfritsroot	tavor_ci_alloc_qp
204ebb14b2Sfritsroot	tavor_ci_alloc_special_qp
2103494a98SBill Taylorroot	tavor_ci_alloc_qp_range
224ebb14b2Sfritsroot	tavor_ci_free_qp
234ebb14b2Sfritsroot	tavor_ci_release_qpn
244ebb14b2Sfritsroot	tavor_ci_query_qp
254ebb14b2Sfritsroot	tavor_ci_modify_qp
264ebb14b2Sfritsroot	tavor_ci_alloc_cq
274ebb14b2Sfritsroot	tavor_ci_free_cq
284ebb14b2Sfritsroot	tavor_ci_query_cq
294ebb14b2Sfritsroot	tavor_ci_resize_cq
3003494a98SBill Taylorroot	tavor_ci_modify_cq
314ebb14b2Sfritsroot	tavor_ci_alloc_cq_sched
324ebb14b2Sfritsroot	tavor_ci_free_cq_sched
334ebb14b2Sfritsroot	tavor_ci_alloc_eec
344ebb14b2Sfritsroot	tavor_ci_free_eec
354ebb14b2Sfritsroot	tavor_ci_query_eec
364ebb14b2Sfritsroot	tavor_ci_modify_eec
374ebb14b2Sfritsroot	tavor_ci_register_mr
384ebb14b2Sfritsroot	tavor_ci_register_buf
394ebb14b2Sfritsroot	tavor_ci_register_shared_mr
404ebb14b2Sfritsroot	tavor_ci_deregister_mr
414ebb14b2Sfritsroot	tavor_ci_query_mr
424ebb14b2Sfritsroot	tavor_ci_reregister_mr
434ebb14b2Sfritsroot	tavor_ci_reregister_buf
444ebb14b2Sfritsroot	tavor_ci_sync_mr
454ebb14b2Sfritsroot	tavor_ci_alloc_mw
464ebb14b2Sfritsroot	tavor_ci_free_mw
474ebb14b2Sfritsroot	tavor_ci_query_mw
484ebb14b2Sfritsroot	tavor_ci_attach_mcg
494ebb14b2Sfritsroot	tavor_ci_detach_mcg
504ebb14b2Sfritsroot	tavor_ci_post_send
514ebb14b2Sfritsroot	tavor_ci_post_recv
524ebb14b2Sfritsroot	tavor_ci_poll_cq
534ebb14b2Sfritsroot	tavor_ci_notify_cq
544ebb14b2Sfritsroot	tavor_ci_ci_data_in
554ebb14b2Sfritsroot	tavor_ci_ci_data_out
564ebb14b2Sfritsroot	tavor_ci_alloc_srq
574ebb14b2Sfritsroot	tavor_ci_free_srq
584ebb14b2Sfritsroot	tavor_ci_query_srq
594ebb14b2Sfritsroot	tavor_ci_modify_srq
604ebb14b2Sfritsroot	tavor_ci_post_srq
614ebb14b2Sfritsroot	tavor_ci_map_mem_area
624ebb14b2Sfritsroot	tavor_ci_unmap_mem_area
634ebb14b2Sfritsroot	tavor_ci_alloc_lkey
644ebb14b2Sfritsroot	tavor_ci_register_physical_mr
654ebb14b2Sfritsroot	tavor_ci_reregister_physical_mr
664ebb14b2Sfritsroot	tavor_ci_create_fmr_pool
674ebb14b2Sfritsroot	tavor_ci_destroy_fmr_pool
684ebb14b2Sfritsroot	tavor_ci_flush_fmr_pool
694ebb14b2Sfritsroot	tavor_ci_register_physical_fmr
704ebb14b2Sfritsroot	tavor_ci_deregister_fmr
7103494a98SBill Taylorroot	tavor_ci_map_mem_iov
7203494a98SBill Taylorroot	tavor_ci_unmap_mem_iov
7303494a98SBill Taylorroot	tavor_ci_alloc_io_mem
7403494a98SBill Taylorroot	tavor_ci_free_io_mem
75*17a2b317SBill Taylorroot	tavor_ci_register_dma_mr
76*17a2b317SBill Taylorroot	tavor_ci_not_supported
774ebb14b2Sfrits
784ebb14b2Sfrits### Tavor Firmware commands (currently unused)
794ebb14b2Sfritsroot	tavor_sync_tpt_cmd_post
804ebb14b2Sfritsroot	tavor_write_mtt_cmd_post
814ebb14b2Sfrits
824ebb14b2Sfrits### Tavor Event Queue function pointers
834ebb14b2Sfritsadd	tavor_eq_poll/eqfunction targets tavor_cq_handler		\
844ebb14b2Sfrits    tavor_cq_err_handler tavor_comm_estbl_handler			\
854ebb14b2Sfrits    tavor_port_state_change_handler tavor_invreq_local_wq_err_handler	\
864ebb14b2Sfrits    tavor_local_acc_vio_wq_err_handler \
874ebb14b2Sfrits    tavor_path_mig_handler tavor_path_mig_err_handler			\
884ebb14b2Sfrits    tavor_local_wq_cat_err_handler tavor_sendq_drained_handler		\
894ebb14b2Sfrits    tavor_eq_overflow_handler tavor_cmd_complete_handler		\
904ebb14b2Sfrits    tavor_srq_catastrophic_handler tavor_srq_last_wqe_reached_handler	\
914ebb14b2Sfrits    tavor_ecc_detection_handler tavor_no_eqhandler
924ebb14b2Sfrits
934ebb14b2Sfrits### Tavor agent callbacks
944ebb14b2Sfritsroot	tavor_agent_handle_req
954ebb14b2Sfritsroot	tavor_agent_request_cb
964ebb14b2Sfritsroot	tavor_agent_response_cb
974ebb14b2Sfrits
984ebb14b2Sfrits### Tavor kmem_cache constructors and destructors
994ebb14b2Sfritsroot	tavor_rsrc_cqhdl_constructor
1004ebb14b2Sfritsroot	tavor_rsrc_cqhdl_destructor
1014ebb14b2Sfritsroot	tavor_rsrc_qphdl_constructor
1024ebb14b2Sfritsroot	tavor_rsrc_qphdl_destructor
1034ebb14b2Sfritsroot	tavor_rsrc_pdhdl_constructor
1044ebb14b2Sfritsroot	tavor_rsrc_pdhdl_destructor
1054ebb14b2Sfritsroot	tavor_rsrc_refcnt_constructor
1064ebb14b2Sfritsroot	tavor_rsrc_refcnt_destructor
1074ebb14b2Sfritsroot	tavor_rsrc_ahhdl_constructor
1084ebb14b2Sfritsroot	tavor_rsrc_ahhdl_destructor
1094ebb14b2Sfritsroot	tavor_rsrc_mrhdl_constructor
1104ebb14b2Sfritsroot	tavor_rsrc_mrhdl_destructor
1114ebb14b2Sfritsroot	tavor_rsrc_srqhdl_constructor
1124ebb14b2Sfritsroot	tavor_rsrc_srqhdl_destructor
1134ebb14b2Sfrits
1144ebb14b2Sfrits### Tavor kstat callback
1154ebb14b2Sfritsroot	tavor_kstat_cntr_update
116e9dc6bffSRamaswamy Tummalaroot	tavor_kstat_perfcntr64_update
1174ebb14b2Sfrits
1184ebb14b2Sfrits### Tavor userland mapping callbacks and functions
1194ebb14b2Sfritsroot	tavor_umap_umemlock_cb
1204ebb14b2Sfritsroot	tavor_devmap_umem_map
1214ebb14b2Sfritsroot	tavor_devmap_umem_dup
1224ebb14b2Sfritsroot	tavor_devmap_umem_unmap
1234ebb14b2Sfritsroot	tavor_devmap_devmem_map
1244ebb14b2Sfritsroot	tavor_devmap_devmem_dup
1254ebb14b2Sfritsroot	tavor_devmap_devmem_unmap
1264ebb14b2Sfritsroot	tavor_umap_db_compare
1274ebb14b2Sfritsadd	tavor_umap_umemlock_cb/mr_callback	targets warlock_dummy
1284ebb14b2Sfrits
1294ebb14b2Sfrits
1304ebb14b2Sfrits### Tavor cleanup on close callback(s)
1314ebb14b2Sfritsadd	tavor_umap_db_handle_onclose_cb/callback targets \
1324ebb14b2Sfrits    tavor_ioctl_flash_cleanup
1334ebb14b2Sfrits
1344ebb14b2Sfrits### Tavor QP number AVL tree compare function
1354ebb14b2Sfritsroot	tavor_qpn_avl_compare
1364ebb14b2Sfrits
1374ebb14b2Sfritsadd	bus_ops::bus_add_eventcall	targets warlock_dummy
1384ebb14b2Sfritsadd	bus_ops::bus_get_eventcookie	targets warlock_dummy
1394ebb14b2Sfritsadd	bus_ops::bus_post_event		targets warlock_dummy
1404ebb14b2Sfritsadd	bus_ops::bus_remove_eventcall	targets warlock_dummy
1414ebb14b2Sfritsadd	bus_ops::bus_intr_ctl		targets warlock_dummy
1424ebb14b2Sfritsadd	bus_ops::bus_config		targets warlock_dummy
1434ebb14b2Sfritsadd	bus_ops::bus_unconfig		targets warlock_dummy
1444ebb14b2Sfrits
145