Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_ruc.c83 int has_grh, struct rvt_qp *qp, u32 bth0) in qib_ruc_check_hdr() argument
88 if (qp->s_mig_state == IB_MIG_ARMED && (bth0 & IB_BTH_MIG_REQ)) { in qib_ruc_check_hdr()
109 if (!qib_pkey_ok((u16)bth0, in qib_ruc_check_hdr()
112 (u16)bth0, in qib_ruc_check_hdr()
148 if (!qib_pkey_ok((u16)bth0, in qib_ruc_check_hdr()
151 (u16)bth0, in qib_ruc_check_hdr()
163 !(bth0 & IB_BTH_MIG_REQ)) in qib_ruc_check_hdr()
207 u32 bth0, u32 bth2) in qib_make_ruc_header() argument
236 bth0 |= qib_get_pkey(ibp, qp->s_pkey_index); in qib_make_ruc_header()
237 bth0 |= extra_bytes << 20; in qib_make_ruc_header()
[all …]
Dqib_uc.c54 u32 bth0; in qib_make_uc_req() local
81 bth0 = 0; in qib_make_uc_req()
122 bth0 |= IB_BTH_SOLICITED; in qib_make_uc_req()
150 bth0 |= IB_BTH_SOLICITED; in qib_make_uc_req()
180 bth0 |= IB_BTH_SOLICITED; in qib_make_uc_req()
204 bth0 |= IB_BTH_SOLICITED; in qib_make_uc_req()
215 qib_make_ruc_header(qp, ohdr, bth0 | (qp->s_state << 24), in qib_make_uc_req()
Dqib_ud.c240 u32 bth0; in qib_make_ud_req() local
341 bth0 = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE << 24; in qib_make_ud_req()
343 bth0 = IB_OPCODE_UD_SEND_ONLY << 24; in qib_make_ud_req()
362 bth0 |= IB_BTH_SOLICITED; in qib_make_ud_req()
363 bth0 |= extra_bytes << 20; in qib_make_ud_req()
364 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? QIB_DEFAULT_P_KEY : in qib_make_ud_req()
367 ohdr->bth[0] = cpu_to_be32(bth0); in qib_make_ud_req()
Dqib_rc.c68 u32 bth0; in qib_make_rc_ack() local
147 bth0 = qp->s_ack_state << 24; in qib_make_rc_ack()
168 bth0 = qp->s_ack_state << 24; in qib_make_rc_ack()
192 bth0 = OP(ACKNOWLEDGE) << 24; in qib_make_rc_ack()
198 qib_make_ruc_header(qp, ohdr, bth0, bth2); in qib_make_rc_ack()
224 u32 bth0; in qib_make_rc_req() local
272 bth0 = 0; in qib_make_rc_req()
332 bth0 |= IB_BTH_SOLICITED; in qib_make_rc_req()
367 bth0 |= IB_BTH_SOLICITED; in qib_make_rc_req()
495 bth0 |= IB_BTH_SOLICITED; in qib_make_rc_req()
[all …]
Dqib_verbs.h320 int has_grh, struct rvt_qp *qp, u32 bth0);
326 u32 bth0, u32 bth2);
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Druc.c251 u32 bth0, u32 bth1, u32 bth2) in hfi1_make_ruc_bth() argument
253 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_ruc_bth()
274 u32 bth0, u32 bth1, u32 bth2, in hfi1_make_ruc_header_16B() argument
327 bth0 |= pkey; in hfi1_make_ruc_header_16B()
328 bth0 |= extra_bytes << 20; in hfi1_make_ruc_header_16B()
329 hfi1_make_ruc_bth(qp, ohdr, bth0, bth1, bth2); in hfi1_make_ruc_header_16B()
362 u32 bth0, u32 bth1, u32 bth2, in hfi1_make_ruc_header_9B() argument
389 bth0 |= IB_BTH_MIG_REQ; in hfi1_make_ruc_header_9B()
404 bth0 |= pkey; in hfi1_make_ruc_header_9B()
405 bth0 |= extra_bytes << 20; in hfi1_make_ruc_header_9B()
[all …]
Dud.c270 u32 bth0; in hfi1_make_bth_deth() local
276 bth0 = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE << 24; in hfi1_make_bth_deth()
278 bth0 = IB_OPCODE_UD_SEND_ONLY << 24; in hfi1_make_bth_deth()
282 bth0 |= IB_BTH_SOLICITED; in hfi1_make_bth_deth()
283 bth0 |= extra_bytes << 20; in hfi1_make_bth_deth()
289 bth0 |= *pkey; in hfi1_make_bth_deth()
290 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_bth_deth()
637 u32 bth0, plen, vl, hwords = 7; in return_cnp_16B() local
669 bth0 = (IB_OPCODE_CNP << 24) | (1 << 16) | in return_cnp_16B()
671 ohdr->bth[0] = cpu_to_be32(bth0); in return_cnp_16B()
[all …]
Duc.c69 u32 bth0 = 0; in hfi1_make_uc_req() local
177 bth0 |= IB_BTH_SOLICITED; in hfi1_make_uc_req()
205 bth0 |= IB_BTH_SOLICITED; in hfi1_make_uc_req()
236 bth0 |= IB_BTH_SOLICITED; in hfi1_make_uc_req()
261 bth0 |= IB_BTH_SOLICITED; in hfi1_make_uc_req()
273 hfi1_make_ruc_header(qp, ohdr, bth0 | (qp->s_state << 24), in hfi1_make_uc_req()
Drc.c116 u32 bth0 = 0, bth2 = 0; in make_rc_ack() local
265 bth0 = qp->s_ack_state << 24; in make_rc_ack()
287 bth0 = qp->s_ack_state << 24; in make_rc_ack()
335 bth0 = qp->s_ack_state << 24; in make_rc_ack()
351 delta = hfi1_build_tid_rdma_read_resp(qp, e, ohdr, &bth0, in make_rc_ack()
388 bth0 = OP(ACKNOWLEDGE) << 24; in make_rc_ack()
398 hfi1_make_ruc_header(qp, ohdr, bth0, bth1, bth2, middle, ps); in make_rc_ack()
441 u32 bth0 = 0, bth2 = 0; in hfi1_make_rc_req() local
620 bth0 |= IB_BTH_SOLICITED; in hfi1_make_rc_req()
656 bth0 |= IB_BTH_SOLICITED; in hfi1_make_rc_req()
[all …]
Dipoib_tx.c298 u32 bth0; in hfi1_ipoib_build_ib_tx_headers() local
354 bth0 = (IB_OPCODE_UD_SEND_ONLY << 24) | (pad_cnt << 20) | priv->pkey; in hfi1_ipoib_build_ib_tx_headers()
356 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_ipoib_build_ib_tx_headers()
Dtrace_tx.h518 __field(u32, bth0)
546 __entry->bth0 = be32_to_cpu(bth[0]);
569 __entry->bth0,
Dtid_rdma.h252 struct ib_other_headers *ohdr, u32 *bth0,
Dtid_rdma.c1886 u32 bth0, u32 psn, u64 vaddr, u32 len) in tid_rdma_rcv_read_request() argument
1957 e->opcode = (bth0 >> 24) & 0xff; in tid_rdma_rcv_read_request()
2022 u32 bth0; in tid_rdma_rcv_error() local
2054 bth0 = be32_to_cpu(ohdr->bth[0]); in tid_rdma_rcv_error()
2055 if (tid_rdma_rcv_read_request(qp, e, packet, ohdr, bth0, psn, in tid_rdma_rcv_error()
2231 u32 bth0, psn, len, rkey; in hfi1_rc_rcv_tid_rdma_read_req() local
2238 bth0 = be32_to_cpu(ohdr->bth[0]); in hfi1_rc_rcv_tid_rdma_read_req()
2288 if (tid_rdma_rcv_read_request(qp, e, packet, ohdr, bth0, psn, vaddr, in hfi1_rc_rcv_tid_rdma_read_req()
2338 struct ib_other_headers *ohdr, u32 *bth0, in hfi1_build_tid_rdma_read_resp() argument
2382 *bth0 = TID_OP(READ_RESP) << 24; in hfi1_build_tid_rdma_read_resp()
[all …]
Dverbs.h445 u32 bth0, u32 bth1, u32 bth2, int middle,