/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 96 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 …]
|
D | qib_ruc.c | 299 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()
|
D | qib_verbs.c | 1811 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/ |
D | ud.c | 118 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 …]
|
D | ruc.c | 319 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()
|
D | uc.c | 308 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()
|
D | trace.h | 440 __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,
|
D | verbs.c | 1679 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/ |
D | uverbs_marshall.c | 45 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()
|
D | uverbs_cmd.c | 2225 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()
|
D | sa_query.c | 179 { 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/ |
D | ipath_ud.c | 223 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 …]
|
D | ipath_ruc.c | 440 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()
|
D | ipath_uc.c | 254 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()
|
D | ipath_rc.c | 675 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/ |
D | ehca_av.c | 103 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()
|
D | ehca_qes.h | 71 u16 dlid; member 232 u16 dlid; member
|
D | ehca_classes_pSeries.h | 111 u32 dlid; /* 22 */ member
|
D | ehca_qp.c | 1487 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/ |
D | ah.c | 61 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/ |
D | mthca_av.c | 60 __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()
|
D | mthca_mad.c | 85 ah_attr.dlid = lid; in update_sm_ah()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_fs.c | 213 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/ |
D | ah.c | 47 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/ |
D | ocrdma_ah.c | 171 ahid_addr = pd->uctx->ah_tbl.va + attr->dlid; in ocrdma_create_ah()
|