Home
last modified time | relevance | path

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

/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()
/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()
/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.c1808 ret = rdma_fill_sgid_attr(qp->device, &attr->alt_ah_attr, in _ib_modify_qp()
1818 attr->alt_ah_attr.port_num) && in _ib_modify_qp()
1860 &attr->alt_ah_attr, qp->alt_path_sgid_attr); in _ib_modify_qp()
1864 rdma_unfill_sgid_attr(&attr->alt_ah_attr, old_sgid_attr_alt_av); in _ib_modify_qp()
1957 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()
1900 copy_ah_attr_from_uverbs(qp->device, &attr->alt_ah_attr, in modify_qp()
Dcm.c4155 qp_attr->alt_ah_attr = cm_id_priv->alt_av.ah_attr; in cm_init_qp_rtr_attr()
4216 qp_attr->alt_ah_attr = cm_id_priv->alt_av.ah_attr; in cm_init_qp_rts_attr()
/drivers/infiniband/sw/rdmavt/
Dqp.c1451 if (rdma_ah_get_dlid(&attr->alt_ah_attr) >= in rvt_modify_qp()
1455 if (rdma_ah_get_dlid(&attr->alt_ah_attr) >= in rvt_modify_qp()
1460 if (rvt_check_ah(qp->ibqp.device, &attr->alt_ah_attr)) in rvt_modify_qp()
1591 rdma_replace_ah_attr(&qp->alt_ah_attr, &attr->alt_ah_attr); in rvt_modify_qp()
1598 qp->remote_ah_attr = qp->alt_ah_attr; in rvt_modify_qp()
1599 qp->port_num = rdma_ah_get_port_num(&qp->alt_ah_attr); in rvt_modify_qp()
1703 rdma_destroy_ah_attr(&qp->alt_ah_attr); in rvt_destroy_qp()
1740 attr->alt_ah_attr = qp->alt_ah_attr; in rvt_query_qp()
1753 rdma_ah_get_port_num(&qp->alt_ah_attr); in rvt_query_qp()
/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
/drivers/infiniband/sw/rxe/
Drxe_qp.c444 if (rxe_av_chk_attr(rxe, &attr->alt_ah_attr)) in rxe_qp_chk_attr()
632 rxe_init_av(&attr->alt_ah_attr, &qp->alt_av); in rxe_qp_from_attr()
758 rxe_av_to_attr(&qp->alt_av, &attr->alt_ah_attr); in rxe_qp_to_attr()
/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()
/drivers/infiniband/hw/mlx4/
Dqp.c1873 return _mlx4_set_path(dev, &qp->alt_ah_attr, in mlx4_set_alt_path()
4018 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context.alt_path); in mlx4_ib_query_qp()
4021 rdma_ah_get_port_num(&qp_attr->alt_ah_attr); in mlx4_ib_query_qp()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1523 memset(&qp_attr->alt_ah_attr, 0, sizeof(qp_attr->alt_ah_attr)); in ocrdma_query_qp()
/drivers/infiniband/hw/qedr/
Dverbs.c2806 memset(&qp_attr->alt_ah_attr, 0, sizeof(qp_attr->alt_ah_attr)); in qedr_query_qp()
/drivers/infiniband/hw/mlx5/
Dqp.c4158 err = mlx5_set_path(dev, qp, &attr->alt_ah_attr, alt_path, in __mlx5_ib_modify_qp()
4890 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, alt_path); in query_qp_attr()