Searched refs:lrh (Results 1 – 10 of 10) sorted by relevance
98 __be16 lrh[4]; member175 return (be16_to_cpu(hdr->lrh[0]) & IB_LNH_MASK); in ib_get_lnh()180 return ((be16_to_cpu(hdr->lrh[0]) >> IB_SC_SHIFT) & IB_SC_MASK); in ib_get_sc()190 return ((be16_to_cpu(hdr->lrh[0]) >> IB_SL_SHIFT) & IB_SL_MASK); in ib_get_sl()195 return (be16_to_cpu(hdr->lrh[1])); in ib_get_dlid()200 return (be16_to_cpu(hdr->lrh[3])); in ib_get_slid()205 return (u8)((be16_to_cpu(hdr->lrh[0]) >> IB_LVER_SHIFT) & in ib_get_lver()
108 #define lrh_name(lrh) { HFI1_##lrh, #lrh } argument109 #define show_lnh(lrh) \ argument110 __print_symbolic(lrh, \
68 #define LRH_16B_BYTES (sizeof_field(struct hfi1_16b_header, lrh))70 #define LRH_9B_BYTES (sizeof_field(struct ib_header, lrh))80 u32 lrh[4]; member
152 return be16_to_cpu(hdr->lrh[2]); in ib_get_len()
345 lnh = be16_to_cpu(hdr->lrh[0]) & 3; in hfi1_kdeth_eager_rcv()399 lnh = be16_to_cpu(hdr->lrh[0]) & 3; in hfi1_kdeth_expected_rcv()
1866 lnh = be16_to_cpu(hdr->lrh[0]) & 3; in seqfile_dump_rcd()
2856 int lnh = be16_to_cpu(hdr->lrh[0]) & 3; in hfi1_handle_kdeth_eflags()2857 u16 lid = be16_to_cpu(hdr->lrh[1]); in hfi1_handle_kdeth_eflags()
275 header->lrh.service_level = be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 28; in mthca_read_ah()276 header->lrh.destination_lid = ah->av->dlid; in mthca_read_ah()277 header->lrh.source_lid = cpu_to_be16(ah->av->g_slid & 0x7f); in mthca_read_ah()
1519 (sqp->ud_header.lrh.destination_lid == in build_mlx_header()1521 (sqp->ud_header.lrh.service_level << 8)); in build_mlx_header()1522 mlx->rlid = sqp->ud_header.lrh.destination_lid; in build_mlx_header()1539 sqp->ud_header.lrh.virtual_lane = !qp->ibqp.qp_num ? 15 : 0; in build_mlx_header()1540 if (sqp->ud_header.lrh.destination_lid == IB_LID_PERMISSIVE) in build_mlx_header()1541 sqp->ud_header.lrh.source_lid = IB_LID_PERMISSIVE; in build_mlx_header()
242 __be16 lrh[4]; member