Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/irdma/
Di40iw_hw.c200 dev->hw_attrs.uk_attrs.max_hw_wq_frags = I40IW_MAX_WQ_FRAGMENT_COUNT; in i40iw_init_hw()
201 dev->hw_attrs.uk_attrs.max_hw_read_sges = I40IW_MAX_SGE_RD; in i40iw_init_hw()
203 dev->hw_attrs.uk_attrs.max_hw_inline = I40IW_MAX_INLINE_DATA_SIZE; in i40iw_init_hw()
208 dev->hw_attrs.uk_attrs.max_hw_rq_quanta = I40IW_QP_SW_MAX_RQ_QUANTA; in i40iw_init_hw()
209 dev->hw_attrs.uk_attrs.max_hw_wq_quanta = I40IW_QP_SW_MAX_WQ_QUANTA; in i40iw_init_hw()
210 dev->hw_attrs.uk_attrs.max_hw_sq_chunk = I40IW_MAX_QUANTA_PER_WR; in i40iw_init_hw()
Duk.c197 avail_quanta = qp->uk_attrs->max_hw_sq_chunk - in irdma_qp_get_next_send_wqe()
199 qp->uk_attrs->max_hw_sq_chunk); in irdma_qp_get_next_send_wqe()
227 if (qp->uk_attrs->hw_rev == IRDMA_GEN_1 && quanta == 1 && in irdma_qp_get_next_send_wqe()
332 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && !(frag_cnt & 0x01) && in irdma_uk_rdma_write()
336 if (qp->uk_attrs->hw_rev == IRDMA_GEN_2) in irdma_uk_rdma_write()
418 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && in irdma_uk_rdma_read()
422 if (qp->uk_attrs->hw_rev == IRDMA_GEN_2) in irdma_uk_rdma_read()
513 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && !(frag_cnt & 0x01) && in irdma_uk_send()
517 if (qp->uk_attrs->hw_rev == IRDMA_GEN_2) in irdma_uk_send()
943 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()
Duser.h312 struct irdma_uk_attrs *uk_attrs; member
365 struct irdma_uk_attrs *uk_attrs; member
401 void irdma_get_wqe_shift(struct irdma_uk_attrs *uk_attrs, u32 sge,
403 int irdma_get_sqdepth(struct irdma_uk_attrs *uk_attrs, u32 sq_size, u8 shift,
405 int irdma_get_rqdepth(struct irdma_uk_attrs *uk_attrs, u32 rq_size, u8 shift,
Dverbs.c39 props->max_send_sge = hw_attrs->uk_attrs.max_hw_wq_frags; in irdma_query_device()
40 props->max_recv_sge = hw_attrs->uk_attrs.max_hw_wq_frags; in irdma_query_device()
46 props->max_sge_rd = hw_attrs->uk_attrs.max_hw_read_sges; in irdma_query_device()
60 if (hw_attrs->uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_query_device()
280 struct irdma_uk_attrs *uk_attrs; in irdma_alloc_ucontext() local
295 uk_attrs = &iwdev->rf->sc_dev.hw_attrs.uk_attrs; in irdma_alloc_ucontext()
298 if (uk_attrs->hw_rev != IRDMA_GEN_1) in irdma_alloc_ucontext()
320 uresp.feature_flags = uk_attrs->feature_flags; in irdma_alloc_ucontext()
321 uresp.max_hw_wq_frags = uk_attrs->max_hw_wq_frags; in irdma_alloc_ucontext()
322 uresp.max_hw_read_sges = uk_attrs->max_hw_read_sges; in irdma_alloc_ucontext()
[all …]
Dpuda.c98 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1) { in irdma_puda_post_recvbuf()
233 if (cq->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_puda_poll_info()
273 if (cq->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_puda_poll_info()
299 if (cq->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) { in irdma_puda_poll_info()
445 if (qp->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_send()
531 if (rsrc->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_send_buf()
573 if (qp->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_puda_qp_setctx()
670 ukqp->uk_attrs = &qp->dev->hw_attrs.uk_attrs; in irdma_puda_qp_create()
1057 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_create_rsrc()
1125 if (qp->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_ilq_putback_rcvbuf()
[all …]
Dctrl.c86 if (vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_set_qos_info()
382 info->pd->dev->hw_attrs.uk_attrs.max_hw_wq_frags || in irdma_sc_qp_init()
384 info->pd->dev->hw_attrs.uk_attrs.max_hw_wq_frags) in irdma_sc_qp_init()
416 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1 && qp->pd->abi_ver > 4) in irdma_sc_qp_init()
908 if (dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_sc_qp_setctx()
937 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_sc_qp_setctx()
978 if (dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) { in irdma_sc_qp_setctx()
1411 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1) { in irdma_sc_send_lsmm()
1434 if (qp->dev->hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_RTS_AE) in irdma_sc_send_lsmm()
1455 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
Dhw.c1629 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_rt_deinit_hw()
1829 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_rt_init_hw()
1982 rf->max_cqe = rf->sc_dev.hw_attrs.uk_attrs.max_hw_cq_size; in irdma_initialize_hw_rsrc()
Dutils.c1519 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_ieq_update_tcpip_info()
1595 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_puda_get_tcpip_info()
1637 if (sc_vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_hw_stats_timeout()
Dcm.c3100 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_receive_ilq()
3693 if (dev->hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_RTS_AE) { in irdma_accept()
4102 if (dev->hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_RTS_AE) { in irdma_cm_event_connected()