Searched refs:roce_info (Results 1 – 5 of 5) sorted by relevance
765 struct irdma_roce_offload_info *roce_info; in irdma_roce_fill_and_set_qpctx_info() local775 roce_info = &iwqp->roce_info; in irdma_roce_fill_and_set_qpctx_info()776 ether_addr_copy(roce_info->mac_addr, iwdev->netdev->dev_addr); in irdma_roce_fill_and_set_qpctx_info()778 roce_info->rd_en = true; in irdma_roce_fill_and_set_qpctx_info()779 roce_info->wr_rdresp_en = true; in irdma_roce_fill_and_set_qpctx_info()780 roce_info->bind_en = true; in irdma_roce_fill_and_set_qpctx_info()781 roce_info->dcqcn_en = false; in irdma_roce_fill_and_set_qpctx_info()782 roce_info->rtomin = 5; in irdma_roce_fill_and_set_qpctx_info()784 roce_info->ack_credits = iwdev->roce_ackcreds; in irdma_roce_fill_and_set_qpctx_info()785 roce_info->ird_size = dev->hw_attrs.max_hw_ird; in irdma_roce_fill_and_set_qpctx_info()[all …]
640 struct irdma_roce_offload_info *roce_info; in irdma_sc_qp_setctx_roce() local645 roce_info = info->roce_info; in irdma_sc_qp_setctx_roce()663 FIELD_PREP(IRDMAQPC_PDIDXHI, roce_info->pd_id >> 16) | in irdma_sc_qp_setctx_roce()664 FIELD_PREP(IRDMAQPC_DC_TCP_EN, roce_info->dctcp_en) | in irdma_sc_qp_setctx_roce()665 FIELD_PREP(IRDMAQPC_ERR_RQ_IDX_VALID, roce_info->err_rq_idx_valid) | in irdma_sc_qp_setctx_roce()666 FIELD_PREP(IRDMAQPC_ISQP1, roce_info->is_qp1) | in irdma_sc_qp_setctx_roce()667 FIELD_PREP(IRDMAQPC_ROCE_TVER, roce_info->roce_tver) | in irdma_sc_qp_setctx_roce()672 if ((roce_info->dcqcn_en || roce_info->dctcp_en) && in irdma_sc_qp_setctx_roce()692 FIELD_PREP(IRDMAQPC_PKEY, roce_info->p_key) | in irdma_sc_qp_setctx_roce()693 FIELD_PREP(IRDMAQPC_PDIDX, roce_info->pd_id) | in irdma_sc_qp_setctx_roce()[all …]
166 struct irdma_roce_offload_info roce_info; member
932 struct irdma_roce_offload_info *roce_info; member
397 ctx_info->roce_info->err_rq_idx_valid = info->rq; in irdma_process_aeq()399 ctx_info->roce_info->err_rq_idx = info->wqe_idx; in irdma_process_aeq()