Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c1585 if (state->ts_cfg_profile->cp_nodeguid) { in tavor_hw_init()
1586 state->ts_nodeguid = state->ts_cfg_profile->cp_nodeguid; in tavor_hw_init()
1604 if (state->ts_cfg_profile->cp_sysimgguid) { in tavor_hw_init()
1605 state->ts_sysimgguid = state->ts_cfg_profile->cp_sysimgguid; in tavor_hw_init()
1655 num_ports = state->ts_cfg_profile->cp_num_ports; in tavor_hw_fini()
1851 if (state->ts_cfg_profile->cp_srq_enable) { in tavor_soft_state_init()
1871 val = ((uint64_t)1 << state->ts_cfg_profile->cp_log_num_qp); in tavor_soft_state_init()
1875 val = ((uint64_t)1 << state->ts_cfg_profile->cp_log_max_qp_sz); in tavor_soft_state_init()
1890 val = state->ts_cfg_profile->cp_wqe_max_sgl; in tavor_soft_state_init()
1902 if (state->ts_cfg_profile->cp_wqe_real_max_sgl > maxval) { in tavor_soft_state_init()
[all …]
H A Dtavor_srq.c185 if (log_srq_size > state->ts_cfg_profile->cp_log_max_srq_sz) { in tavor_srq_alloc()
196 max_sgl = state->ts_cfg_profile->cp_srq_max_sgl; in tavor_srq_alloc()
282 mr_op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_srq_alloc()
286 state->ts_cfg_profile->cp_iommu_bypass; in tavor_srq_alloc()
288 state->ts_cfg_profile->cp_streaming_consistent; in tavor_srq_alloc()
668 wq_location = state->ts_cfg_profile->cp_srq_wq_inddr; in tavor_srq_modify()
674 max_srq_size = (1 << state->ts_cfg_profile->cp_log_max_srq_sz); in tavor_srq_modify()
698 if (log_srq_size > state->ts_cfg_profile->cp_log_max_srq_sz) { in tavor_srq_modify()
764 bind.bi_bypass = state->ts_cfg_profile->cp_iommu_bypass; in tavor_srq_modify()
768 state->ts_cfg_profile->cp_iommu_bypass; in tavor_srq_modify()
[all …]
H A Dtavor_agents.c71 if ((state->ts_cfg_profile->cp_qp0_agents_in_fw) && in tavor_agent_handlers_init()
72 (state->ts_cfg_profile->cp_qp1_agents_in_fw)) { in tavor_agent_handlers_init()
142 if ((state->ts_cfg_profile->cp_qp0_agents_in_fw) && in tavor_agent_handlers_fini()
143 (state->ts_cfg_profile->cp_qp1_agents_in_fw)) { in tavor_agent_handlers_fini()
427 num_ports = state->ts_cfg_profile->cp_num_ports; in tavor_agent_list_init()
430 do_qp0 = state->ts_cfg_profile->cp_qp0_agents_in_fw; in tavor_agent_list_init()
431 do_qp1 = state->ts_cfg_profile->cp_qp1_agents_in_fw; in tavor_agent_list_init()
H A Dtavor_qp.c296 max_rdb = state->ts_cfg_profile->cp_hca_max_rdma_in_qp; in tavor_qp_alloc()
333 if ((log_qp_sq_size > state->ts_cfg_profile->cp_log_max_qp_sz) || in tavor_qp_alloc()
335 state->ts_cfg_profile->cp_log_max_qp_sz))) { in tavor_qp_alloc()
346 max_sgl = state->ts_cfg_profile->cp_wqe_real_max_sgl; in tavor_qp_alloc()
464 mr_op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_qp_alloc()
468 state->ts_cfg_profile->cp_iommu_bypass; in tavor_qp_alloc()
470 state->ts_cfg_profile->cp_streaming_consistent; in tavor_qp_alloc()
819 if ((log_qp_sq_size > state->ts_cfg_profile->cp_log_max_qp_sz) || in tavor_special_qp_alloc()
820 (log_qp_rq_size > state->ts_cfg_profile->cp_log_max_qp_sz)) { in tavor_special_qp_alloc()
831 max_sgl = state->ts_cfg_profile->cp_wqe_real_max_sgl; in tavor_special_qp_alloc()
[all …]
H A Dtavor_stats.c139 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_init()
231 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_fini()
419 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_cntr_update()
675 for (i = 0; i < state->ts_cfg_profile->cp_num_ports; i++) { in tavor_kstat_perfcntr64_update_thread()
802 for (i = 0; i < state->ts_cfg_profile->cp_num_ports; in tavor_kstat_perfcntr64_update()
H A Dtavor_ci.c392 end = start + (state->ts_cfg_profile->cp_num_ports - 1); in tavor_ci_query_hca_ports()
851 op.qpo_wq_loc = state->ts_cfg_profile->cp_qp_wq_inddr; in tavor_ci_alloc_qp()
906 op.qpo_wq_loc = state->ts_cfg_profile->cp_qp_wq_inddr; in tavor_ci_alloc_special_qp()
1518 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_ci_register_mr()
1614 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_ci_register_buf()
1901 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_ci_reregister_mr()
1984 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_ci_reregister_buf()
2713 if (state->ts_cfg_profile->cp_srq_enable == 0) { in tavor_ci_alloc_srq()
2736 op.srqo_wq_loc = state->ts_cfg_profile->cp_srq_wq_inddr; in tavor_ci_alloc_srq()
2774 if (state->ts_cfg_profile->cp_srq_enable == 0) { in tavor_ci_free_srq()
[all …]
H A Dtavor_cq.c175 if (log_cq_size > state->ts_cfg_profile->cp_log_max_cq_sz) { in tavor_cq_alloc()
237 dma_xfer_mode = state->ts_cfg_profile->cp_streaming_consistent; in tavor_cq_alloc()
242 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_cq_alloc()
580 if (log_cq_size > state->ts_cfg_profile->cp_log_max_cq_sz) { in tavor_cq_resize()
641 dma_xfer_mode = state->ts_cfg_profile->cp_streaming_consistent; in tavor_cq_resize()
646 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_cq_resize()
1289 cqmask = (1 << state->ts_cfg_profile->cp_log_num_cq) - 1; in tavor_cqhdl_from_cqnum()
H A Dtavor_cmd.c371 num_inmbox = (1 << state->ts_cfg_profile->cp_log_num_inmbox); in tavor_inmbox_list_init()
399 num_inmbox = (1 << state->ts_cfg_profile->cp_log_num_intr_inmbox); in tavor_intr_inmbox_list_init()
427 num_outmbox = (1 << state->ts_cfg_profile->cp_log_num_outmbox); in tavor_outmbox_list_init()
455 num_outmbox = (1 << state->ts_cfg_profile->cp_log_num_intr_outmbox); in tavor_intr_outmbox_list_init()
554 countmax = state->ts_cfg_profile->cp_cmd_poll_max; in tavor_impl_mbox_alloc()
569 drv_usecwait(state->ts_cfg_profile->cp_cmd_poll_delay); in tavor_impl_mbox_alloc()
740 flag = state->ts_cfg_profile->cp_streaming_consistent; in tavor_impl_mboxlist_init()
1023 countmax = state->ts_cfg_profile->cp_cmd_poll_max; in tavor_write_hcr()
1035 drv_usecwait(state->ts_cfg_profile->cp_cmd_poll_delay); in tavor_write_hcr()
1089 countmax = state->ts_cfg_profile->cp_cmd_poll_max; in tavor_write_hcr()
[all …]
H A Dtavor_misc.c152 udav_entry.msg_sz = state->ts_cfg_profile->cp_max_mtu - 1; in tavor_ah_alloc()
166 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_ah_alloc()
1216 if (qplist_indx >= state->ts_cfg_profile->cp_num_qp_per_mcg) { in tavor_mcg_qplist_add()
1891 tbl_size = state->ts_cfg_profile->cp_log_max_gidtbl; in tavor_port_query()
1893 tbl_size = state->ts_cfg_profile->cp_log_max_pkeytbl; in tavor_port_query()
2311 max_port = state->ts_cfg_profile->cp_num_ports; in tavor_portnum_is_valid()
2329 max_pkeyindx = 1 << state->ts_cfg_profile->cp_log_max_pkeytbl; in tavor_pkeyindex_is_valid()
2367 type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_queue_alloc()
2415 dma_xfer_mode = state->ts_cfg_profile->cp_streaming_consistent; in tavor_queue_alloc()
H A Dtavor_ioctl.c905 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_gidtbl); in tavor_ioctl_ports()
908 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_pkeytbl); in tavor_ioctl_ports()
918 info.tp_num_ports = (uint8_t)state->ts_cfg_profile->cp_num_ports; in tavor_ioctl_ports()
951 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_gidtbl); in tavor_ioctl_ports()
953 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_pkeytbl); in tavor_ioctl_ports()
1072 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_gidtbl); in tavor_ioctl_loopback()
1075 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_pkeytbl); in tavor_ioctl_loopback()
1087 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_gidtbl); in tavor_ioctl_loopback()
1089 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_pkeytbl); in tavor_ioctl_loopback()
1108 tbl_size = (1 << state->ts_cfg_profile->cp_log_max_gidtbl); in tavor_ioctl_loopback()
[all …]
H A Dtavor_cfg.c384 state->ts_cfg_profile = cp; in tavor_cfg_profile_init_phase1()
402 cp = state->ts_cfg_profile; in tavor_cfg_profile_init_phase2()
629 kmem_free(state->ts_cfg_profile, sizeof (tavor_cfg_profile_t)); in tavor_cfg_profile_fini()
H A Dtavor_rsrc.c454 cfgprof = state->ts_cfg_profile; in tavor_rsrc_init_phase1()
625 cfgprof = state->ts_cfg_profile; in tavor_rsrc_init_phase2()
943 if (state->ts_cfg_profile->cp_srq_enable != 0) { in tavor_rsrc_init_phase2()
1307 if (state->ts_cfg_profile->cp_srq_enable != 0) { in tavor_rsrc_init_phase2()
1519 cfgprof = state->ts_cfg_profile; in tavor_rsrc_fini()
1574 if (state->ts_cfg_profile->cp_srq_enable != 0) { in tavor_rsrc_fini()
1663 if (state->ts_cfg_profile->cp_srq_enable != 0) { in tavor_rsrc_fini()
1789 dma_xfer_mode = state->ts_cfg_profile->cp_streaming_consistent; in tavor_rsrc_mbox_init()
2887 num_qp_per_mcg = state->ts_cfg_profile->cp_num_qp_per_mcg + 8; in tavor_rsrc_mcg_entry_get_size()
2892 state->ts_cfg_profile->cp_num_qp_per_mcg = (1 << log2) - 8; in tavor_rsrc_mcg_entry_get_size()
[all …]
H A Dtavor_event.c104 log_eq_size = state->ts_cfg_profile->cp_log_default_eq_sz; in tavor_eq_init_all()
1002 dma_xfer_mode = state->ts_cfg_profile->cp_streaming_consistent; in tavor_eq_alloc()
1006 op.mro_bind_type = state->ts_cfg_profile->cp_iommu_bypass; in tavor_eq_alloc()
1361 if ((port == 0) || (port > state->ts_cfg_profile->cp_num_ports)) { in tavor_port_state_change_handler()
H A Dtavor_mr.c1129 log_num_mpt = state->ts_cfg_profile->cp_log_num_mpt; in tavor_mr_keycalc()
1188 max_sz = ((uint64_t)1 << state->ts_cfg_profile->cp_log_max_mrw_sz); in tavor_mr_common_reg()
2146 max_sz = ((uint64_t)1 << state->ts_cfg_profile->cp_log_max_mrw_sz); in tavor_mr_rereg_xlat_helper()
2560 if (state->ts_cfg_profile->cp_disable_streaming_on_bypass && in tavor_mr_mem_bind()
H A Dtavor_qpmod.c1302 qpc->mtu = state->ts_cfg_profile->cp_max_mtu; in tavor_qp_init2rtr()
1743 qpc->ack_req_freq = state->ts_cfg_profile->cp_ackreq_freq; in tavor_qp_rtr2rts()
3431 if (rdma_ra_in > state->ts_cfg_profile->cp_hca_max_rdma_in_qp) { in tavor_qp_validate_resp_rsrc()
3467 if (rdma_ra_out > state->ts_cfg_profile->cp_hca_max_rdma_out_qp) { in tavor_qp_validate_init_depth()
3498 if ((mtu == 0) || (mtu > state->ts_cfg_profile->cp_max_mtu)) { in tavor_qp_validate_mtu()
/titanic_44/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.h482 tavor_cfg_profile_t *ts_cfg_profile; member