Home
last modified time | relevance | path

Searched refs:hs_cfg_profile (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_agents.c69 if ((state->hs_cfg_profile->cp_qp0_agents_in_fw) && in hermon_agent_handlers_init()
70 (state->hs_cfg_profile->cp_qp1_agents_in_fw)) { in hermon_agent_handlers_init()
127 if ((state->hs_cfg_profile->cp_qp0_agents_in_fw) && in hermon_agent_handlers_fini()
128 (state->hs_cfg_profile->cp_qp1_agents_in_fw)) { in hermon_agent_handlers_fini()
601 num_ports = state->hs_cfg_profile->cp_num_ports; in hermon_agent_list_init()
604 do_qp0 = state->hs_cfg_profile->cp_qp0_agents_in_fw; in hermon_agent_list_init()
605 do_qp1 = state->hs_cfg_profile->cp_qp1_agents_in_fw; in hermon_agent_list_init()
H A Dhermon.c1528 cfg = state->hs_cfg_profile; in hermon_size_icm()
2112 if (state->hs_cfg_profile->cp_nodeguid) { in hermon_hw_init()
2131 if (state->hs_cfg_profile->cp_sysimgguid) { in hermon_hw_init()
2567 val = state->hs_cfg_profile->cp_wqe_max_sgl; in hermon_soft_state_init()
2655 val = state->hs_cfg_profile->cp_log_max_mrw_sz; in hermon_soft_state_init()
2686 val = state->hs_cfg_profile->cp_num_qp_per_mcg; in hermon_soft_state_init()
2693 state->hs_cfg_profile->cp_log_max_pkeytbl); in hermon_soft_state_init()
2705 val = state->hs_cfg_profile->cp_num_ports; in hermon_soft_state_init()
2864 cfg = state->hs_cfg_profile; in hermon_icm_config_setup()
3039 cfg = state->hs_cfg_profile; in hermon_inithca_set()
[all …]
H A Dhermon_srq.c187 if (log_srq_size > state->hs_cfg_profile->cp_log_max_srq_sz) { in hermon_srq_alloc()
280 mr_op.mro_bind_type = state->hs_cfg_profile->cp_iommu_bypass; in hermon_srq_alloc()
607 (state->hs_cfg_profile->cp_srq_resize_enabled == 0)) in hermon_srq_modify()
614 max_srq_size = (1 << state->hs_cfg_profile->cp_log_max_srq_sz); in hermon_srq_modify()
635 if (log_srq_size > state->hs_cfg_profile->cp_log_max_srq_sz) { in hermon_srq_modify()
696 bind.bi_bypass = state->hs_cfg_profile->cp_iommu_bypass; in hermon_srq_modify()
953 srqmask = (1 << state->hs_cfg_profile->cp_log_num_srq) - 1; in hermon_srqhdl_from_srqnum()
996 *max_sgl = min(state->hs_cfg_profile->cp_srq_max_sgl, actual_sgl); in hermon_srq_sgl_to_logwqesz()
H A Dhermon_qp.c427 (1 << state->hs_cfg_profile->cp_log_max_qp_sz)) || in hermon_qp_alloc()
430 state->hs_cfg_profile->cp_log_max_qp_sz))) { in hermon_qp_alloc()
559 state->hs_cfg_profile->cp_iommu_bypass; in hermon_qp_alloc()
947 max_sgl = state->hs_cfg_profile->cp_wqe_real_max_sgl; in hermon_special_qp_alloc()
1546 state->hs_cfg_profile->cp_log_max_qp_sz))) { in hermon_qp_alloc_range()
1664 state->hs_cfg_profile->cp_iommu_bypass; in hermon_qp_alloc_range()
2539 (24 - state->hs_cfg_profile->cp_log_num_qp))) { in hermon_qp_release_qpn()
2681 state->hs_cfg_profile->cp_qp0_agents_in_fw, in hermon_special_qp_rsrc_alloc()
2682 state->hs_cfg_profile->cp_qp1_agents_in_fw)); in hermon_special_qp_rsrc_alloc()
2714 state->hs_cfg_profile->cp_qp0_agents_in_fw, in hermon_special_qp_rsrc_alloc()
[all …]
H A Dhermon_stats.c119 numports = state->hs_cfg_profile->cp_num_ports; in hermon_kstat_init()
204 numports = state->hs_cfg_profile->cp_num_ports; in hermon_kstat_fini()
379 numports = state->hs_cfg_profile->cp_num_ports; in hermon_kstat_cntr_update()
755 for (i = 0; i < state->hs_cfg_profile->cp_num_ports; i++) { in hermon_kstat_perfcntr64_update_thread()
934 for (i = 0; i < state->hs_cfg_profile->cp_num_ports; in hermon_kstat_perfcntr64_update()
H A Dhermon_cfg.c260 state->hs_cfg_profile = cp; in hermon_cfg_profile_init_phase1()
284 cp = state->hs_cfg_profile; in hermon_cfg_profile_init_phase2()
411 kmem_free(state->hs_cfg_profile, sizeof (hermon_cfg_profile_t)); in hermon_cfg_profile_fini()
H A Dhermon_misc.c100 if (state->hs_cfg_profile->cp_iommu_bypass == HERMON_BINDMEM_BYPASS) in hermon_dbr_new_user_page()
290 if (state->hs_cfg_profile->cp_iommu_bypass == HERMON_BINDMEM_BYPASS) in hermon_dbr_page_alloc()
1350 if (qplist_indx >= state->hs_cfg_profile->cp_num_qp_per_mcg) { in hermon_mcg_qplist_add()
1961 tbl_size = state->hs_cfg_profile->cp_log_max_gidtbl; in hermon_port_query()
1963 tbl_size = state->hs_cfg_profile->cp_log_max_pkeytbl; in hermon_port_query()
2363 max_port = state->hs_cfg_profile->cp_num_ports; in hermon_portnum_is_valid()
2381 max_pkeyindx = 1 << state->hs_cfg_profile->cp_log_max_pkeytbl; in hermon_pkeyindex_is_valid()
2417 if (state->hs_cfg_profile->cp_iommu_bypass == HERMON_BINDMEM_BYPASS) { in hermon_queue_alloc()
2593 fmrpool->fmr_max_remaps = state->hs_cfg_profile->cp_fmr_max_remaps; in hermon_create_fmr_pool()
2807 state->hs_cfg_profile->cp_fmr_max_remaps) { in hermon_deregister_fmr()
H A Dhermon_ioctl.c869 tbl_size = (1 << state->hs_cfg_profile->cp_log_max_gidtbl); in hermon_ioctl_ports()
872 tbl_size = (1 << state->hs_cfg_profile->cp_log_max_pkeytbl); in hermon_ioctl_ports()
882 info.ap_num_ports = (uint8_t)state->hs_cfg_profile->cp_num_ports; in hermon_ioctl_ports()
912 tbl_size = (1 << state->hs_cfg_profile->cp_log_max_gidtbl); in hermon_ioctl_ports()
914 tbl_size = (1 << state->hs_cfg_profile->cp_log_max_pkeytbl); in hermon_ioctl_ports()
1009 tbl_size = (1 << state->hs_cfg_profile->cp_log_max_gidtbl); in hermon_ioctl_loopback()
1012 tbl_size = (1 << state->hs_cfg_profile->cp_log_max_pkeytbl); in hermon_ioctl_loopback()
1024 tbl_size = (1 << state->hs_cfg_profile->cp_log_max_gidtbl); in hermon_ioctl_loopback()
1026 tbl_size = (1 << state->hs_cfg_profile->cp_log_max_pkeytbl); in hermon_ioctl_loopback()
1043 tbl_size = (1 << state->hs_cfg_profile->cp_log_max_gidtbl); in hermon_ioctl_loopback()
[all …]
H A Dhermon_cmd.c438 num_inmbox = (1 << state->hs_cfg_profile->cp_log_num_inmbox); in hermon_inmbox_list_init()
460 num_inmbox = (1 << state->hs_cfg_profile->cp_log_num_intr_inmbox); in hermon_intr_inmbox_list_init()
482 num_outmbox = (1 << state->hs_cfg_profile->cp_log_num_outmbox); in hermon_outmbox_list_init()
581 countmax = state->hs_cfg_profile->cp_cmd_poll_max; in hermon_impl_mbox_alloc()
593 drv_usecwait(state->hs_cfg_profile->cp_cmd_poll_delay); in hermon_impl_mbox_alloc()
1012 countmax = state->hs_cfg_profile->cp_cmd_poll_max; in hermon_write_hcr()
1029 drv_usecwait(state->hs_cfg_profile->cp_cmd_poll_delay); in hermon_write_hcr()
1110 countmax = (state->hs_cfg_profile->cp_cmd_poll_max << 4); in hermon_write_hcr()
1126 drv_usecwait(state->hs_cfg_profile->cp_cmd_poll_delay); in hermon_write_hcr()
1547 mod->srq = state->hs_cfg_profile->cp_srq_enable; in hermon_mod_stat_cfg_cmd_post()
[all …]
H A Dhermon_ci.c388 end = start + (state->hs_cfg_profile->cp_num_ports - 1); in hermon_ci_query_hca_ports()
1137 op.mro_bind_type = state->hs_cfg_profile->cp_iommu_bypass; in hermon_ci_register_mr()
1209 op.mro_bind_type = state->hs_cfg_profile->cp_iommu_bypass; in hermon_ci_register_buf()
1391 op.mro_bind_type = state->hs_cfg_profile->cp_iommu_bypass; in hermon_ci_reregister_mr()
1452 op.mro_bind_type = state->hs_cfg_profile->cp_iommu_bypass; in hermon_ci_reregister_buf()
2091 if (state->hs_cfg_profile->cp_iommu_bypass == HERMON_BINDMEM_BYPASS) in hermon_map_mem_area_fmr()
2222 if (state->hs_cfg_profile->cp_iommu_bypass == HERMON_BINDMEM_BYPASS) in hermon_ci_map_mem_area()
2452 if (state->hs_cfg_profile->cp_iommu_bypass == HERMON_BINDMEM_BYPASS) in hermon_ci_map_mem_iov()
H A Dhermon_cq.c189 if (log_cq_size > state->hs_cfg_profile->cp_log_max_cq_sz) { in hermon_cq_alloc()
244 op.mro_bind_type = state->hs_cfg_profile->cp_iommu_bypass; in hermon_cq_alloc()
613 if (log_cq_size > state->hs_cfg_profile->cp_log_max_cq_sz) { in hermon_cq_resize()
670 op.mro_bind_type = state->hs_cfg_profile->cp_iommu_bypass; in hermon_cq_resize()
1281 cqmask = (1 << state->hs_cfg_profile->cp_log_num_cq) - 1; in hermon_cqhdl_from_cqnum()
H A Dhermon_rsrc.c668 cfgprof = state->hs_cfg_profile; in hermon_rsrc_init_phase1()
832 cfgprof = state->hs_cfg_profile; in hermon_rsrc_init_phase2()
1225 cfgprof = state->hs_cfg_profile; in hermon_rsrc_fini()
2668 num_qp_per_mcg = state->hs_cfg_profile->cp_num_qp_per_mcg + 8; in hermon_rsrc_mcg_entry_get_size()
2673 state->hs_cfg_profile->cp_num_qp_per_mcg = (1 << log2) - 8; in hermon_rsrc_mcg_entry_get_size()
2676 num_qp_per_mcg = state->hs_cfg_profile->cp_num_qp_per_mcg; in hermon_rsrc_mcg_entry_get_size()
H A Dhermon_qpmod.c875 cqnmask = (1 << state->hs_cfg_profile->cp_log_num_cq) - 1; in hermon_qp_reset2init()
1747 qpc->ack_req_freq = state->hs_cfg_profile->cp_ackreq_freq; in hermon_qp_rtr2rts()
3218 cqnmask = (1 << state->hs_cfg_profile->cp_log_num_cq) - 1; in hermon_qp_reset2err()
3369 if (rdma_ra_in > state->hs_cfg_profile->cp_hca_max_rdma_in_qp) { in hermon_qp_validate_resp_rsrc()
3405 if (rdma_ra_out > state->hs_cfg_profile->cp_hca_max_rdma_out_qp) { in hermon_qp_validate_init_depth()
3436 if ((mtu == 0) || (mtu > state->hs_cfg_profile->cp_max_mtu)) { in hermon_qp_validate_mtu()
H A Dhermon_event.c105 log_eq_size = state->hs_cfg_profile->cp_log_eq_sz; in hermon_eq_init_all()
804 op.mro_bind_type = state->hs_cfg_profile->cp_iommu_bypass; in hermon_eq_alloc()
1142 if ((port == 0) || (port > state->hs_cfg_profile->cp_num_ports)) { in hermon_port_state_change_handler()
H A Dhermon_fcoib.c337 fcoib->hfc_nports = numports = state->hs_cfg_profile->cp_num_ports; in hermon_fcoib_init()
H A Dhermon_mr.c1515 max_sz = ((uint64_t)1 << state->hs_cfg_profile->cp_log_max_mrw_sz); in hermon_mr_common_reg()
2726 max_sz = ((uint64_t)1 << state->hs_cfg_profile->cp_log_max_mrw_sz); in hermon_mr_rereg_xlat_helper()
H A Dhermon_fm.c645 cfgprof = state->hs_cfg_profile; in hermon_fm_ereport_init()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_misc.h102 ((((state)->hs_cfg_profile->cp_num_qp_per_mcg) + 8) << 2)
H A Dhermon.h529 hermon_cfg_profile_t *hs_cfg_profile; member