Lines Matching refs:ah_attr
79 struct rdma_ah_attr *ah_attr;
108 ah_attr = rvt_get_swqe_ah_attr(swqe);
114 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)];
117 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
123 rdma_ah_get_sl(ah_attr),
125 slid, rdma_ah_get_dlid(ah_attr));
185 if (rdma_ah_get_ah_flags(ah_attr) & IB_AH_GRH) {
187 struct ib_global_route grd = *(rdma_ah_read_grh(ah_attr));
249 wc.slid = (ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
254 wc.sl = rdma_ah_get_sl(ah_attr);
255 wc.dlid_path_bits = rdma_ah_get_dlid(ah_attr) & ((1 << ppd->lmc) - 1);
312 struct rdma_ah_attr *ah_attr;
319 ah_attr = rvt_get_swqe_ah_attr(wqe);
328 if (rdma_ah_get_ah_flags(ah_attr) & IB_AH_GRH) {
331 hfi1_make_grh(ibp, grh, rdma_ah_read_grh(ah_attr),
341 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)];
342 lrh0 |= (rdma_ah_get_sl(ah_attr) & 0xf) << 4;
351 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 9B);
358 lid |= rdma_ah_get_path_bits(ah_attr) &
379 struct rdma_ah_attr *ah_attr;
391 ah_attr = rvt_get_swqe_ah_attr(wqe);
413 if ((rdma_ah_get_ah_flags(ah_attr) & IB_AH_GRH) &&
414 hfi1_check_mcast(rdma_ah_get_dlid(ah_attr))) {
416 struct ib_global_route *grd = rdma_ah_retrieve_grh(ah_attr);
438 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)];
444 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 16B);
448 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
479 struct rdma_ah_attr *ah_attr;
518 ah_attr = rvt_get_swqe_ah_attr(wqe);
519 priv->hdr_type = hfi1_get_hdr_type(ppd->lid, ah_attr);
520 if ((!hfi1_check_mcast(rdma_ah_get_dlid(ah_attr))) ||
521 (rdma_ah_get_dlid(ah_attr) == be32_to_cpu(OPA_LID_PERMISSIVE))) {
522 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1);
552 qp->s_srate = rdma_ah_get_static_rate(ah_attr);