Home
last modified time | relevance | path

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

123

/drivers/infiniband/hw/qib/
Dqib_ud.c96 cpu_to_be16(ah_attr->dlid)); in qib_ud_loopback()
120 cpu_to_be16(ah_attr->dlid)); in qib_ud_loopback()
216 wc.dlid_path_bits = ah_attr->dlid & ((1 << ppd->lmc) - 1); in qib_ud_loopback()
281 if (ah_attr->dlid >= QIB_MULTICAST_LID_BASE) { in qib_make_ud_req()
282 if (ah_attr->dlid != QIB_PERMISSIVE_LID) in qib_make_ud_req()
288 lid = ah_attr->dlid & ~((1 << ppd->lmc) - 1); in qib_make_ud_req()
353 qp->s_hdr->lrh[1] = cpu_to_be16(ah_attr->dlid); /* DEST LID */ in qib_make_ud_req()
371 ohdr->bth[1] = ah_attr->dlid >= QIB_MULTICAST_LID_BASE && in qib_make_ud_req()
372 ah_attr->dlid != QIB_PERMISSIVE_LID ? in qib_make_ud_req()
438 u16 dlid; in qib_ud_rcv() local
[all …]
Dqib_ruc.c299 if (be16_to_cpu(hdr->lrh[3]) != qp->alt_ah_attr.dlid || in qib_ruc_check_hdr()
331 if (be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid || in qib_ruc_check_hdr()
560 wc.slid = qp->remote_ah_attr.dlid; in qib_ruc_loopback()
696 qp->s_hdr->lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in qib_make_ruc_header()
728 (qp->remote_ah_attr.dlid & ~((1 << ppd->lmc) - 1)) == ppd->lid) { in qib_do_send()
Dqib_verbs.c1811 if (ah_attr->dlid >= QIB_MULTICAST_LID_BASE && in qib_check_ah()
1812 ah_attr->dlid != QIB_PERMISSIVE_LID && in qib_check_ah()
1818 if (ah_attr->dlid == 0) in qib_check_ah()
1880 struct ib_ah *qib_create_qp0_ah(struct qib_ibport *ibp, u16 dlid) in qib_create_qp0_ah() argument
1887 attr.dlid = dlid; in qib_create_qp0_ah()
/drivers/staging/rdma/hfi1/
Dud.c118 cpu_to_be16(ah_attr->dlid)); in ud_loopback()
142 cpu_to_be16(ah_attr->dlid)); in ud_loopback()
248 wc.dlid_path_bits = ah_attr->dlid & ((1 << ppd->lmc) - 1); in ud_loopback()
313 if (ah_attr->dlid < HFI1_MULTICAST_LID_BASE || in hfi1_make_ud_req()
314 ah_attr->dlid == HFI1_PERMISSIVE_LID) { in hfi1_make_ud_req()
315 lid = ah_attr->dlid & ~((1 << ppd->lmc) - 1); in hfi1_make_ud_req()
387 qp->s_hdr->ibh.lrh[1] = cpu_to_be16(ah_attr->dlid); /* DEST LID */ in hfi1_make_ud_req()
390 if (ah_attr->dlid == be16_to_cpu(IB_LID_PERMISSIVE)) in hfi1_make_ud_req()
480 u32 pkey, u32 slid, u32 dlid, u8 sc5, in return_cnp() argument
518 hdr.lrh[1] = cpu_to_be16(dlid); in return_cnp()
[all …]
Druc.c319 if (be16_to_cpu(hdr->lrh[3]) != qp->alt_ah_attr.dlid || in hfi1_ruc_check_hdr()
351 if (be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid || in hfi1_ruc_check_hdr()
582 wc.slid = qp->remote_ah_attr.dlid; in ruc_loopback()
805 qp->s_hdr->ibh.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in hfi1_make_ruc_header()
847 (qp->remote_ah_attr.dlid & ~((1 << ppd->lmc) - 1)) == ppd->lid) { in hfi1_do_send()
Duc.c308 u16 dlid = be16_to_cpu(hdr->lrh[1]); in hfi1_uc_rcv() local
314 return_cnp(ibp, qp, src_qp, pkey, dlid, slid, sc5, grh); in hfi1_uc_rcv()
449 wc.slid = qp->remote_ah_attr.dlid; in hfi1_uc_rcv()
Dtrace.h440 __field(u16, dlid)
471 __entry->dlid =
521 __entry->dlid,
569 __field(u16, dlid)
590 __entry->dlid = be16_to_cpu(hdr->lrh[1]);
603 __entry->dlid,
Dverbs.c1679 if (ah_attr->dlid >= HFI1_MULTICAST_LID_BASE && in hfi1_check_ah()
1680 ah_attr->dlid != HFI1_PERMISSIVE_LID && in hfi1_check_ah()
1686 if (ah_attr->dlid == 0) in hfi1_check_ah()
1755 struct ib_ah *hfi1_create_qp0_ah(struct hfi1_ibport *ibp, u16 dlid) in hfi1_create_qp0_ah() argument
1762 attr.dlid = dlid; in hfi1_create_qp0_ah()
/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()
Duverbs_cmd.c2225 resp.dest.dlid = attr->ah_attr.dlid; in ib_uverbs_query_qp()
2237 resp.alt_dest.dlid = attr->alt_ah_attr.dlid; in ib_uverbs_query_qp()
2335 attr->ah_attr.dlid = cmd.dest.dlid; in ib_uverbs_modify_qp()
2347 attr->alt_ah_attr.dlid = cmd.alt_dest.dlid; in ib_uverbs_modify_qp()
2863 attr.dlid = cmd.attr.dlid; in ib_uverbs_create_ah()
Dsa_query.c179 { PATH_REC_FIELD(dlid),
880 ah_attr.dlid = port_attr.sm_lid; in update_sm_ah()
1002 ah_attr->dlid = be16_to_cpu(rec->dlid); in ib_init_ah_from_path()
/drivers/staging/rdma/ipath/
Dipath_ud.c223 ah_attr->dlid & ((1 << dev->dd->ipath_lmc) - 1); in ipath_ud_loopback()
283 if (ah_attr->dlid >= IPATH_MULTICAST_LID_BASE) { in ipath_make_ud_req()
284 if (ah_attr->dlid != IPATH_PERMISSIVE_LID) in ipath_make_ud_req()
290 lid = ah_attr->dlid & ~((1 << dev->dd->ipath_lmc) - 1); in ipath_make_ud_req()
352 qp->s_hdr.lrh[1] = cpu_to_be16(ah_attr->dlid); /* DEST LID */ in ipath_make_ud_req()
371 ohdr->bth[1] = ah_attr->dlid >= IPATH_MULTICAST_LID_BASE && in ipath_make_ud_req()
372 ah_attr->dlid != IPATH_PERMISSIVE_LID ? in ipath_make_ud_req()
418 u16 dlid; in ipath_ud_rcv() local
566 dlid = be16_to_cpu(hdr->lrh[1]); in ipath_ud_rcv()
570 wc.dlid_path_bits = dlid >= IPATH_MULTICAST_LID_BASE ? 0 : in ipath_ud_rcv()
[all …]
Dipath_ruc.c440 wc.slid = qp->remote_ah_attr.dlid; in ipath_ruc_loopback()
619 qp->s_hdr.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in ipath_make_ruc_header()
647 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()
/drivers/staging/rdma/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.c61 ah->av.ib.dlid = cpu_to_be16(ah_attr->dlid); in create_ib_ah()
124 ah->av.ib.dlid = cpu_to_be16(0xc000); in create_iboe_ah()
177 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()
/drivers/infiniband/hw/mlx5/
Dah.c47 ah->av.rlid = cpu_to_be16(ah_attr->dlid); in create_ib_ah()
81 ah_attr->dlid = be16_to_cpu(ah->av.rlid); in mlx5_ib_query_ah()
/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c171 ahid_addr = pd->uctx->ah_tbl.va + attr->dlid; in ocrdma_create_ah()

123