Home
last modified time | relevance | path

Searched refs:lrh (Results 1 – 13 of 13) sorted by relevance

/drivers/infiniband/core/
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; in ib_ud_header_init()
340 header->lrh.link_next_header = in ib_ud_header_init()
349 header->lrh.packet_length = cpu_to_be16(packet_length); in ib_ud_header_init()
[all …]
/drivers/infiniband/hw/hfi1/
A Dhfi.h415 return (u8)(hdr->lrh[2] & OPA_16B_L4_MASK); in hfi1_16B_get_l4()
426 (((hdr->lrh[2] & OPA_16B_DLID_MASK) >> in hfi1_16B_get_dlid()
433 (((hdr->lrh[2] & OPA_16B_SLID_MASK) >> in hfi1_16B_get_slid()
2597 hdr->lrh[0] = cpu_to_be16(lrh0); in hfi1_make_ib_hdr()
2598 hdr->lrh[1] = cpu_to_be16(dlid); in hfi1_make_ib_hdr()
2599 hdr->lrh[2] = cpu_to_be16(len); in hfi1_make_ib_hdr()
2600 hdr->lrh[3] = cpu_to_be16(slid); in hfi1_make_ib_hdr()
2627 hdr->lrh[0] = lrh0; in hfi1_make_16b_hdr()
2628 hdr->lrh[1] = lrh1; in hfi1_make_16b_hdr()
2629 hdr->lrh[2] = lrh2; in hfi1_make_16b_hdr()
[all …]
A Dtrace_ibhdrs.h108 #define lrh_name(lrh) { HFI1_##lrh, #lrh } argument
109 #define show_lnh(lrh) \ argument
110 __print_symbolic(lrh, \
A Duser_sdma.c417 sc = (((be16_to_cpu(req->hdr.lrh[0]) >> 12) & 0xF) | in hfi1_user_sdma_process_request()
428 slid = be16_to_cpu(req->hdr.lrh[3]); in hfi1_user_sdma_process_request()
439 if ((be16_to_cpu(req->hdr.lrh[0]) & 0x3) == HFI1_LRH_GRH) { in hfi1_user_sdma_process_request()
511 dlid = be16_to_cpu(req->hdr.lrh[1]); in hfi1_user_sdma_process_request()
591 len = ((be16_to_cpu(req->hdr.lrh[2]) << 2) - in compute_data_length()
934 hdr->lrh[2] = cpu_to_be16(lrhlen >> 2); in set_txreq_header()
950 req->hdr.lrh[2] = hdr->lrh[2]; in set_txreq_header()
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
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]);
A Dtrace.c152 return be16_to_cpu(hdr->lrh[2]); in ib_get_len()
A Dverbs.c345 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()
A Ddriver.c1866 lnh = be16_to_cpu(hdr->lrh[0]) & 3; in seqfile_dump_rcd()
A Dtid_rdma.c2856 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()
/drivers/infiniband/hw/mthca/
A Dmthca_av.c275 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()
A Dmthca_qp.c1519 (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()
/drivers/infiniband/hw/mlx4/
A Dqp.c2902 sqp->ud_header.lrh.service_level = in build_sriov_qp0_header()
2904 sqp->ud_header.lrh.destination_lid = in build_sriov_qp0_header()
2906 sqp->ud_header.lrh.source_lid = in build_sriov_qp0_header()
2914 mlx->rlid = sqp->ud_header.lrh.destination_lid; in build_sriov_qp0_header()
2916 sqp->ud_header.lrh.virtual_lane = 0; in build_sriov_qp0_header()
3090 sqp->ud_header.lrh.service_level = in build_mlx_header()
3155 (sqp->ud_header.lrh.destination_lid == in build_mlx_header()
3159 (sqp->ud_header.lrh.service_level << 8)); in build_mlx_header()
3162 mlx->rlid = sqp->ud_header.lrh.destination_lid; in build_mlx_header()
3202 sqp->ud_header.lrh.virtual_lane = in build_mlx_header()
[all …]

Completed in 74 milliseconds