Home
last modified time | relevance | path

Searched refs:uk_attrs (Results 1 – 11 of 11) sorted by relevance

/drivers/infiniband/hw/irdma/
Di40iw_hw.c201 dev->hw_attrs.uk_attrs.max_hw_wq_frags = I40IW_MAX_WQ_FRAGMENT_COUNT; in i40iw_init_hw()
202 dev->hw_attrs.uk_attrs.max_hw_read_sges = I40IW_MAX_SGE_RD; in i40iw_init_hw()
204 dev->hw_attrs.uk_attrs.max_hw_inline = I40IW_MAX_INLINE_DATA_SIZE; in i40iw_init_hw()
209 dev->hw_attrs.uk_attrs.max_hw_rq_quanta = I40IW_QP_SW_MAX_RQ_QUANTA; in i40iw_init_hw()
210 dev->hw_attrs.uk_attrs.max_hw_wq_quanta = I40IW_QP_SW_MAX_WQ_QUANTA; in i40iw_init_hw()
211 dev->hw_attrs.uk_attrs.max_hw_sq_chunk = I40IW_MAX_QUANTA_PER_WR; in i40iw_init_hw()
Duk.c200 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()
[all …]
Dicrdma_hw.c69 if (dev->hw_attrs.uk_attrs.hw_rev != IRDMA_GEN_1) in icrdma_ena_irq()
82 if (dev->hw_attrs.uk_attrs.hw_rev != IRDMA_GEN_1) in icrdma_disable_irq()
147 dev->hw_attrs.uk_attrs.max_hw_sq_chunk = IRDMA_MAX_QUANTA_PER_WR; in icrdma_init_hw()
148 dev->hw_attrs.uk_attrs.feature_flags |= IRDMA_FEATURE_RTS_AE | in icrdma_init_hw()
Dverbs.c36 props->max_send_sge = hw_attrs->uk_attrs.max_hw_wq_frags; in irdma_query_device()
37 props->max_recv_sge = hw_attrs->uk_attrs.max_hw_wq_frags; in irdma_query_device()
43 props->max_sge_rd = hw_attrs->uk_attrs.max_hw_read_sges; in irdma_query_device()
57 if (hw_attrs->uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_query_device()
275 struct irdma_uk_attrs *uk_attrs; in irdma_alloc_ucontext() local
286 uk_attrs = &iwdev->rf->sc_dev.hw_attrs.uk_attrs; in irdma_alloc_ucontext()
289 if (uk_attrs->hw_rev != IRDMA_GEN_1) in irdma_alloc_ucontext()
311 uresp.feature_flags = uk_attrs->feature_flags; in irdma_alloc_ucontext()
312 uresp.max_hw_wq_frags = uk_attrs->max_hw_wq_frags; in irdma_alloc_ucontext()
313 uresp.max_hw_read_sges = uk_attrs->max_hw_read_sges; in irdma_alloc_ucontext()
[all …]
Duser.h340 struct irdma_uk_attrs *uk_attrs; member
394 struct irdma_uk_attrs *uk_attrs; member
431 void irdma_get_wqe_shift(struct irdma_uk_attrs *uk_attrs, u32 sge,
433 enum irdma_status_code irdma_get_sqdepth(struct irdma_uk_attrs *uk_attrs,
435 enum irdma_status_code irdma_get_rqdepth(struct irdma_uk_attrs *uk_attrs,
Dpuda.c99 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1) { in irdma_puda_post_recvbuf()
241 if (cq->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_puda_poll_info()
284 if (cq->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_puda_poll_info()
310 if (cq->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) { in irdma_puda_poll_info()
458 if (qp->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_send()
544 if (rsrc->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_send_buf()
586 if (qp->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_puda_qp_setctx()
684 ukqp->uk_attrs = &qp->dev->hw_attrs.uk_attrs; in irdma_puda_qp_create()
1073 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_create_rsrc()
1141 if (qp->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_ilq_putback_rcvbuf()
[all …]
Dctrl.c359 info->pd->dev->hw_attrs.uk_attrs.max_hw_wq_frags || in irdma_sc_qp_init()
361 info->pd->dev->hw_attrs.uk_attrs.max_hw_wq_frags) in irdma_sc_qp_init()
393 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1 && qp->pd->abi_ver > 4) in irdma_sc_qp_init()
889 if (dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_sc_qp_setctx()
918 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_sc_qp_setctx()
959 if (dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) { in irdma_sc_qp_setctx()
1401 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1) { in irdma_sc_send_lsmm()
1424 if (qp->dev->hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_RTS_AE) in irdma_sc_send_lsmm()
1445 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1) in irdma_sc_send_lsmm_nostag()
1483 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1) { in irdma_sc_send_rtt()
[all …]
Dirdma.h126 struct irdma_uk_attrs uk_attrs; member
Dutils.c1533 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_ieq_update_tcpip_info()
1611 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_puda_get_tcpip_info()
1653 if (sc_vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_hw_stats_timeout()
Dhw.c1648 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_rt_deinit_hw()
1852 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_rt_init_hw()
2006 rf->max_cqe = rf->sc_dev.hw_attrs.uk_attrs.max_hw_cq_size; in irdma_initialize_hw_rsrc()
Dcm.c3103 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_receive_ilq()
3698 if (dev->hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_RTS_AE) { in irdma_accept()
4099 if (dev->hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_RTS_AE) { in irdma_cm_event_connected()