Searched refs:lrh0 (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | ud.c | 266 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 …]
|
| H A D | ruc.c | 329 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()
|
| H A D | ipoib_tx.c | 269 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()
|
| H A D | rc.c | 1230 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()
|