Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/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.c1798 ret = rdma_fill_sgid_attr(qp->device, &attr->alt_ah_attr, in _ib_modify_qp()
1808 attr->alt_ah_attr.port_num) && in _ib_modify_qp()
1850 &attr->alt_ah_attr, qp->alt_path_sgid_attr); in _ib_modify_qp()
1854 rdma_unfill_sgid_attr(&attr->alt_ah_attr, old_sgid_attr_alt_av); in _ib_modify_qp()
1947 qp_attr->alt_ah_attr.grh.sgid_attr = NULL; in ib_query_qp()
Duverbs_cmd.c1696 copy_ah_attr_to_uverbs(&resp.alt_dest, &attr->alt_ah_attr); in ib_uverbs_query_qp()
1894 copy_ah_attr_from_uverbs(qp->device, &attr->alt_ah_attr, in modify_qp()
Dcm.c4154 qp_attr->alt_ah_attr = cm_id_priv->alt_av.ah_attr; in cm_init_qp_rtr_attr()
4215 qp_attr->alt_ah_attr = cm_id_priv->alt_av.ah_attr; in cm_init_qp_rts_attr()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/infiniband/sw/rxe/
Drxe_qp.c431 if (rxe_av_chk_attr(rxe, &attr->alt_ah_attr)) in rxe_qp_chk_attr()
621 rxe_init_av(&attr->alt_ah_attr, &qp->alt_av); in rxe_qp_from_attr()
749 rxe_av_to_attr(&qp->alt_av, &attr->alt_ah_attr); in rxe_qp_to_attr()
/linux-6.1.9/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-6.1.9/include/rdma/
Drdmavt_qp.h337 struct rdma_ah_attr alt_ah_attr; member
Dib_verbs.h1292 struct rdma_ah_attr alt_ah_attr; member
/linux-6.1.9/include/uapi/rdma/
Dib_user_verbs.h547 struct ib_uverbs_ah_attr alt_ah_attr; member
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dqp.c1869 return _mlx4_set_path(dev, &qp->alt_ah_attr, in mlx4_set_alt_path()
4014 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context.alt_path); in mlx4_ib_query_qp()
4017 rdma_ah_get_port_num(&qp_attr->alt_ah_attr); in mlx4_ib_query_qp()
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1525 memset(&qp_attr->alt_ah_attr, 0, sizeof(qp_attr->alt_ah_attr)); in ocrdma_query_qp()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dverbs.c2788 memset(&qp_attr->alt_ah_attr, 0, sizeof(qp_attr->alt_ah_attr)); in qedr_query_qp()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c4133 err = mlx5_set_path(dev, qp, &attr->alt_ah_attr, alt_path, in __mlx5_ib_modify_qp()
4866 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, alt_path); in query_qp_attr()