Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_rdma.c781 struct qed_rdma_add_user_out_params *out_params) in qed_rdma_add_user() argument
796 out_params->dpi = (u16)returned_id; in qed_rdma_add_user()
801 out_params->dpi_addr = p_hwfn->doorbells + dpi_start_offset + in qed_rdma_add_user()
802 out_params->dpi * p_hwfn->dpi_size; in qed_rdma_add_user()
804 out_params->dpi_phys_addr = p_hwfn->db_phys_addr + in qed_rdma_add_user()
806 ((out_params->dpi) * p_hwfn->dpi_size); in qed_rdma_add_user()
808 out_params->dpi_size = p_hwfn->dpi_size; in qed_rdma_add_user()
809 out_params->wid_count = p_hwfn->wid_count; in qed_rdma_add_user()
1100 struct qed_rdma_destroy_cq_out_params *out_params) in qed_rdma_destroy_cq() argument
1144 out_params->num_cq_notif = le16_to_cpu(p_ramrod_res->cnq_num); in qed_rdma_destroy_cq()
[all …]
Dqed_mcp.c962 struct qed_load_req_out_params out_params; in qed_mcp_load_req() local
984 memset(&out_params, 0, sizeof(out_params)); in qed_mcp_load_req()
985 rc = __qed_mcp_load_req(p_hwfn, p_ptt, &in_params, &out_params); in qed_mcp_load_req()
993 if (out_params.load_code == FW_MSG_CODE_DRV_LOAD_REFUSED_HSI_1) { in qed_mcp_load_req()
998 memset(&out_params, 0, sizeof(out_params)); in qed_mcp_load_req()
999 rc = __qed_mcp_load_req(p_hwfn, p_ptt, &in_params, &out_params); in qed_mcp_load_req()
1002 } else if (out_params.load_code == in qed_mcp_load_req()
1005 out_params.exist_drv_role, in qed_mcp_load_req()
1011 out_params.exist_drv_role, in qed_mcp_load_req()
1012 out_params.exist_fw_ver, in qed_mcp_load_req()
[all …]
Dqed_roce.c840 struct qed_rdma_query_qp_out_params *out_params) in qed_roce_query_qp() argument
859 out_params->draining = false; in qed_roce_query_qp()
860 out_params->rq_psn = qp->rq_psn; in qed_roce_query_qp()
861 out_params->sq_psn = qp->sq_psn; in qed_roce_query_qp()
862 out_params->state = qp->cur_state; in qed_roce_query_qp()
902 out_params->rq_psn = le32_to_cpu(p_resp_ramrod_res->psn); in qed_roce_query_qp()
911 out_params->sq_psn = qp->sq_psn; in qed_roce_query_qp()
912 out_params->draining = false; in qed_roce_query_qp()
917 out_params->state = qp->cur_state; in qed_roce_query_qp()
949 out_params->sq_psn = le32_to_cpu(p_req_ramrod_res->psn); in qed_roce_query_qp()
[all …]
Dqed_iwarp.h202 struct qed_rdma_create_qp_out_params *out_params);
212 struct qed_rdma_query_qp_out_params *out_params);
Dqed_roce.h52 struct qed_rdma_query_qp_out_params *out_params);
Dqed_iwarp.c209 struct qed_rdma_create_qp_out_params *out_params) in qed_iwarp_create_qp() argument
225 out_params->sq_pbl_virt = (u8 *)qp->shared_queue + in qed_iwarp_create_qp()
227 out_params->sq_pbl_phys = qp->shared_queue_phys_addr + in qed_iwarp_create_qp()
229 out_params->rq_pbl_virt = (u8 *)qp->shared_queue + in qed_iwarp_create_qp()
231 out_params->rq_pbl_phys = qp->shared_queue_phys_addr + in qed_iwarp_create_qp()
3236 struct qed_rdma_query_qp_out_params *out_params) in qed_iwarp_query_qp() argument
3238 out_params->state = qed_iwarp2roce_state(qp->iwarp_state); in qed_iwarp_query_qp()
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dverbs.c1359 struct qed_rdma_create_srq_out_params out_params; in qedr_create_srq() local
1418 rc = dev->ops->rdma_create_srq(dev->rdma_ctx, &in_params, &out_params); in qedr_create_srq()
1422 srq->srq_id = out_params.srq_id; in qedr_create_srq()
1557 struct qed_rdma_create_qp_out_params *out_params) in qedr_iwarp_populate_user_qp() argument
1559 qp->usq.pbl_tbl->va = out_params->sq_pbl_virt; in qedr_iwarp_populate_user_qp()
1560 qp->usq.pbl_tbl->pa = out_params->sq_pbl_phys; in qedr_iwarp_populate_user_qp()
1565 qp->urq.pbl_tbl->va = out_params->rq_pbl_virt; in qedr_iwarp_populate_user_qp()
1566 qp->urq.pbl_tbl->pa = out_params->rq_pbl_phys; in qedr_iwarp_populate_user_qp()
1589 struct qed_rdma_create_qp_out_params out_params; in qedr_create_user_qp() local
1628 &in_params, &out_params); in qedr_create_user_qp()
[all …]
Dmain.c785 struct qed_rdma_add_user_out_params out_params; in qedr_init_hw() local
825 rc = dev->ops->rdma_add_user(dev->rdma_ctx, &out_params); in qedr_init_hw()
829 dev->db_addr = out_params.dpi_addr; in qedr_init_hw()
830 dev->db_phys_addr = out_params.dpi_phys_addr; in qedr_init_hw()
831 dev->db_size = out_params.dpi_size; in qedr_init_hw()
832 dev->dpi = out_params.dpi; in qedr_init_hw()
Dqedr_iw_cm.c482 struct qed_iwarp_connect_out out_params; in qedr_iw_connect() local
584 rc = dev->ops->iwarp_connect(dev->rdma_ctx, &in_params, &out_params); in qedr_iw_connect()