Searched refs:hw_attrs (Results 1 – 9 of 9) sorted by relevance
181 dev->hw_attrs.first_hw_vf_fpm_id = I40IW_FIRST_VF_FPM_ID; in i40iw_init_hw()182 dev->hw_attrs.max_hw_vf_fpm_id = IRDMA_MAX_VF_FPM_ID; in i40iw_init_hw()200 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()202 dev->hw_attrs.max_hw_device_pages = I40IW_MAX_PUSH_PAGE_COUNT; in i40iw_init_hw()203 dev->hw_attrs.uk_attrs.max_hw_inline = I40IW_MAX_INLINE_DATA_SIZE; in i40iw_init_hw()204 dev->hw_attrs.page_size_cap = SZ_4K | SZ_2M; 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()[all …]
69 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.page_size_cap = SZ_4K | SZ_2M | SZ_1G; in icrdma_init_hw()143 dev->hw_attrs.max_hw_ird = ICRDMA_MAX_IRD_SIZE; in icrdma_init_hw()144 dev->hw_attrs.max_hw_ord = ICRDMA_MAX_ORD_SIZE; in icrdma_init_hw()145 dev->hw_attrs.max_stat_inst = ICRDMA_MAX_STATS_COUNT; in icrdma_init_hw()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()
86 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()1870 if (vsi->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_sc_vsi_init()[all …]
18 struct irdma_hw_attrs *hw_attrs = &rf->sc_dev.hw_attrs; in irdma_query_device() local35 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 …]
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()1214 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_ieq_setup_tx_buf()[all …]
1162 dev->hw_attrs.max_hw_ceq_size); in irdma_create_ceq()1354 aeq_size = min(aeq_size, dev->hw_attrs.max_hw_aeq_size); in irdma_create_aeq()1629 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()1986 rf->max_pd = rf->sc_dev.hw_attrs.max_hw_pds; in irdma_initialize_hw_rsrc()
32 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()2234 cm_node->ird_size = cm_node->dev->hw_attrs.max_hw_ird; in irdma_make_cm_node()2235 cm_node->ord_size = cm_node->dev->hw_attrs.max_hw_ord; in irdma_make_cm_node()3100 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()
1519 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()
644 struct irdma_hw_attrs hw_attrs; member