Lines Matching refs:max_sqes
55 if (!is_power_of_2(hba->max_sqes))
56 hba->max_sqes = rounddown_pow_of_two(hba->max_sqes);
67 if (hba->max_sqes < num_elements_per_pg)
68 hba->max_sqes = num_elements_per_pg;
69 else if (hba->max_sqes % num_elements_per_pg)
70 hba->max_sqes = (hba->max_sqes + num_elements_per_pg - 1) &
1052 ep->qp.sq_mem_size = hba->max_sqes * BNX2I_SQ_WQE_SIZE;
1082 ep->qp.sq_last_qe = &ep->qp.sq_first_qe[hba->max_sqes - 1];
1085 ep->qp.sqe_left = hba->max_sqes;
1271 hba->num_ccell = hba->max_sqes >> 1;
1273 ((hba->num_ccell & 0xFFFF) | (hba->max_sqes << 16));
1275 iscsi_init.num_tasks_per_conn = hba->max_sqes;
1277 iscsi_init.sq_num_wqes = hba->max_sqes;
1283 iscsi_init.sq_num_pages = (hba->max_sqes * BNX2I_SQ_WQE_SIZE +