Lines Matching refs:conn_cfg

208 	struct qed_conn_type_cfg	conn_cfg[MAX_CONN_TYPES];  member
278 iids->pf_cids += p_mngr->conn_cfg[type].cid_count; in qed_cxt_cdu_iids()
279 iids->per_vf_cids += p_mngr->conn_cfg[type].cids_per_vf; in qed_cxt_cdu_iids()
298 iids->pf_cids += p_mngr->conn_cfg[i].cid_count; in qed_cxt_src_iids()
299 iids->per_vf_cids += p_mngr->conn_cfg[i].cids_per_vf; in qed_cxt_src_iids()
330 struct qed_conn_type_cfg *p_cfg = &p_mngr->conn_cfg[i]; in qed_cxt_tm_iids()
382 iids->cids += p_mngr->conn_cfg[type].cid_count; in qed_cxt_qm_iids()
383 vf_cids += p_mngr->conn_cfg[type].cids_per_vf; in qed_cxt_qm_iids()
385 segs = p_mngr->conn_cfg[type].tid_seg; in qed_cxt_qm_iids()
417 if (p_cfg->conn_cfg[i].tid_seg[seg].count) in qed_cxt_tid_seg_info()
418 return &p_cfg->conn_cfg[i].tid_seg[seg]; in qed_cxt_tid_seg_info()
442 struct qed_conn_type_cfg *p_conn = &p_mgr->conn_cfg[type]; in qed_cxt_set_proto_cid_count()
461 *vf_cid = p_hwfn->p_cxt_mngr->conn_cfg[type].cids_per_vf; in qed_cxt_get_proto_cid_count()
463 return p_hwfn->p_cxt_mngr->conn_cfg[type].cid_count; in qed_cxt_get_proto_cid_count()
479 cnt += p_hwfn->p_cxt_mngr->conn_cfg[type].tid_seg[i].count; in qed_cxt_get_proto_tid_count()
490 struct qed_tid_seg *p_seg = &p_mngr->conn_cfg[proto].tid_seg[seg]; in qed_cxt_set_proto_tid_count()
539 u32 cid_count = p_hwfn->p_cxt_mngr->conn_cfg[PROTOCOLID_ROCE].cid_count; in qed_ilt_get_dynamic_line_cnt()
1176 struct qed_conn_type_cfg *p_cfg = &p_mngr->conn_cfg[type]; in qed_cid_map_alloc()
1310 p_cfg = &p_mngr->conn_cfg[type]; in qed_cxt_mngr_setup()
1546 dq_pf_max_cid += (p_mngr->conn_cfg[0].cid_count >> DQ_RANGE_SHIFT); in qed_dq_init_pf()
1549 dq_vf_max_cid += (p_mngr->conn_cfg[0].cids_per_vf >> DQ_RANGE_SHIFT); in qed_dq_init_pf()
1552 dq_pf_max_cid += (p_mngr->conn_cfg[1].cid_count >> DQ_RANGE_SHIFT); in qed_dq_init_pf()
1555 dq_vf_max_cid += (p_mngr->conn_cfg[1].cids_per_vf >> DQ_RANGE_SHIFT); in qed_dq_init_pf()
1558 dq_pf_max_cid += (p_mngr->conn_cfg[2].cid_count >> DQ_RANGE_SHIFT); in qed_dq_init_pf()
1561 dq_vf_max_cid += (p_mngr->conn_cfg[2].cids_per_vf >> DQ_RANGE_SHIFT); in qed_dq_init_pf()
1564 dq_pf_max_cid += (p_mngr->conn_cfg[3].cid_count >> DQ_RANGE_SHIFT); in qed_dq_init_pf()
1567 dq_vf_max_cid += (p_mngr->conn_cfg[3].cids_per_vf >> DQ_RANGE_SHIFT); in qed_dq_init_pf()
1570 dq_pf_max_cid += (p_mngr->conn_cfg[4].cid_count >> DQ_RANGE_SHIFT); in qed_dq_init_pf()
1573 dq_vf_max_cid += (p_mngr->conn_cfg[4].cids_per_vf >> DQ_RANGE_SHIFT); in qed_dq_init_pf()
1576 dq_pf_max_cid += (p_mngr->conn_cfg[5].cid_count >> DQ_RANGE_SHIFT); in qed_dq_init_pf()
1579 dq_vf_max_cid += (p_mngr->conn_cfg[5].cids_per_vf >> DQ_RANGE_SHIFT); in qed_dq_init_pf()
1863 p_fcoe = &p_mngr->conn_cfg[PROTOCOLID_FCOE]; in qed_prs_init_pf()
2226 p_seg_info = &p_mngr->conn_cfg[proto].tid_seg[seg]; in qed_cxt_get_tid_mem_info()
2530 p_seg_info = &p_mngr->conn_cfg[proto].tid_seg[seg]; in qed_cxt_get_task_ctx()