Home
last modified time | relevance | path

Searched refs:ts_cfg_profile (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c1383 if (state->ts_cfg_profile->cp_nodeguid) { in tavor_hw_init()
1402 if (state->ts_cfg_profile->cp_sysimgguid) { in tavor_hw_init()
1622 if (state->ts_cfg_profile->cp_srq_enable) { in tavor_soft_state_init()
1657 val = state->ts_cfg_profile->cp_wqe_max_sgl; in tavor_soft_state_init()
1714 val = state->ts_cfg_profile->cp_srq_max_sgl; in tavor_soft_state_init()
1745 val = state->ts_cfg_profile->cp_log_max_mrw_sz; in tavor_soft_state_init()
1776 val = state->ts_cfg_profile->cp_num_qp_per_mcg; in tavor_soft_state_init()
1782 state->ts_cfg_profile->cp_log_max_pkeytbl); in tavor_soft_state_init()
1794 val = state->ts_cfg_profile->cp_num_ports; in tavor_soft_state_init()
1959 state->ts_cfg_profile->cp_log_num_srq; in tavor_hca_config_setup()
[all …]
H A Dtavor_srq.c174 if (log_srq_size > state->ts_cfg_profile->cp_log_max_srq_sz) { in tavor_srq_alloc()
183 max_sgl = state->ts_cfg_profile->cp_srq_max_sgl; in tavor_srq_alloc()
265 mr_op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_srq_alloc()
269 state->ts_cfg_profile->cp_iommu_bypass; in tavor_srq_alloc()
271 state->ts_cfg_profile->cp_streaming_consistent; in tavor_srq_alloc()
621 wq_location = state->ts_cfg_profile->cp_srq_wq_inddr; in tavor_srq_modify()
648 if (log_srq_size > state->ts_cfg_profile->cp_log_max_srq_sz) { in tavor_srq_modify()
707 bind.bi_bypass = state->ts_cfg_profile->cp_iommu_bypass; in tavor_srq_modify()
711 state->ts_cfg_profile->cp_iommu_bypass; in tavor_srq_modify()
713 state->ts_cfg_profile->cp_streaming_consistent; in tavor_srq_modify()
[all …]
H A Dtavor_agents.c69 if ((state->ts_cfg_profile->cp_qp0_agents_in_fw) && in tavor_agent_handlers_init()
70 (state->ts_cfg_profile->cp_qp1_agents_in_fw)) { in tavor_agent_handlers_init()
127 if ((state->ts_cfg_profile->cp_qp0_agents_in_fw) && in tavor_agent_handlers_fini()
128 (state->ts_cfg_profile->cp_qp1_agents_in_fw)) { in tavor_agent_handlers_fini()
362 num_ports = state->ts_cfg_profile->cp_num_ports; in tavor_agent_list_init()
365 do_qp0 = state->ts_cfg_profile->cp_qp0_agents_in_fw; in tavor_agent_list_init()
366 do_qp1 = state->ts_cfg_profile->cp_qp1_agents_in_fw; in tavor_agent_list_init()
H A Dtavor_qp.c266 max_rdb = state->ts_cfg_profile->cp_hca_max_rdma_in_qp; in tavor_qp_alloc()
303 state->ts_cfg_profile->cp_log_max_qp_sz))) { in tavor_qp_alloc()
312 max_sgl = state->ts_cfg_profile->cp_wqe_real_max_sgl; in tavor_qp_alloc()
430 state->ts_cfg_profile->cp_iommu_bypass; in tavor_qp_alloc()
432 state->ts_cfg_profile->cp_streaming_consistent; in tavor_qp_alloc()
766 max_sgl = state->ts_cfg_profile->cp_wqe_real_max_sgl; in tavor_special_qp_alloc()
1485 state->ts_cfg_profile->cp_log_num_qp) | qpc->tr_indx) & in tavor_qp_create_qpn()
1546 (24 - state->ts_cfg_profile->cp_log_num_qp))) { in tavor_qp_release_qpn()
1565 (24 - state->ts_cfg_profile->cp_log_num_qp))) { in tavor_qp_release_qpn()
1664 qpmask = (1 << state->ts_cfg_profile->cp_log_num_qp) - 1; in tavor_qphdl_from_qpnum()
[all …]
H A Dtavor_stats.c135 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_init()
220 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_fini()
392 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_cntr_update()
646 for (i = 0; i < state->ts_cfg_profile->cp_num_ports; i++) { in tavor_kstat_perfcntr64_update_thread()
773 for (i = 0; i < state->ts_cfg_profile->cp_num_ports; in tavor_kstat_perfcntr64_update()
H A Dtavor_ci.c387 end = start + (state->ts_cfg_profile->cp_num_ports - 1); in tavor_ci_query_hca_ports()
750 op.qpo_wq_loc = state->ts_cfg_profile->cp_qp_wq_inddr; in tavor_ci_alloc_qp()
796 op.qpo_wq_loc = state->ts_cfg_profile->cp_qp_wq_inddr; in tavor_ci_alloc_special_qp()
1607 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_ci_reregister_mr()
1678 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_ci_reregister_buf()
2261 if (state->ts_cfg_profile->cp_srq_enable == 0) { in tavor_ci_alloc_srq()
2278 op.srqo_wq_loc = state->ts_cfg_profile->cp_srq_wq_inddr; in tavor_ci_alloc_srq()
2309 if (state->ts_cfg_profile->cp_srq_enable == 0) { in tavor_ci_free_srq()
2349 if (state->ts_cfg_profile->cp_srq_enable == 0) { in tavor_ci_query_srq()
2398 if (state->ts_cfg_profile->cp_srq_enable == 0) { in tavor_ci_modify_srq()
[all …]
H A Dtavor_misc.c141 udav_entry.msg_sz = state->ts_cfg_profile->cp_max_mtu - 1; in tavor_ah_alloc()
155 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_ah_alloc()
1099 if (qplist_indx >= state->ts_cfg_profile->cp_num_qp_per_mcg) { in tavor_mcg_qplist_add()
1691 tbl_size = state->ts_cfg_profile->cp_log_max_gidtbl; in tavor_port_query()
1693 tbl_size = state->ts_cfg_profile->cp_log_max_pkeytbl; in tavor_port_query()
2077 max_port = state->ts_cfg_profile->cp_num_ports; in tavor_portnum_is_valid()
2095 max_pkeyindx = 1 << state->ts_cfg_profile->cp_log_max_pkeytbl; in tavor_pkeyindex_is_valid()
2131 type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_queue_alloc()
2177 dma_xfer_mode = state->ts_cfg_profile->cp_streaming_consistent; in tavor_queue_alloc()
H A Dtavor_cq.c164 if (log_cq_size > state->ts_cfg_profile->cp_log_max_cq_sz) { in tavor_cq_alloc()
222 dma_xfer_mode = state->ts_cfg_profile->cp_streaming_consistent; in tavor_cq_alloc()
227 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_cq_alloc()
539 if (log_cq_size > state->ts_cfg_profile->cp_log_max_cq_sz) { in tavor_cq_resize()
596 dma_xfer_mode = state->ts_cfg_profile->cp_streaming_consistent; in tavor_cq_resize()
601 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_cq_resize()
1188 cqmask = (1 << state->ts_cfg_profile->cp_log_num_cq) - 1; in tavor_cqhdl_from_cqnum()
H A Dtavor_cmd.c337 num_inmbox = (1 << state->ts_cfg_profile->cp_log_num_inmbox); in tavor_inmbox_list_init()
381 num_outmbox = (1 << state->ts_cfg_profile->cp_log_num_outmbox); in tavor_outmbox_list_init()
480 countmax = state->ts_cfg_profile->cp_cmd_poll_max; in tavor_impl_mbox_alloc()
492 drv_usecwait(state->ts_cfg_profile->cp_cmd_poll_delay); in tavor_impl_mbox_alloc()
656 flag = state->ts_cfg_profile->cp_streaming_consistent; in tavor_impl_mboxlist_init()
914 countmax = state->ts_cfg_profile->cp_cmd_poll_max; in tavor_write_hcr()
923 drv_usecwait(state->ts_cfg_profile->cp_cmd_poll_delay); in tavor_write_hcr()
974 countmax = state->ts_cfg_profile->cp_cmd_poll_max; in tavor_write_hcr()
984 drv_usecwait(state->ts_cfg_profile->cp_cmd_poll_delay); in tavor_write_hcr()
1451 mod->srq = state->ts_cfg_profile->cp_srq_enable; in tavor_mod_stat_cfg_cmd_post()
[all …]
H A Dtavor_ioctl.c767 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_gidtbl); in tavor_ioctl_ports()
770 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_pkeytbl); in tavor_ioctl_ports()
780 info.tp_num_ports = (uint8_t)state->ts_cfg_profile->cp_num_ports; in tavor_ioctl_ports()
810 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_gidtbl); in tavor_ioctl_ports()
812 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_pkeytbl); in tavor_ioctl_ports()
907 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_gidtbl); in tavor_ioctl_loopback()
910 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_pkeytbl); in tavor_ioctl_loopback()
922 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_gidtbl); in tavor_ioctl_loopback()
924 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_pkeytbl); in tavor_ioctl_loopback()
940 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_gidtbl); in tavor_ioctl_loopback()
[all …]
H A Dtavor_rsrc.c436 cfgprof = state->ts_cfg_profile; in tavor_rsrc_init_phase1()
591 cfgprof = state->ts_cfg_profile; in tavor_rsrc_init_phase2()
893 if (state->ts_cfg_profile->cp_srq_enable != 0) { in tavor_rsrc_init_phase2()
1231 if (state->ts_cfg_profile->cp_srq_enable != 0) { in tavor_rsrc_init_phase2()
1425 cfgprof = state->ts_cfg_profile; in tavor_rsrc_fini()
1480 if (state->ts_cfg_profile->cp_srq_enable != 0) { in tavor_rsrc_fini()
1569 if (state->ts_cfg_profile->cp_srq_enable != 0) { in tavor_rsrc_fini()
1688 dma_xfer_mode = state->ts_cfg_profile->cp_streaming_consistent; in tavor_rsrc_mbox_init()
2632 num_qp_per_mcg = state->ts_cfg_profile->cp_num_qp_per_mcg + 8; in tavor_rsrc_mcg_entry_get_size()
2637 state->ts_cfg_profile->cp_num_qp_per_mcg = (1 << log2) - 8; in tavor_rsrc_mcg_entry_get_size()
[all …]
H A Dtavor_cfg.c378 state->ts_cfg_profile = cp; in tavor_cfg_profile_init_phase1()
393 cp = state->ts_cfg_profile; in tavor_cfg_profile_init_phase2()
615 kmem_free(state->ts_cfg_profile, sizeof (tavor_cfg_profile_t)); in tavor_cfg_profile_fini()
H A Dtavor_event.c101 log_eq_size = state->ts_cfg_profile->cp_log_default_eq_sz; in tavor_eq_init_all()
924 dma_xfer_mode = state->ts_cfg_profile->cp_streaming_consistent; in tavor_eq_alloc()
928 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_eq_alloc()
1236 if ((port == 0) || (port > state->ts_cfg_profile->cp_num_ports)) { in tavor_port_state_change_handler()
H A Dtavor_qpmod.c1126 qpc->mtu = state->ts_cfg_profile->cp_max_mtu; in tavor_qp_init2rtr()
1504 qpc->ack_req_freq = state->ts_cfg_profile->cp_ackreq_freq; in tavor_qp_rtr2rts()
2944 if (rdma_ra_in > state->ts_cfg_profile->cp_hca_max_rdma_in_qp) { in tavor_qp_validate_resp_rsrc()
2980 if (rdma_ra_out > state->ts_cfg_profile->cp_hca_max_rdma_out_qp) { in tavor_qp_validate_init_depth()
3011 if ((mtu == 0) || (mtu > state->ts_cfg_profile->cp_max_mtu)) { in tavor_qp_validate_mtu()
H A Dtavor_mr.c1002 log_num_mpt = state->ts_cfg_profile->cp_log_num_mpt; in tavor_mr_keycalc()
1058 max_sz = ((uint64_t)1 << state->ts_cfg_profile->cp_log_max_mrw_sz); in tavor_mr_common_reg()
1943 max_sz = ((uint64_t)1 << state->ts_cfg_profile->cp_log_max_mrw_sz); in tavor_mr_rereg_xlat_helper()
2335 if (state->ts_cfg_profile->cp_disable_streaming_on_bypass && in tavor_mr_mem_bind()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_event.h101 ((((((state)->ts_cfg_profile->cp_streaming_consistent) && \
102 ((state)->ts_cfg_profile->cp_consistent_syncoverride))) || \
H A Dtavor_srq.h94 ((((((state)->ts_cfg_profile->cp_streaming_consistent) && \
95 ((state)->ts_cfg_profile->cp_consistent_syncoverride))) || \
H A Dtavor_cq.h90 ((((((state)->ts_cfg_profile->cp_streaming_consistent) && \
91 ((state)->ts_cfg_profile->cp_consistent_syncoverride))) || \
H A Dtavor_qp.h86 ((((((state)->ts_cfg_profile->cp_streaming_consistent) && \
87 ((state)->ts_cfg_profile->cp_consistent_syncoverride))) || \
H A Dtavor_cmd.h84 ((((((state)->ts_cfg_profile->cp_streaming_consistent) && \
85 ((state)->ts_cfg_profile->cp_consistent_syncoverride))) || \
H A Dtavor_misc.h115 ((((state)->ts_cfg_profile->cp_num_qp_per_mcg) + 8) << 2)
H A Dtavor.h460 tavor_cfg_profile_t *ts_cfg_profile; member