Home
last modified time | relevance | path

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

/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.c678 u16 lrh0; in qib_make_ruc_header() local
685 lrh0 = QIB_LRH_BTH; in qib_make_ruc_header()
690 lrh0 = QIB_LRH_GRH; in qib_make_ruc_header()
692 lrh0 |= ibp->sl_to_vl[qp->remote_ah_attr.sl] << 12 | in qib_make_ruc_header()
694 qp->s_hdr->lrh[0] = cpu_to_be16(lrh0); in qib_make_ruc_header()
Dqib_rc.c654 u16 lrh0; in qib_send_rc_ack() local
675 lrh0 = QIB_LRH_BTH; in qib_send_rc_ack()
682 lrh0 = QIB_LRH_GRH; in qib_send_rc_ack()
694 lrh0 |= ibp->sl_to_vl[qp->remote_ah_attr.sl] << 12 | in qib_send_rc_ack()
696 hdr.lrh[0] = cpu_to_be16(lrh0); in qib_send_rc_ack()
711 qp->s_srate, lrh0 >> 12); in qib_send_rc_ack()
/drivers/infiniband/hw/ipath/
Dipath_ud.c251 u16 lrh0; in ipath_make_ud_req() local
332 lrh0 = IPATH_LRH_GRH; in ipath_make_ud_req()
340 lrh0 = IPATH_LRH_BTH; in ipath_make_ud_req()
349 lrh0 |= ah_attr->sl << 4; in ipath_make_ud_req()
351 lrh0 |= 0xF000; /* Set VL (see ch. 13.5.3.1) */ in ipath_make_ud_req()
352 qp->s_hdr.lrh[0] = cpu_to_be16(lrh0); in ipath_make_ud_req()
Dipath_ruc.c604 u16 lrh0; in ipath_make_ruc_header() local
611 lrh0 = IPATH_LRH_BTH; in ipath_make_ruc_header()
616 lrh0 = IPATH_LRH_GRH; in ipath_make_ruc_header()
618 lrh0 |= qp->remote_ah_attr.sl << 4; in ipath_make_ruc_header()
619 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()