Home
last modified time | relevance | path

Searched refs:lrh0 (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_ruc.c211 u16 lrh0; in qib_make_ruc_header() local
218 lrh0 = QIB_LRH_BTH; in qib_make_ruc_header()
224 lrh0 = QIB_LRH_GRH; in qib_make_ruc_header()
226 lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(&qp->remote_ah_attr)] << 12 | in qib_make_ruc_header()
228 priv->s_hdr->lrh[0] = cpu_to_be16(lrh0); in qib_make_ruc_header()
Dqib_ud.c242 u16 lrh0; in qib_make_ud_req() local
328 lrh0 = QIB_LRH_GRH; in qib_make_ud_req()
336 lrh0 = QIB_LRH_BTH; in qib_make_ud_req()
345 lrh0 |= rdma_ah_get_sl(ah_attr) << 4; in qib_make_ud_req()
347 lrh0 |= 0xF000; /* Set VL (see ch. 13.5.3.1) */ in qib_make_ud_req()
349 lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(ah_attr)] << 12; in qib_make_ud_req()
350 priv->s_hdr->lrh[0] = cpu_to_be16(lrh0); in qib_make_ud_req()
Dqib_rc.c604 u16 lrh0; in qib_send_rc_ack() local
625 lrh0 = QIB_LRH_BTH; in qib_send_rc_ack()
634 lrh0 = QIB_LRH_GRH; in qib_send_rc_ack()
646 lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(&qp->remote_ah_attr)] << 12 | in qib_send_rc_ack()
648 hdr.lrh[0] = cpu_to_be16(lrh0); in qib_send_rc_ack()
664 qp->s_srate, lrh0 >> 12); in qib_send_rc_ack()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dud.c266 u16 lrh0 = 0; in hfi1_make_ud_req_9B() local
292 lrh0 = HFI1_LRH_GRH; in hfi1_make_ud_req_9B()
295 lrh0 = HFI1_LRH_BTH; in hfi1_make_ud_req_9B()
300 lrh0 |= (rdma_ah_get_sl(ah_attr) & 0xf) << 4; in hfi1_make_ud_req_9B()
302 lrh0 |= 0xF000; /* Set VL (see ch. 13.5.3.1) */ in hfi1_make_ud_req_9B()
305 lrh0 |= (sc5 & 0xf) << 12; in hfi1_make_ud_req_9B()
329 lrh0, len, dlid, slid); in hfi1_make_ud_req_9B()
659 u16 lrh0; in return_cnp() local
678 lrh0 = HFI1_LRH_GRH; in return_cnp()
682 lrh0 = HFI1_LRH_BTH; in return_cnp()
[all …]
Druc.c329 u16 lrh0 = HFI1_LRH_BTH; in hfi1_make_ruc_header_9B() local
337 lrh0 = HFI1_LRH_GRH; in hfi1_make_ruc_header_9B()
345 lrh0 |= (priv->s_sc & 0xf) << 12 | in hfi1_make_ruc_header_9B()
368 lrh0, in hfi1_make_ruc_header_9B()
Dipoib_tx.c269 u16 lrh0; in hfi1_ipoib_build_ib_tx_headers() local
293 lrh0 = HFI1_LRH_GRH; in hfi1_ipoib_build_ib_tx_headers()
296 lrh0 = HFI1_LRH_BTH; in hfi1_ipoib_build_ib_tx_headers()
300 lrh0 |= (rdma_ah_get_sl(ah_attr) & 0xf) << 4; in hfi1_ipoib_build_ib_tx_headers()
301 lrh0 |= (txp->flow.sc5 & 0xf) << 12; in hfi1_ipoib_build_ib_tx_headers()
323 hfi1_make_ib_hdr(&sdma_hdr->hdr.ibh, lrh0, dwords, dlid, slid); in hfi1_ipoib_build_ib_tx_headers()
Dhfi.h2608 u16 lrh0, u16 len, in hfi1_make_ib_hdr() argument
2611 hdr->lrh[0] = cpu_to_be16(lrh0); in hfi1_make_ib_hdr()
2623 u32 lrh0 = 0; in hfi1_make_16b_hdr() local
2628 lrh0 = (lrh0 & ~OPA_16B_BECN_MASK) | (becn << OPA_16B_BECN_SHIFT); in hfi1_make_16b_hdr()
2629 lrh0 = (lrh0 & ~OPA_16B_LEN_MASK) | (len << OPA_16B_LEN_SHIFT); in hfi1_make_16b_hdr()
2630 lrh0 = (lrh0 & ~OPA_16B_LID_MASK) | (slid & OPA_16B_LID_MASK); in hfi1_make_16b_hdr()
2641 hdr->lrh[0] = lrh0; in hfi1_make_16b_hdr()
Dtrace_tx.h476 __field(u32, lrh0)
504 __entry->lrh0 = be32_to_cpu(lrh[0]);
527 __entry->lrh0,
Drc.c1230 u16 lrh0 = HFI1_LRH_BTH; in hfi1_make_rc_ack_9B() local
1244 lrh0 = HFI1_LRH_GRH; in hfi1_make_rc_ack_9B()
1252 lrh0 |= (sc5 & IB_SC_MASK) << IB_SC_SHIFT | in hfi1_make_rc_ack_9B()
1256 hfi1_make_ib_hdr(hdr, lrh0, *hwords + SIZE_OF_CRC, in hfi1_make_rc_ack_9B()