Lines Matching refs:ah_attr
37 struct rdma_ah_attr *ah_attr;
66 ah_attr = rvt_get_swqe_ah_attr(swqe);
72 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)];
75 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
81 rdma_ah_get_sl(ah_attr),
83 slid, rdma_ah_get_dlid(ah_attr));
143 if (rdma_ah_get_ah_flags(ah_attr) & IB_AH_GRH) {
145 struct ib_global_route grd = *(rdma_ah_read_grh(ah_attr));
207 wc.slid = (ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
212 wc.sl = rdma_ah_get_sl(ah_attr);
213 wc.dlid_path_bits = rdma_ah_get_dlid(ah_attr) & ((1 << ppd->lmc) - 1);
270 struct rdma_ah_attr *ah_attr;
277 ah_attr = rvt_get_swqe_ah_attr(wqe);
286 if (rdma_ah_get_ah_flags(ah_attr) & IB_AH_GRH) {
289 hfi1_make_grh(ibp, grh, rdma_ah_read_grh(ah_attr),
299 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)];
300 lrh0 |= (rdma_ah_get_sl(ah_attr) & 0xf) << 4;
309 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 9B);
316 lid |= rdma_ah_get_path_bits(ah_attr) &
337 struct rdma_ah_attr *ah_attr;
349 ah_attr = rvt_get_swqe_ah_attr(wqe);
371 if ((rdma_ah_get_ah_flags(ah_attr) & IB_AH_GRH) &&
372 hfi1_check_mcast(rdma_ah_get_dlid(ah_attr))) {
374 struct ib_global_route *grd = rdma_ah_retrieve_grh(ah_attr);
396 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)];
402 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 16B);
406 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
438 struct rdma_ah_attr *ah_attr;
477 ah_attr = rvt_get_swqe_ah_attr(wqe);
478 priv->hdr_type = hfi1_get_hdr_type(ppd->lid, ah_attr);
479 if ((!hfi1_check_mcast(rdma_ah_get_dlid(ah_attr))) ||
480 (rdma_ah_get_dlid(ah_attr) == be32_to_cpu(OPA_LID_PERMISSIVE))) {
481 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1);
511 qp->s_srate = rdma_ah_get_static_rate(ah_attr);