• Home
  • Raw
  • Download

Lines Matching refs:uk_attrs

200 	avail_quanta = qp->uk_attrs->max_hw_sq_chunk -  in irdma_qp_get_next_send_wqe()
202 qp->uk_attrs->max_hw_sq_chunk); in irdma_qp_get_next_send_wqe()
230 if (qp->uk_attrs->hw_rev == IRDMA_GEN_1 && quanta == 1 && in irdma_qp_get_next_send_wqe()
336 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && !(frag_cnt & 0x01) && in irdma_uk_rdma_write()
340 if (qp->uk_attrs->hw_rev == IRDMA_GEN_2) in irdma_uk_rdma_write()
423 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && in irdma_uk_rdma_read()
427 if (qp->uk_attrs->hw_rev == IRDMA_GEN_2) in irdma_uk_rdma_read()
519 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && !(frag_cnt & 0x01) && in irdma_uk_send()
523 if (qp->uk_attrs->hw_rev == IRDMA_GEN_2) in irdma_uk_send()
961 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && !(info->num_sges & 0x01) && in irdma_uk_post_receive()
965 if (qp->uk_attrs->hw_rev == IRDMA_GEN_2) in irdma_uk_post_receive()
1342 void irdma_get_wqe_shift(struct irdma_uk_attrs *uk_attrs, u32 sge, in irdma_get_wqe_shift() argument
1346 if (uk_attrs->hw_rev >= IRDMA_GEN_2) { in irdma_get_wqe_shift()
1368 enum irdma_status_code irdma_get_sqdepth(struct irdma_uk_attrs *uk_attrs, in irdma_get_sqdepth() argument
1375 else if (*sqdepth > uk_attrs->max_hw_wq_quanta) in irdma_get_sqdepth()
1388 enum irdma_status_code irdma_get_rqdepth(struct irdma_uk_attrs *uk_attrs, in irdma_get_rqdepth() argument
1395 else if (*rqdepth > uk_attrs->max_hw_rq_quanta) in irdma_get_rqdepth()
1427 (qp->uk_attrs->feature_flags & IRDMA_FEATURE_RTS_AE)) in irdma_setup_connection_wqes()
1453 qp->uk_attrs = info->uk_attrs; in irdma_uk_qp_init()
1454 if (info->max_sq_frag_cnt > qp->uk_attrs->max_hw_wq_frags || in irdma_uk_qp_init()
1455 info->max_rq_frag_cnt > qp->uk_attrs->max_hw_wq_frags) in irdma_uk_qp_init()
1458 irdma_get_wqe_shift(qp->uk_attrs, info->max_rq_frag_cnt, 0, &rqshift); in irdma_uk_qp_init()
1459 if (qp->uk_attrs->hw_rev == IRDMA_GEN_1) { in irdma_uk_qp_init()
1460 irdma_get_wqe_shift(qp->uk_attrs, info->max_sq_frag_cnt, in irdma_uk_qp_init()
1465 irdma_get_wqe_shift(qp->uk_attrs, info->max_sq_frag_cnt + 1, in irdma_uk_qp_init()
1499 if (qp->uk_attrs->hw_rev == IRDMA_GEN_1) in irdma_uk_qp_init()