Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/irdma/
H A Di40iw_hw.c221 dev->hw_attrs.first_hw_vf_fpm_id = I40IW_FIRST_VF_FPM_ID; in i40iw_init_hw()
222 dev->hw_attrs.max_hw_vf_fpm_id = IRDMA_MAX_VF_FPM_ID; in i40iw_init_hw()
241 dev->hw_attrs.uk_attrs.max_hw_wq_frags = I40IW_MAX_WQ_FRAGMENT_COUNT; in i40iw_init_hw()
242 dev->hw_attrs.uk_attrs.max_hw_read_sges = I40IW_MAX_SGE_RD; in i40iw_init_hw()
243 dev->hw_attrs.max_hw_device_pages = I40IW_MAX_PUSH_PAGE_COUNT; in i40iw_init_hw()
244 dev->hw_attrs.uk_attrs.max_hw_inline = I40IW_MAX_INLINE_DATA_SIZE; in i40iw_init_hw()
245 dev->hw_attrs.page_size_cap = SZ_4K | SZ_2M; in i40iw_init_hw()
246 dev->hw_attrs.max_hw_ird = I40IW_MAX_IRD_SIZE; in i40iw_init_hw()
247 dev->hw_attrs.max_hw_ord = I40IW_MAX_ORD_SIZE; in i40iw_init_hw()
248 dev->hw_attrs.max_hw_wqes = I40IW_MAX_WQ_ENTRIES; in i40iw_init_hw()
[all …]
H 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()
176 dev->hw_attrs.max_hw_vf_fpm_id = IRDMA_MAX_VF_FPM_ID; in icrdma_init_hw()
177 dev->hw_attrs.first_hw_vf_fpm_id = IRDMA_FIRST_VF_FPM_ID; in icrdma_init_hw()
191 dev->hw_attrs.page_size_cap = SZ_4K | SZ_2M | SZ_1G; in icrdma_init_hw()
193 dev->hw_attrs.max_hw_ird = ICRDMA_MAX_IRD_SIZE; in icrdma_init_hw()
194 dev->hw_attrs.max_hw_ord = ICRDMA_MAX_ORD_SIZE; in icrdma_init_hw()
195 dev->hw_attrs.max_stat_inst = ICRDMA_MAX_STATS_COUNT; in icrdma_init_hw()
196 dev->hw_attrs.max_stat_idx = IRDMA_HW_STAT_INDEX_MAX_GEN_2; in icrdma_init_hw()
198 dev->hw_attrs.uk_attrs.min_hw_wq_size = ICRDMA_MIN_WQ_SIZE; in icrdma_init_hw()
[all …]
H A 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()
456 if (qp->qp_uk.qp_id < cqp->dev->hw_attrs.min_hw_qp_id || in irdma_sc_qp_create()
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()
1434 if (qp->dev->hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_RTS_AE) in irdma_sc_send_lsmm()
1484 if (qp->dev->hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_RTS_AE) in irdma_sc_send_rtt()
1897 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_get_stats_idx()
[all …]
H A Dverbs.c18 struct irdma_hw_attrs *hw_attrs = &rf->sc_dev.hw_attrs; in irdma_query_device() local
35 props->page_size_cap = hw_attrs->page_size_cap; in irdma_query_device()
36 props->max_mr_size = hw_attrs->max_mr_size; in irdma_query_device()
38 props->max_qp_wr = hw_attrs->max_qp_wr; in irdma_query_device()
39 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()
47 props->max_qp_rd_atom = hw_attrs->max_hw_ird; in irdma_query_device()
48 props->max_qp_init_rd_atom = hw_attrs->max_hw_ord; in irdma_query_device()
60 if (hw_attrs->uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_query_device()
[all …]
H A Dpuda.c236 if (cq->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_puda_poll_info()
279 if (cq->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_puda_poll_info()
305 if (cq->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) { in irdma_puda_poll_info()
451 if (qp->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_send()
537 if (rsrc->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_send_buf()
579 if (qp->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_puda_qp_setctx()
676 ukqp->uk_attrs = &qp->dev->hw_attrs.uk_attrs; in irdma_puda_qp_create()
1063 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_create_rsrc()
1131 if (qp->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_ilq_putback_rcvbuf()
1220 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_ieq_setup_tx_buf()
[all …]
H A Dhw.c1200 dev->hw_attrs.max_hw_ceq_size); in irdma_create_ceq()
1391 aeq_size = min(aeq_size, dev->hw_attrs.max_hw_aeq_size); in irdma_create_aeq()
1666 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_rt_deinit_hw()
1866 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_rt_init_hw()
2022 rf->max_cqe = rf->sc_dev.hw_attrs.uk_attrs.max_hw_cq_size; in irdma_initialize_hw_rsrc()
2026 rf->max_pd = rf->sc_dev.hw_attrs.max_hw_pds; in irdma_initialize_hw_rsrc()
H 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()
2287 cm_node->ird_size = cm_node->dev->hw_attrs.max_hw_ird; in irdma_make_cm_node()
2288 cm_node->ord_size = cm_node->dev->hw_attrs.max_hw_ord; in irdma_make_cm_node()
3154 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_receive_ilq()
3747 if (dev->hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_RTS_AE) { in irdma_accept()
4166 if (dev->hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_RTS_AE) { in irdma_cm_event_connected()
H A Dutils.c1539 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_ieq_update_tcpip_info()
1615 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_puda_get_tcpip_info()
1657 if (sc_vsi->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_hw_stats_timeout()
1710 u16 max_stats_idx = dev->hw_attrs.max_stat_idx; in irdma_cqp_gather_stats_gen1()
H A Dtype.h602 struct irdma_hw_attrs hw_attrs; member