Home
last modified time | relevance | path

Searched refs:hw_attrs (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/infiniband/hw/irdma/
A Di40iw_hw.c182 dev->hw_attrs.first_hw_vf_fpm_id = I40IW_FIRST_VF_FPM_ID; in i40iw_init_hw()
183 dev->hw_attrs.max_hw_vf_fpm_id = IRDMA_MAX_VF_FPM_ID; in i40iw_init_hw()
202 dev->hw_attrs.uk_attrs.max_hw_read_sges = I40IW_MAX_SGE_RD; in i40iw_init_hw()
203 dev->hw_attrs.max_hw_device_pages = I40IW_MAX_PUSH_PAGE_COUNT; in i40iw_init_hw()
205 dev->hw_attrs.max_hw_ird = I40IW_MAX_IRD_SIZE; in i40iw_init_hw()
206 dev->hw_attrs.max_hw_ord = I40IW_MAX_ORD_SIZE; in i40iw_init_hw()
207 dev->hw_attrs.max_hw_wqes = I40IW_MAX_WQ_ENTRIES; in i40iw_init_hw()
210 dev->hw_attrs.uk_attrs.max_hw_sq_chunk = I40IW_MAX_QUANTA_PER_WR; in i40iw_init_hw()
211 dev->hw_attrs.max_hw_pds = I40IW_MAX_PDS; in i40iw_init_hw()
212 dev->hw_attrs.max_stat_inst = I40IW_MAX_STATS_COUNT; in i40iw_init_hw()
[all …]
A 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()
127 dev->hw_attrs.max_hw_vf_fpm_id = IRDMA_MAX_VF_FPM_ID; in icrdma_init_hw()
128 dev->hw_attrs.first_hw_vf_fpm_id = IRDMA_FIRST_VF_FPM_ID; in icrdma_init_hw()
142 dev->hw_attrs.max_hw_ird = ICRDMA_MAX_IRD_SIZE; in icrdma_init_hw()
143 dev->hw_attrs.max_hw_ord = ICRDMA_MAX_ORD_SIZE; in icrdma_init_hw()
144 dev->hw_attrs.max_stat_inst = ICRDMA_MAX_STATS_COUNT; in icrdma_init_hw()
146 dev->hw_attrs.uk_attrs.max_hw_sq_chunk = IRDMA_MAX_QUANTA_PER_WR; in icrdma_init_hw()
147 dev->hw_attrs.uk_attrs.feature_flags |= IRDMA_FEATURE_RTS_AE | in icrdma_init_hw()
A Dctrl.c2755 udelay(cqp->dev->hw_attrs.max_sleep_count); in irdma_cqp_poll_registers()
3144 hw_rev = cqp->dev->hw_attrs.uk_attrs.hw_rev; in irdma_sc_cqp_create()
3209 udelay(cqp->dev->hw_attrs.max_sleep_count); in irdma_sc_cqp_create()
3294 udelay(cqp->dev->hw_attrs.max_sleep_count); in irdma_sc_cqp_destroy()
4289 cqp->dev->hw_attrs.max_done_count); in irdma_sc_ccq_destroy()
4524 cqp->dev->hw_attrs.max_done_count); in irdma_update_sds_noccq()
4568 cqp->dev->hw_attrs.max_done_count); in irdma_sc_static_hmc_pages_allocated()
5351 switch (dev->hw_attrs.uk_attrs.hw_rev) { in irdma_sc_init_hw()
5404 dev->hw_attrs.max_hw_pds = IRDMA_MAX_PDS; in irdma_sc_dev_init()
5407 dev->hw_attrs.max_pe_ready_count = 14; in irdma_sc_dev_init()
[all …]
A Dverbs.c18 struct irdma_hw_attrs *hw_attrs = &rf->sc_dev.hw_attrs; in irdma_query_device() local
33 props->max_mr_size = hw_attrs->max_mr_size; in irdma_query_device()
35 props->max_qp_wr = hw_attrs->max_qp_wr; in irdma_query_device()
44 props->max_qp_rd_atom = hw_attrs->max_hw_ird; in irdma_query_device()
45 props->max_qp_init_rd_atom = hw_attrs->max_hw_ord; in irdma_query_device()
54 if (hw_attrs->uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_query_device()
312 uk_attrs = &iwdev->rf->sc_dev.hw_attrs.uk_attrs; in irdma_alloc_ucontext()
718 roce_info->ird_size = dev->hw_attrs.max_hw_ird; in irdma_roce_fill_and_set_qpctx_info()
719 roce_info->ord_size = dev->hw_attrs.max_hw_ord; in irdma_roce_fill_and_set_qpctx_info()
1243 dev->hw_attrs.max_hw_ord); in irdma_modify_qp_roce()
[all …]
A Dpuda.c238 if (cq->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_puda_poll_info()
278 if (cq->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_puda_poll_info()
304 if (cq->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) { in irdma_puda_poll_info()
452 if (qp->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_send()
538 if (rsrc->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_send_buf()
580 if (qp->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_puda_qp_setctx()
678 ukqp->uk_attrs = &qp->dev->hw_attrs.uk_attrs; in irdma_puda_qp_create()
1067 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_create_rsrc()
1135 if (qp->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_ilq_putback_rcvbuf()
1413 if (ieq->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_ieq_handle_partial()
[all …]
A Dhw.c1166 dev->hw_attrs.max_hw_ceq_size); in irdma_create_ceq()
1360 aeq_size = min(aeq_size, dev->hw_attrs.max_hw_aeq_size); in irdma_create_aeq()
1638 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_rt_deinit_hw()
1842 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_rt_init_hw()
1996 rf->max_cqe = rf->sc_dev.hw_attrs.uk_attrs.max_hw_cq_size; in irdma_initialize_hw_rsrc()
2000 rf->max_pd = rf->sc_dev.hw_attrs.max_hw_pds; in irdma_initialize_hw_rsrc()
A Dcm.c32 if (conn_ird > cm_node->dev->hw_attrs.max_hw_ird) in irdma_record_ird_ord()
33 conn_ird = cm_node->dev->hw_attrs.max_hw_ird; in irdma_record_ird_ord()
35 if (conn_ord > cm_node->dev->hw_attrs.max_hw_ord) in irdma_record_ird_ord()
36 conn_ord = cm_node->dev->hw_attrs.max_hw_ord; in irdma_record_ird_ord()
2230 cm_node->ird_size = cm_node->dev->hw_attrs.max_hw_ird; in irdma_make_cm_node()
2231 cm_node->ord_size = cm_node->dev->hw_attrs.max_hw_ord; in irdma_make_cm_node()
3098 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_receive_ilq()
3703 if (dev->hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_RTS_AE) { in irdma_accept()
4104 if (dev->hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_RTS_AE) { in irdma_cm_event_connected()
A Dutils.c1513 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_ieq_update_tcpip_info()
1591 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_puda_get_tcpip_info()
1633 if (sc_vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_hw_stats_timeout()
A Dtype.h642 struct irdma_hw_attrs hw_attrs; member

Completed in 53 milliseconds