Lines Matching defs:pr_cfg
1504 struct port_res_cfg *pr_cfg, int queue_token)
1523 pr->recv_cq = ehea_create_cq(adapter, pr_cfg->max_entries_rcq,
1531 pr->send_cq = ehea_create_cq(adapter, pr_cfg->max_entries_scq,
1555 init_attr->max_nr_send_wqes = pr_cfg->max_entries_sq;
1556 init_attr->max_nr_rwqes_rq1 = pr_cfg->max_entries_rq1;
1557 init_attr->max_nr_rwqes_rq2 = pr_cfg->max_entries_rq2;
1558 init_attr->max_nr_rwqes_rq3 = pr_cfg->max_entries_rq3;
2485 struct port_res_cfg pr_cfg, pr_cfg_small_rx;
2496 pr_cfg.max_entries_rcq = rq1_entries + rq2_entries + rq3_entries;
2497 pr_cfg.max_entries_scq = sq_entries * 2;
2498 pr_cfg.max_entries_sq = sq_entries;
2499 pr_cfg.max_entries_rq1 = rq1_entries;
2500 pr_cfg.max_entries_rq2 = rq2_entries;
2501 pr_cfg.max_entries_rq3 = rq3_entries;
2511 ret = ehea_init_port_res(port, &port->port_res[i], &pr_cfg, i);