Home
last modified time | relevance | path

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

/drivers/staging/rdma/hfi1/
Dud.c277 u16 lrh0; in hfi1_make_ud_req() local
360 lrh0 = HFI1_LRH_GRH; in hfi1_make_ud_req()
368 lrh0 = HFI1_LRH_BTH; in hfi1_make_ud_req()
378 lrh0 |= (ah_attr->sl & 0xf) << 4; in hfi1_make_ud_req()
380 lrh0 |= 0xF000; /* Set VL (see ch. 13.5.3.1) */ in hfi1_make_ud_req()
383 lrh0 |= (sc5 & 0xf) << 12; in hfi1_make_ud_req()
386 qp->s_hdr->ibh.lrh[0] = cpu_to_be16(lrh0); in hfi1_make_ud_req()
485 u16 lrh0; in return_cnp() local
502 lrh0 = HFI1_LRH_GRH; in return_cnp()
506 lrh0 = HFI1_LRH_BTH; in return_cnp()
[all …]
Druc.c761 u16 lrh0; in hfi1_make_ruc_header() local
770 lrh0 = HFI1_LRH_BTH; in hfi1_make_ruc_header()
775 lrh0 = HFI1_LRH_GRH; in hfi1_make_ruc_header()
779 lrh0 |= (sc5 & 0xf) << 12 | (qp->remote_ah_attr.sl & 0xf) << 4; in hfi1_make_ruc_header()
804 qp->s_hdr->ibh.lrh[0] = cpu_to_be16(lrh0); in hfi1_make_ruc_header()
Drc.c691 u16 lrh0; in hfi1_send_rc_ack() local
718 lrh0 = HFI1_LRH_GRH; in hfi1_send_rc_ack()
721 lrh0 = HFI1_LRH_BTH; in hfi1_send_rc_ack()
736 lrh0 |= (sc5 & 0xf) << 12 | (qp->remote_ah_attr.sl & 0xf) << 4; in hfi1_send_rc_ack()
737 hdr.lrh[0] = cpu_to_be16(lrh0); in hfi1_send_rc_ack()
Dtrace.h1046 __field(__be32, lrh0)
1074 __entry->lrh0 = be32_to_cpu(lrh[0]);
1097 __entry->lrh0,
/drivers/infiniband/hw/qib/
Dqib_ud.c246 u16 lrh0; in qib_make_ud_req() local
330 lrh0 = QIB_LRH_GRH; in qib_make_ud_req()
338 lrh0 = QIB_LRH_BTH; in qib_make_ud_req()
347 lrh0 |= ah_attr->sl << 4; in qib_make_ud_req()
349 lrh0 |= 0xF000; /* Set VL (see ch. 13.5.3.1) */ in qib_make_ud_req()
351 lrh0 |= ibp->sl_to_vl[ah_attr->sl] << 12; in qib_make_ud_req()
352 qp->s_hdr->lrh[0] = cpu_to_be16(lrh0); in qib_make_ud_req()
Dqib_ruc.c679 u16 lrh0; in qib_make_ruc_header() local
686 lrh0 = QIB_LRH_BTH; in qib_make_ruc_header()
691 lrh0 = QIB_LRH_GRH; in qib_make_ruc_header()
693 lrh0 |= ibp->sl_to_vl[qp->remote_ah_attr.sl] << 12 | in qib_make_ruc_header()
695 qp->s_hdr->lrh[0] = cpu_to_be16(lrh0); in qib_make_ruc_header()
Dqib_rc.c656 u16 lrh0; in qib_send_rc_ack() local
677 lrh0 = QIB_LRH_BTH; in qib_send_rc_ack()
684 lrh0 = QIB_LRH_GRH; in qib_send_rc_ack()
696 lrh0 |= ibp->sl_to_vl[qp->remote_ah_attr.sl] << 12 | in qib_send_rc_ack()
698 hdr.lrh[0] = cpu_to_be16(lrh0); in qib_send_rc_ack()
713 qp->s_srate, lrh0 >> 12); in qib_send_rc_ack()
/drivers/staging/rdma/ipath/
Dipath_ud.c250 u16 lrh0; in ipath_make_ud_req() local
331 lrh0 = IPATH_LRH_GRH; in ipath_make_ud_req()
339 lrh0 = IPATH_LRH_BTH; in ipath_make_ud_req()
348 lrh0 |= ah_attr->sl << 4; in ipath_make_ud_req()
350 lrh0 |= 0xF000; /* Set VL (see ch. 13.5.3.1) */ in ipath_make_ud_req()
351 qp->s_hdr.lrh[0] = cpu_to_be16(lrh0); in ipath_make_ud_req()
Dipath_ruc.c603 u16 lrh0; in ipath_make_ruc_header() local
610 lrh0 = IPATH_LRH_BTH; in ipath_make_ruc_header()
615 lrh0 = IPATH_LRH_GRH; in ipath_make_ruc_header()
617 lrh0 |= qp->remote_ah_attr.sl << 4; in ipath_make_ruc_header()
618 qp->s_hdr.lrh[0] = cpu_to_be16(lrh0); in ipath_make_ruc_header()
Dipath_rc.c616 u16 lrh0; in send_rc_ack() local
654 lrh0 = IPATH_LRH_BTH; in send_rc_ack()
662 lrh0 = IPATH_LRH_GRH; in send_rc_ack()
673 lrh0 |= qp->remote_ah_attr.sl << 4; in send_rc_ack()
674 hdr.lrh[0] = cpu_to_be16(lrh0); in send_rc_ack()