Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_ruc.c268 int has_grh, struct qib_qp *qp, u32 bth0) in qib_ruc_check_hdr() argument
273 if (qp->s_mig_state == IB_MIG_ARMED && (bth0 & IB_BTH_MIG_REQ)) { in qib_ruc_check_hdr()
288 if (!qib_pkey_ok((u16)bth0, in qib_ruc_check_hdr()
291 (u16)bth0, in qib_ruc_check_hdr()
320 if (!qib_pkey_ok((u16)bth0, in qib_ruc_check_hdr()
323 (u16)bth0, in qib_ruc_check_hdr()
334 !(bth0 & IB_BTH_MIG_REQ)) in qib_ruc_check_hdr()
679 u32 bth0, u32 bth2) in qib_make_ruc_header() argument
703 bth0 |= qib_get_pkey(ibp, qp->s_pkey_index); in qib_make_ruc_header()
704 bth0 |= extra_bytes << 20; in qib_make_ruc_header()
[all …]
Dqib_uc.c52 u32 bth0; in qib_make_uc_req() local
81 bth0 = 0; in qib_make_uc_req()
123 bth0 |= IB_BTH_SOLICITED; in qib_make_uc_req()
151 bth0 |= IB_BTH_SOLICITED; in qib_make_uc_req()
181 bth0 |= IB_BTH_SOLICITED; in qib_make_uc_req()
205 bth0 |= IB_BTH_SOLICITED; in qib_make_uc_req()
216 qib_make_ruc_header(qp, ohdr, bth0 | (qp->s_state << 24), in qib_make_uc_req()
Dqib_ud.c249 u32 bth0; in qib_make_ud_req() local
348 bth0 = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE << 24; in qib_make_ud_req()
350 bth0 = IB_OPCODE_UD_SEND_ONLY << 24; in qib_make_ud_req()
366 bth0 |= IB_BTH_SOLICITED; in qib_make_ud_req()
367 bth0 |= extra_bytes << 20; in qib_make_ud_req()
368 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? QIB_DEFAULT_P_KEY : in qib_make_ud_req()
371 ohdr->bth[0] = cpu_to_be32(bth0); in qib_make_ud_req()
Dqib_rc.c83 u32 bth0; in qib_make_rc_ack() local
165 bth0 = qp->s_ack_state << 24; in qib_make_rc_ack()
186 bth0 = qp->s_ack_state << 24; in qib_make_rc_ack()
210 bth0 = OP(ACKNOWLEDGE) << 24; in qib_make_rc_ack()
216 qib_make_ruc_header(qp, ohdr, bth0, bth2); in qib_make_rc_ack()
239 u32 bth0; in qib_make_rc_req() local
294 bth0 = 0; in qib_make_rc_req()
359 bth0 |= IB_BTH_SOLICITED; in qib_make_rc_req()
398 bth0 |= IB_BTH_SOLICITED; in qib_make_rc_req()
540 bth0 |= IB_BTH_SOLICITED; in qib_make_rc_req()
[all …]
Dqib_verbs.h1014 int has_grh, struct qib_qp *qp, u32 bth0);
1020 u32 bth0, u32 bth2);
/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_uc.c52 u32 bth0; in ipath_make_uc_req() local
81 bth0 = 1 << 22; /* Set M bit */ in ipath_make_uc_req()
120 bth0 |= 1 << 23; in ipath_make_uc_req()
148 bth0 |= 1 << 23; in ipath_make_uc_req()
178 bth0 |= 1 << 23; in ipath_make_uc_req()
202 bth0 |= 1 << 23; in ipath_make_uc_req()
214 qp, ohdr, bth0 | (qp->s_state << 24), in ipath_make_uc_req()
Dipath_ud.c250 u32 bth0; in ipath_make_ud_req() local
346 bth0 = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE << 24; in ipath_make_ud_req()
348 bth0 = IB_OPCODE_UD_SEND_ONLY << 24; in ipath_make_ud_req()
364 bth0 |= 1 << 23; in ipath_make_ud_req()
365 bth0 |= extra_bytes << 20; in ipath_make_ud_req()
366 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? IPATH_DEFAULT_P_KEY : in ipath_make_ud_req()
368 ohdr->bth[0] = cpu_to_be32(bth0); in ipath_make_ud_req()
Dipath_rc.c92 u32 bth0; in ipath_make_rc_ack() local
155 bth0 = qp->s_ack_state << 24; in ipath_make_rc_ack()
171 bth0 = qp->s_ack_state << 24; in ipath_make_rc_ack()
195 bth0 = OP(ACKNOWLEDGE) << 24; in ipath_make_rc_ack()
200 ipath_make_ruc_header(dev, qp, ohdr, bth0, bth2); in ipath_make_rc_ack()
221 u32 bth0; in ipath_make_rc_req() local
269 bth0 = 1 << 22; /* Set M bit */ in ipath_make_rc_req()
335 bth0 |= 1 << 23; in ipath_make_rc_req()
374 bth0 |= 1 << 23; in ipath_make_rc_req()
519 bth0 |= 1 << 23; in ipath_make_rc_req()
[all …]
Dipath_ruc.c602 u32 bth0, u32 bth2) in ipath_make_ruc_header() argument
624 bth0 |= ipath_get_pkey(dev->dd, qp->s_pkey_index); in ipath_make_ruc_header()
625 bth0 |= extra_bytes << 20; in ipath_make_ruc_header()
626 ohdr->bth[0] = cpu_to_be32(bth0 | (1 << 22)); in ipath_make_ruc_header()
Dipath_verbs.h867 u32 bth0, u32 bth2);