Home
last modified time | relevance | path

Searched refs:num_cons (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/qlogic/qed/
Dqed_rdma.c141 u32 num_cons, num_tasks; in qed_rdma_alloc() local
151 num_cons = qed_cxt_get_proto_cid_count(p_hwfn, p_rdma_info->proto, in qed_rdma_alloc()
155 p_rdma_info->num_qps = num_cons; in qed_rdma_alloc()
157 p_rdma_info->num_qps = num_cons / 2; /* 2 cids per qp */ in qed_rdma_alloc()
212 rc = qed_rdma_bmap_alloc(p_hwfn, &p_rdma_info->cq_map, num_cons, "CQ"); in qed_rdma_alloc()
224 num_cons, "Toggle"); in qed_rdma_alloc()
241 rc = qed_rdma_bmap_alloc(p_hwfn, &p_rdma_info->cid_map, num_cons, in qed_rdma_alloc()
250 rc = qed_rdma_bmap_alloc(p_hwfn, &p_rdma_info->real_cid_map, num_cons, in qed_rdma_alloc()
Dqed_cxt.c1982 u32 num_cons, num_qps; in qed_rdma_set_pf_params() local
1994 num_cons = min_t(u32, IWARP_MAX_QPS, p_params->num_qps); in qed_rdma_set_pf_params()
1999 num_cons = num_qps * 2; /* each QP requires two connections */ in qed_rdma_set_pf_params()
2006 if (num_cons && num_tasks) { in qed_rdma_set_pf_params()
2009 qed_cxt_set_proto_cid_count(p_hwfn, proto, num_cons, 0); in qed_rdma_set_pf_params()
2060 p_params->num_cons, in qed_cxt_set_pf_params()
2071 if (p_params->num_cons && p_params->num_tasks) { in qed_cxt_set_pf_params()
2074 p_params->num_cons, in qed_cxt_set_pf_params()
2092 if (p_params->num_cons && p_params->num_tasks) { in qed_cxt_set_pf_params()
2095 p_params->num_cons, in qed_cxt_set_pf_params()
Dqed_main.c1137 u16 *num_cons; in qed_update_pf_params() local
1139 num_cons = &params->eth_pf_params.num_cons; in qed_update_pf_params()
1140 *num_cons = min_t(u16, *num_cons, QED_MAX_L2_CONS); in qed_update_pf_params()
Dqed_dev.c2170 u32 n_eqes, num_cons; in qed_resc_alloc() local
2259 num_cons = qed_cxt_get_proto_cid_count(p_hwfn, in qed_resc_alloc()
2265 n_eqes += num_cons + 2 * MAX_NUM_VFS_BB + n_srq; in qed_resc_alloc()
2267 num_cons = in qed_resc_alloc()
2271 n_eqes += 2 * num_cons; in qed_resc_alloc()
Dqed_l2.c2210 cids = hwfn->pf_params.eth_pf_params.num_cons; in qed_fill_eth_dev_info()
/drivers/scsi/be2iscsi/
Dbe_main.h631 u8 num_cons[10]; member
641 u8 num_cons; /* DWORD 2*/ member
Dbe_main.c1782 num_cons, pdpdu_cqe); in beiscsi_hdq_process_compl()
1785 num_cons, pdpdu_cqe); in beiscsi_hdq_process_compl()
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c1091 u16 num_cons; in qede_update_pf_params() local
1097 num_cons = QED_MIN_L2_CONS; in qede_update_pf_params()
1099 pf_params.eth_pf_params.num_cons = (MAX_SB_PER_PF_MIMD - 1) * num_cons; in qede_update_pf_params()
/drivers/scsi/qedi/
Dqedi_main.c863 qedi->pf_params.iscsi_pf_params.num_cons = QEDI_MAX_ISCSI_CONNS_PER_HBA; in qedi_set_iscsi_pf_param()
/drivers/scsi/qedf/
Dqedf_main.c3210 qedf->pf_params.fcoe_pf_params.num_cons = QEDF_MAX_SESSIONS; in qedf_set_fcoe_pf_param()