Home
last modified time | relevance | path

Searched refs:dlid (Results 1 – 25 of 40) sorted by relevance

12

/drivers/infiniband/hw/qib/
Dqib_ud.c89 cpu_to_be16(ah_attr->dlid)); in qib_ud_loopback()
113 cpu_to_be16(ah_attr->dlid)); in qib_ud_loopback()
209 wc.dlid_path_bits = ah_attr->dlid & ((1 << ppd->lmc) - 1); in qib_ud_loopback()
274 if (ah_attr->dlid >= QIB_MULTICAST_LID_BASE) { in qib_make_ud_req()
275 if (ah_attr->dlid != QIB_PERMISSIVE_LID) in qib_make_ud_req()
281 lid = ah_attr->dlid & ~((1 << ppd->lmc) - 1); in qib_make_ud_req()
346 qp->s_hdr->lrh[1] = cpu_to_be16(ah_attr->dlid); /* DEST LID */ in qib_make_ud_req()
364 ohdr->bth[1] = ah_attr->dlid >= QIB_MULTICAST_LID_BASE && in qib_make_ud_req()
365 ah_attr->dlid != QIB_PERMISSIVE_LID ? in qib_make_ud_req()
431 u16 dlid; in qib_ud_rcv() local
[all …]
Dqib_ruc.c298 if (be16_to_cpu(hdr->lrh[3]) != qp->alt_ah_attr.dlid || in qib_ruc_check_hdr()
330 if (be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid || in qib_ruc_check_hdr()
559 wc.slid = qp->remote_ah_attr.dlid; in qib_ruc_loopback()
695 qp->s_hdr->lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in qib_make_ruc_header()
726 (qp->remote_ah_attr.dlid & ~((1 << ppd->lmc) - 1)) == ppd->lid) { in qib_do_send()
Dqib_verbs.c1788 if (ah_attr->dlid >= QIB_MULTICAST_LID_BASE && in qib_check_ah()
1789 ah_attr->dlid != QIB_PERMISSIVE_LID && in qib_check_ah()
1795 if (ah_attr->dlid == 0) in qib_check_ah()
1857 struct ib_ah *qib_create_qp0_ah(struct qib_ibport *ibp, u16 dlid) in qib_create_qp0_ah() argument
1864 attr.dlid = dlid; in qib_create_qp0_ah()
Dqib_qp.c588 if (attr->ah_attr.dlid >= QIB_MULTICAST_LID_BASE) in qib_modify_qp()
595 if (attr->alt_ah_attr.dlid >= QIB_MULTICAST_LID_BASE) in qib_modify_qp()
Dqib_uc.c409 wc.slid = qp->remote_ah_attr.dlid; in qib_uc_rcv()
/drivers/infiniband/core/
Duverbs_marshall.c45 dst->dlid = src->dlid; in ib_copy_ah_attr_to_user()
100 dst->dlid = src->dlid; in ib_copy_path_rec_to_user()
126 dst->dlid = src->dlid; in ib_copy_path_rec_from_user()
Dsa_query.c142 { PATH_REC_FIELD(dlid),
420 ah_attr.dlid = port_attr.sm_lid; in update_sm_ah()
536 ah_attr->dlid = be16_to_cpu(rec->dlid); in ib_init_ah_from_path()
Duverbs_cmd.c1843 resp.dest.dlid = attr->ah_attr.dlid; in ib_uverbs_query_qp()
1855 resp.alt_dest.dlid = attr->alt_ah_attr.dlid; in ib_uverbs_query_qp()
1947 attr->ah_attr.dlid = cmd.dest.dlid; in ib_uverbs_modify_qp()
1959 attr->alt_ah_attr.dlid = cmd.alt_dest.dlid; in ib_uverbs_modify_qp()
2411 attr.dlid = cmd.attr.dlid; in ib_uverbs_create_ah()
Dcm.c1036 req_msg->primary_remote_lid = pri_path->dlid; in cm_format_req()
1057 req_msg->alt_remote_lid = alt_path->dlid; in cm_format_req()
1239 primary_path->dlid = req_msg->primary_local_lid; in cm_format_paths_from_req()
1260 alt_path->dlid = req_msg->alt_local_lid; in cm_format_paths_from_req()
2586 lap_msg->alt_remote_lid = alternate_path->dlid; in cm_format_lap()
2663 path->dlid = lap_msg->alt_local_lid; in cm_format_path_from_lap()
3517 if (cm_id_priv->alt_av.ah_attr.dlid) { in cm_init_qp_rtr_attr()
3571 if (cm_id_priv->alt_av.ah_attr.dlid) { in cm_init_qp_rts_attr()
/drivers/infiniband/hw/ipath/
Dipath_ud.c224 ah_attr->dlid & ((1 << dev->dd->ipath_lmc) - 1); in ipath_ud_loopback()
284 if (ah_attr->dlid >= IPATH_MULTICAST_LID_BASE) { in ipath_make_ud_req()
285 if (ah_attr->dlid != IPATH_PERMISSIVE_LID) in ipath_make_ud_req()
291 lid = ah_attr->dlid & ~((1 << dev->dd->ipath_lmc) - 1); in ipath_make_ud_req()
353 qp->s_hdr.lrh[1] = cpu_to_be16(ah_attr->dlid); /* DEST LID */ in ipath_make_ud_req()
372 ohdr->bth[1] = ah_attr->dlid >= IPATH_MULTICAST_LID_BASE && in ipath_make_ud_req()
373 ah_attr->dlid != IPATH_PERMISSIVE_LID ? in ipath_make_ud_req()
419 u16 dlid; in ipath_ud_rcv() local
567 dlid = be16_to_cpu(hdr->lrh[1]); in ipath_ud_rcv()
571 wc.dlid_path_bits = dlid >= IPATH_MULTICAST_LID_BASE ? 0 : in ipath_ud_rcv()
[all …]
Dipath_ruc.c441 wc.slid = qp->remote_ah_attr.dlid; in ipath_ruc_loopback()
620 qp->s_hdr.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in ipath_make_ruc_header()
648 qp->remote_ah_attr.dlid == dev->dd->ipath_lid) { in ipath_do_send()
Dipath_uc.c254 if (unlikely(be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid)) in ipath_uc_rcv()
417 wc.slid = qp->remote_ah_attr.dlid; in ipath_uc_rcv()
Dipath_rc.c675 hdr.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in send_rc_ack()
958 wc.slid = qp->remote_ah_attr.dlid; in do_rc_ack()
1586 if (unlikely(be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid)) in ipath_rc_rcv()
1742 wc.slid = qp->remote_ah_attr.dlid; in ipath_rc_rcv()
Dipath_qp.c470 if (attr->ah_attr.dlid == 0 || in ipath_modify_qp()
471 attr->ah_attr.dlid >= IPATH_MULTICAST_LID_BASE) in ipath_modify_qp()
Dipath_verbs.c1771 if (ah_attr->dlid >= IPATH_MULTICAST_LID_BASE && in ipath_create_ah()
1772 ah_attr->dlid != IPATH_PERMISSIVE_LID && in ipath_create_ah()
1778 if (ah_attr->dlid == 0) { in ipath_create_ah()
/drivers/infiniband/hw/ehca/
Dehca_av.c103 av->av.dlid = ah_attr->dlid; in ehca_create_ah()
177 new_ehca_av.dlid = ah_attr->dlid; in ehca_modify_ah()
240 ah_attr->dlid = av->av.dlid; in ehca_query_ah()
Dehca_qes.h71 u16 dlid; member
232 u16 dlid; member
Dehca_classes_pSeries.h111 u32 dlid; /* 22 */ member
Dehca_qp.c1487 mqpcb->dlid = attr->ah_attr.dlid; in internal_modify_qp()
1591 mqpcb->dlid_al = attr->alt_ah_attr.dlid; in internal_modify_qp()
1985 qp_attr->ah_attr.dlid = qpcb->dlid; in ehca_query_qp()
2006 qp_attr->alt_ah_attr.dlid = qpcb->dlid_al; in ehca_query_qp()
/drivers/infiniband/hw/mlx4/
Dah.c78 ah->av.ib.dlid = cpu_to_be16(ah_attr->dlid); in create_ib_ah()
126 ah->av.ib.dlid = cpu_to_be16(0xc000); in create_iboe_ah()
175 ah_attr->dlid = ll == IB_LINK_LAYER_INFINIBAND ? be16_to_cpu(ah->av.ib.dlid) : 0; in mlx4_ib_query_ah()
/drivers/infiniband/hw/mthca/
Dmthca_av.c60 __be16 dlid; member
203 av->dlid = cpu_to_be16(ah_attr->dlid); in mthca_create_ah()
273 header->lrh.destination_lid = ah->av->dlid; in mthca_read_ah()
302 attr->dlid = be16_to_cpu(ah->av->dlid); in mthca_ah_query()
Dmthca_mad.c85 ah_attr.dlid = lid; in update_sm_ah()
/drivers/infiniband/ulp/ipoib/
Dipoib_fs.c213 gid_buf, path.pathrec.dlid ? "yes" : "no"); in ipoib_path_seq_show()
215 if (path.pathrec.dlid) { in ipoib_path_seq_show()
222 be16_to_cpu(path.pathrec.dlid), in ipoib_path_seq_show()
Dipoib_main.c393 be16_to_cpu(path->pathrec.dlid), in ipoib_mark_paths_invalid()
447 be16_to_cpu(pathrec->dlid), pathrec->dgid.raw); in path_rec_completion()
470 ah, be16_to_cpu(pathrec->dlid), pathrec->sl); in path_rec_completion()
702 be16_to_cpu(path->pathrec.dlid)); in unicast_arp_send()
/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c115 ahid_addr = pd->uctx->ah_tbl.va + attr->dlid; in ocrdma_create_ah()

12