Searched refs:lrh (Results 1 - 25 of 25) sorted by relevance

/linux-master/drivers/infiniband/hw/qib/
H A Dqib_ruc.c113 (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF,
115 hdr->lrh[3], hdr->lrh[1]);
119 if ((be16_to_cpu(hdr->lrh[3]) !=
152 (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF,
154 hdr->lrh[3], hdr->lrh[1]);
158 if (be16_to_cpu(hdr->lrh[3]) !=
228 priv->s_hdr->lrh[0] = cpu_to_be16(lrh0);
229 priv->s_hdr->lrh[
[all...]
H A Dqib_ud.c350 priv->s_hdr->lrh[0] = cpu_to_be16(lrh0);
351 priv->s_hdr->lrh[1] =
353 priv->s_hdr->lrh[2] =
359 priv->s_hdr->lrh[3] = cpu_to_be16(lid);
361 priv->s_hdr->lrh[3] = IB_LID_PERMISSIVE;
465 if (unlikely(hdr->lrh[1] == IB_LID_PERMISSIVE ||
466 hdr->lrh[3] == IB_LID_PERMISSIVE))
476 (be16_to_cpu(hdr->lrh[0]) >> 4) &
479 hdr->lrh[3], hdr->lrh[
[all...]
H A Dqib_driver.c309 u16 lid = be16_to_cpu(hdr->lrh[1]);
310 int lnh = be16_to_cpu(hdr->lrh[0]) & 3;
490 u16 lrh_len = be16_to_cpu(hdr->lrh[2]) << 2;
H A Dqib_common.h700 __be16 lrh[4]; member in struct:qib_message_header
H A Dqib_user_sdma.c448 hdr->lrh[2] = cpu_to_be16(le16_to_cpu(pbc16[0]));
466 be16_to_cpu(hdr->lrh[2]) -
494 hdr->lrh[2] = cpu_to_be16(le16_to_cpu(pbc16[0]));
510 be16_to_cpu(hdr->lrh[2]) -
H A Dqib_verbs.c290 lid = be16_to_cpu(hdr->lrh[1]);
298 lnh = be16_to_cpu(hdr->lrh[0]) & 3;
798 be16_to_cpu(hdr->lrh[0]) >> 12);
922 be16_to_cpu(ibhdr->lrh[0]) >> 12);
H A Dqib_rc.c648 hdr.lrh[0] = cpu_to_be16(lrh0);
649 hdr.lrh[1] = cpu_to_be16(rdma_ah_get_dlid(&qp->remote_ah_attr));
650 hdr.lrh[2] = cpu_to_be16(hwords + SIZE_OF_CRC);
651 hdr.lrh[3] = cpu_to_be16(ppd->lid |
893 if ((be16_to_cpu(hdr->lrh[0]) & 3) == QIB_LRH_BTH)
H A Dqib_iba7322.c1403 .lrh[0] = cpu_to_be16(0xF000 | QIB_LRH_BTH),
1404 .lrh[1] = IB_LID_PERMISSIVE,
1405 .lrh[2] = cpu_to_be16(hdrwords + SIZE_OF_CRC),
1406 .lrh[3] = IB_LID_PERMISSIVE,
/linux-master/drivers/infiniband/core/
H A Dud_header.c48 { STRUCT_FIELD(lrh, virtual_lane),
52 { STRUCT_FIELD(lrh, link_version),
56 { STRUCT_FIELD(lrh, service_level),
64 { STRUCT_FIELD(lrh, link_next_header),
68 { STRUCT_FIELD(lrh, destination_lid),
76 { STRUCT_FIELD(lrh, packet_length),
80 { STRUCT_FIELD(lrh, source_lid),
339 header->lrh.link_version = 0;
340 header->lrh.link_next_header =
349 header->lrh
[all...]
/linux-master/include/rdma/
H A Dib_hdrs.h98 __be16 lrh[4]; member in struct:ib_header
175 return (be16_to_cpu(hdr->lrh[0]) & IB_LNH_MASK);
180 return ((be16_to_cpu(hdr->lrh[0]) >> IB_SC_SHIFT) & IB_SC_MASK);
190 return ((be16_to_cpu(hdr->lrh[0]) >> IB_SL_SHIFT) & IB_SL_MASK);
195 return (be16_to_cpu(hdr->lrh[1]));
200 return (be16_to_cpu(hdr->lrh[3]));
205 return (u8)((be16_to_cpu(hdr->lrh[0]) >> IB_LVER_SHIFT) &
H A Dib_pack.h244 struct ib_unpacked_lrh lrh; member in struct:ib_ud_header
/linux-master/fs/ntfs3/
H A Dfslog.c396 struct LFS_RECORD_HDR *lrh; // Log record header of the current lsn. member in struct:lcb
407 kfree(lcb->lrh);
2368 struct LFS_RECORD_HDR *rh = lcb->lrh;
2376 lcb->lrh = rh;
2485 hdr = lcb->lrh;
2502 if (hdr != lcb->lrh)
2515 kfree(lcb->lrh);
2516 lcb->lrh = hdr;
2523 if (hdr != lcb->lrh)
2548 kfree(lcb->lrh);
2812 check_if_attr(const struct MFT_REC *rec, const struct LOG_REC_HDR *lrh) argument
2836 check_if_index_root(const struct MFT_REC *rec, const struct LOG_REC_HDR *lrh) argument
2860 check_if_root_index(const struct ATTRIB *attr, const struct INDEX_HDR *hdr, const struct LOG_REC_HDR *lrh) argument
3015 do_action(struct ntfs_log *log, struct OPEN_ATTR_ENRTY *oe, const struct LOG_REC_HDR *lrh, u32 op, void *data, u32 dlen, u32 rec_len, const u64 *rlsn) argument
3749 const struct LOG_REC_HDR *lrh; local
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Dhfi.h415 return (u8)(hdr->lrh[2] & OPA_16B_L4_MASK);
420 return (u8)((hdr->lrh[1] & OPA_16B_SC_MASK) >> OPA_16B_SC_SHIFT);
425 return (u32)((hdr->lrh[1] & OPA_16B_LID_MASK) |
426 (((hdr->lrh[2] & OPA_16B_DLID_MASK) >>
432 return (u32)((hdr->lrh[0] & OPA_16B_LID_MASK) |
433 (((hdr->lrh[2] & OPA_16B_SLID_MASK) >>
439 return (u8)((hdr->lrh[0] & OPA_16B_BECN_MASK) >> OPA_16B_BECN_SHIFT);
444 return (u8)((hdr->lrh[1] & OPA_16B_FECN_MASK) >> OPA_16B_FECN_SHIFT);
449 return (u8)((hdr->lrh[1] & OPA_16B_L2_MASK) >> OPA_16B_L2_SHIFT);
454 return (u16)((hdr->lrh[
[all...]
H A Dtrace_ibhdrs.h108 #define lrh_name(lrh) { HFI1_##lrh, #lrh }
109 #define show_lnh(lrh) \
110 __print_symbolic(lrh, \
H A Dverbs.h68 #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 in struct:hfi1_16b_header
H A Duser_sdma.c417 sc = (((be16_to_cpu(req->hdr.lrh[0]) >> 12) & 0xF) |
428 slid = be16_to_cpu(req->hdr.lrh[3]);
439 if ((be16_to_cpu(req->hdr.lrh[0]) & 0x3) == HFI1_LRH_GRH) {
511 dlid = be16_to_cpu(req->hdr.lrh[1]);
591 len = ((be16_to_cpu(req->hdr.lrh[2]) << 2) -
934 hdr->lrh[2] = cpu_to_be16(lrhlen >> 2);
950 req->hdr.lrh[2] = hdr->lrh[2];
H A Dtrace_tx.h494 __be32 *lrh = (__be32 *)hdr->lrh;
504 __entry->lrh0 = be32_to_cpu(lrh[0]);
505 __entry->lrh1 = be32_to_cpu(lrh[1]);
H A Dtrace.c152 return be16_to_cpu(hdr->lrh[2]);
H A Dverbs.c345 lnh = be16_to_cpu(hdr->lrh[0]) & 3;
399 lnh = be16_to_cpu(hdr->lrh[0]) & 3;
H A Ddriver.c1865 lnh = be16_to_cpu(hdr->lrh[0]) & 3;
H A Dtid_rdma.c2856 int lnh = be16_to_cpu(hdr->lrh[0]) & 3;
2857 u16 lid = be16_to_cpu(hdr->lrh[1]);
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_av.c275 header->lrh.service_level = be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 28;
276 header->lrh.destination_lid = ah->av->dlid;
277 header->lrh.source_lid = cpu_to_be16(ah->av->g_slid & 0x7f);
H A Dmthca_qp.c1519 (sqp->ud_header.lrh.destination_lid ==
1521 (sqp->ud_header.lrh.service_level << 8));
1522 mlx->rlid = sqp->ud_header.lrh.destination_lid;
1539 sqp->ud_header.lrh.virtual_lane = !qp->ibqp.qp_num ? 15 : 0;
1540 if (sqp->ud_header.lrh.destination_lid == IB_LID_PERMISSIVE)
1541 sqp->ud_header.lrh.source_lid = IB_LID_PERMISSIVE;
/linux-master/include/uapi/rdma/hfi/
H A Dhfi1_user.h242 __be16 lrh[4]; member in struct:hfi1_pkt_header
/linux-master/drivers/infiniband/hw/mlx4/
H A Dqp.c2894 sqp->ud_header.lrh.service_level =
2896 sqp->ud_header.lrh.destination_lid =
2898 sqp->ud_header.lrh.source_lid =
2906 mlx->rlid = sqp->ud_header.lrh.destination_lid;
2908 sqp->ud_header.lrh.virtual_lane = 0;
3082 sqp->ud_header.lrh.service_level =
3084 sqp->ud_header.lrh.destination_lid = ah->av.ib.dlid;
3085 sqp->ud_header.lrh.source_lid = cpu_to_be16(ah->av.ib.g_slid & 0x7f);
3147 (sqp->ud_header.lrh.destination_lid ==
3151 (sqp->ud_header.lrh
[all...]

Completed in 296 milliseconds