Lines Matching refs:ah_attr
54 struct ib_ah_attr *ah_attr; in ipath_ud_loopback() local
178 ah_attr = &to_iah(swqe->wr.wr.ud.ah)->attr; in ipath_ud_loopback()
179 if (ah_attr->ah_flags & IB_AH_GRH) { in ipath_ud_loopback()
180 ipath_copy_sge(&rsge, &ah_attr->grh, sizeof(struct ib_grh)); in ipath_ud_loopback()
220 (ah_attr->src_path_bits & in ipath_ud_loopback()
222 wc.sl = ah_attr->sl; in ipath_ud_loopback()
224 ah_attr->dlid & ((1 << dev->dd->ipath_lmc) - 1); in ipath_ud_loopback()
245 struct ib_ah_attr *ah_attr; in ipath_make_ud_req() local
283 ah_attr = &to_iah(wqe->wr.wr.ud.ah)->attr; in ipath_make_ud_req()
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()
321 qp->s_dmult = ah_attr->static_rate; in ipath_make_ud_req()
327 if (ah_attr->ah_flags & IB_AH_GRH) { in ipath_make_ud_req()
330 &ah_attr->grh, in ipath_make_ud_req()
349 lrh0 |= ah_attr->sl << 4; in ipath_make_ud_req()
353 qp->s_hdr.lrh[1] = cpu_to_be16(ah_attr->dlid); /* DEST LID */ in ipath_make_ud_req()
358 lid |= ah_attr->src_path_bits & 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()