Home
last modified time | relevance | path

Searched refs:alt_ah_attr (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.15/drivers/infiniband/hw/qib/
Dqib_ruc.c49 qp->remote_ah_attr = qp->alt_ah_attr; in qib_migrate_qp()
50 qp->port_num = rdma_ah_get_port_num(&qp->alt_ah_attr); in qib_migrate_qp()
90 if (rdma_ah_get_ah_flags(&qp->alt_ah_attr) & in qib_ruc_check_hdr()
96 if (!(rdma_ah_get_ah_flags(&qp->alt_ah_attr) & in qib_ruc_check_hdr()
99 grh = rdma_ah_read_grh(&qp->alt_ah_attr); in qib_ruc_check_hdr()
120 rdma_ah_get_dlid(&qp->alt_ah_attr)) || in qib_ruc_check_hdr()
122 rdma_ah_get_port_num(&qp->alt_ah_attr)) in qib_ruc_check_hdr()
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Druc.c41 if ((rdma_ah_get_ah_flags(&qp->alt_ah_attr) & in hfi1_ruc_check_hdr()
48 if (!(rdma_ah_get_ah_flags(&qp->alt_ah_attr) & in hfi1_ruc_check_hdr()
51 grh = rdma_ah_read_grh(&qp->alt_ah_attr); in hfi1_ruc_check_hdr()
69 if (slid != rdma_ah_get_dlid(&qp->alt_ah_attr) || in hfi1_ruc_check_hdr()
71 rdma_ah_get_port_num(&qp->alt_ah_attr)) in hfi1_ruc_check_hdr()
Dqp.c182 sc = ah_to_sc(ibqp->device, &attr->alt_ah_attr); in hfi1_check_modify_qp()
780 qp->remote_ah_attr = qp->alt_ah_attr; in hfi1_migrate_qp()
781 qp->port_num = rdma_ah_get_port_num(&qp->alt_ah_attr); in hfi1_migrate_qp()
/Linux-v5.15/drivers/infiniband/core/
Duverbs_marshall.c117 ib_copy_ah_attr_to_user(device, &dst->alt_ah_attr, &src->alt_ah_attr); in ib_copy_qp_attr_to_user()
Dverbs.c1803 ret = rdma_fill_sgid_attr(qp->device, &attr->alt_ah_attr, in _ib_modify_qp()
1813 attr->alt_ah_attr.port_num) && in _ib_modify_qp()
1855 &attr->alt_ah_attr, qp->alt_path_sgid_attr); in _ib_modify_qp()
1859 rdma_unfill_sgid_attr(&attr->alt_ah_attr, old_sgid_attr_alt_av); in _ib_modify_qp()
1952 qp_attr->alt_ah_attr.grh.sgid_attr = NULL; in ib_query_qp()
Duverbs_cmd.c1697 copy_ah_attr_to_uverbs(&resp.alt_dest, &attr->alt_ah_attr); in ib_uverbs_query_qp()
1895 copy_ah_attr_from_uverbs(qp->device, &attr->alt_ah_attr, in modify_qp()
Dcm.c4153 qp_attr->alt_ah_attr = cm_id_priv->alt_av.ah_attr; in cm_init_qp_rtr_attr()
4214 qp_attr->alt_ah_attr = cm_id_priv->alt_av.ah_attr; in cm_init_qp_rts_attr()
/Linux-v5.15/drivers/infiniband/sw/rdmavt/
Dqp.c1453 if (rdma_ah_get_dlid(&attr->alt_ah_attr) >= in rvt_modify_qp()
1457 if (rdma_ah_get_dlid(&attr->alt_ah_attr) >= in rvt_modify_qp()
1462 if (rvt_check_ah(qp->ibqp.device, &attr->alt_ah_attr)) in rvt_modify_qp()
1593 rdma_replace_ah_attr(&qp->alt_ah_attr, &attr->alt_ah_attr); in rvt_modify_qp()
1600 qp->remote_ah_attr = qp->alt_ah_attr; in rvt_modify_qp()
1601 qp->port_num = rdma_ah_get_port_num(&qp->alt_ah_attr); in rvt_modify_qp()
1705 rdma_destroy_ah_attr(&qp->alt_ah_attr); in rvt_destroy_qp()
1742 attr->alt_ah_attr = qp->alt_ah_attr; in rvt_query_qp()
1755 rdma_ah_get_port_num(&qp->alt_ah_attr); in rvt_query_qp()
/Linux-v5.15/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c613 rdma_ah_attr_to_pvrdma(&cmd->attrs.alt_ah_attr, &attr->alt_ah_attr); in pvrdma_modify_qp()
1031 pvrdma_ah_attr_to_rdma(&attr->alt_ah_attr, &resp->attrs.alt_ah_attr); in pvrdma_query_qp()
Dpvrdma_verbs.h325 struct pvrdma_ah_attr alt_ah_attr; member
/Linux-v5.15/drivers/infiniband/sw/rxe/
Drxe_qp.c449 if (rxe_av_chk_attr(rxe, &attr->alt_ah_attr)) in rxe_qp_chk_attr()
637 rxe_init_av(&attr->alt_ah_attr, &qp->alt_av); in rxe_qp_from_attr()
763 rxe_av_to_attr(&qp->alt_av, &attr->alt_ah_attr); in rxe_qp_to_attr()
/Linux-v5.15/drivers/infiniband/hw/mthca/
Dmthca_qp.c478 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context->alt_path); in mthca_query_qp()
482 rdma_ah_get_port_num(&qp_attr->alt_ah_attr); in mthca_query_qp()
698 if (mthca_path_set(dev, &attr->alt_ah_attr, &qp_context->alt_path, in __mthca_modify_qp()
699 rdma_ah_get_port_num(&attr->alt_ah_attr))) in __mthca_modify_qp()
/Linux-v5.15/include/rdma/
Drdmavt_qp.h337 struct rdma_ah_attr alt_ah_attr; member
Dib_verbs.h1277 struct rdma_ah_attr alt_ah_attr; member
/Linux-v5.15/include/uapi/rdma/
Dib_user_verbs.h547 struct ib_uverbs_ah_attr alt_ah_attr; member
/Linux-v5.15/drivers/infiniband/hw/mlx4/
Dqp.c1867 return _mlx4_set_path(dev, &qp->alt_ah_attr, in mlx4_set_alt_path()
4012 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context.alt_path); in mlx4_ib_query_qp()
4015 rdma_ah_get_port_num(&qp_attr->alt_ah_attr); in mlx4_ib_query_qp()
/Linux-v5.15/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1523 memset(&qp_attr->alt_ah_attr, 0, sizeof(qp_attr->alt_ah_attr)); in ocrdma_query_qp()
/Linux-v5.15/drivers/infiniband/hw/qedr/
Dverbs.c2790 memset(&qp_attr->alt_ah_attr, 0, sizeof(qp_attr->alt_ah_attr)); in qedr_query_qp()
/Linux-v5.15/drivers/infiniband/hw/mlx5/
Dqp.c4131 err = mlx5_set_path(dev, qp, &attr->alt_ah_attr, alt_path, in __mlx5_ib_modify_qp()
4842 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, alt_path); in query_qp_attr()