Home
last modified time | relevance | path

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

/linux-6.6.21/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.c55 u32 bth0; in qib_make_uc_req() local
82 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.c241 u32 bth0; in qib_make_ud_req() local
342 bth0 = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE << 24; in qib_make_ud_req()
344 bth0 = IB_OPCODE_UD_SEND_ONLY << 24; in qib_make_ud_req()
363 bth0 |= IB_BTH_SOLICITED; in qib_make_ud_req()
364 bth0 |= extra_bytes << 20; in qib_make_ud_req()
365 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? QIB_DEFAULT_P_KEY : in qib_make_ud_req()
368 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()
225 u32 bth0; in qib_make_rc_req() local
273 bth0 = 0; in qib_make_rc_req()
333 bth0 |= IB_BTH_SOLICITED; in qib_make_rc_req()
368 bth0 |= IB_BTH_SOLICITED; in qib_make_rc_req()
496 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);
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Druc.c209 u32 bth0, u32 bth1, u32 bth2) in hfi1_make_ruc_bth() argument
211 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_ruc_bth()
233 u32 bth0, u32 bth1, u32 bth2, in hfi1_make_ruc_header_16B() argument
286 bth0 |= pkey; in hfi1_make_ruc_header_16B()
287 bth0 |= extra_bytes << 20; in hfi1_make_ruc_header_16B()
288 hfi1_make_ruc_bth(qp, ohdr, bth0, bth1, bth2); in hfi1_make_ruc_header_16B()
322 u32 bth0, u32 bth1, u32 bth2, in hfi1_make_ruc_header_9B() argument
349 bth0 |= IB_BTH_MIG_REQ; in hfi1_make_ruc_header_9B()
364 bth0 |= pkey; in hfi1_make_ruc_header_9B()
365 bth0 |= extra_bytes << 20; in hfi1_make_ruc_header_9B()
[all …]
Dud.c228 u32 bth0; in hfi1_make_bth_deth() local
234 bth0 = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE << 24; in hfi1_make_bth_deth()
236 bth0 = IB_OPCODE_UD_SEND_ONLY << 24; in hfi1_make_bth_deth()
240 bth0 |= IB_BTH_SOLICITED; in hfi1_make_bth_deth()
241 bth0 |= extra_bytes << 20; in hfi1_make_bth_deth()
247 bth0 |= *pkey; in hfi1_make_bth_deth()
248 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_bth_deth()
596 u32 bth0, plen, vl, hwords = 7; in return_cnp_16B() local
628 bth0 = (IB_OPCODE_CNP << 24) | (1 << 16) | in return_cnp_16B()
630 ohdr->bth[0] = cpu_to_be32(bth0); in return_cnp_16B()
[all …]
Duc.c28 u32 bth0 = 0; in hfi1_make_uc_req() local
136 bth0 |= IB_BTH_SOLICITED; in hfi1_make_uc_req()
164 bth0 |= IB_BTH_SOLICITED; in hfi1_make_uc_req()
195 bth0 |= IB_BTH_SOLICITED; in hfi1_make_uc_req()
220 bth0 |= IB_BTH_SOLICITED; in hfi1_make_uc_req()
232 hfi1_make_ruc_header(qp, ohdr, bth0 | (qp->s_state << 24), in hfi1_make_uc_req()
Drc.c74 u32 bth0 = 0, bth2 = 0; in make_rc_ack() local
223 bth0 = qp->s_ack_state << 24; in make_rc_ack()
245 bth0 = qp->s_ack_state << 24; in make_rc_ack()
293 bth0 = qp->s_ack_state << 24; in make_rc_ack()
309 delta = hfi1_build_tid_rdma_read_resp(qp, e, ohdr, &bth0, in make_rc_ack()
346 bth0 = OP(ACKNOWLEDGE) << 24; in make_rc_ack()
356 hfi1_make_ruc_header(qp, ohdr, bth0, bth1, bth2, middle, ps); in make_rc_ack()
400 u32 bth0 = 0, bth2 = 0; in hfi1_make_rc_req() local
579 bth0 |= IB_BTH_SOLICITED; in hfi1_make_rc_req()
615 bth0 |= IB_BTH_SOLICITED; in hfi1_make_rc_req()
[all …]
Dipoib_tx.c270 u32 bth0; in hfi1_ipoib_build_ib_tx_headers() local
326 bth0 = (IB_OPCODE_UD_SEND_ONLY << 24) | (pad_cnt << 20) | priv->pkey; in hfi1_ipoib_build_ib_tx_headers()
328 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_ipoib_build_ib_tx_headers()
Dtid_rdma.c1893 u32 bth0, u32 psn, u64 vaddr, u32 len) in tid_rdma_rcv_read_request() argument
1964 e->opcode = (bth0 >> 24) & 0xff; in tid_rdma_rcv_read_request()
2029 u32 bth0; in tid_rdma_rcv_error() local
2061 bth0 = be32_to_cpu(ohdr->bth[0]); in tid_rdma_rcv_error()
2062 if (tid_rdma_rcv_read_request(qp, e, packet, ohdr, bth0, psn, in tid_rdma_rcv_error()
2238 u32 bth0, psn, len, rkey; in hfi1_rc_rcv_tid_rdma_read_req() local
2245 bth0 = be32_to_cpu(ohdr->bth[0]); in hfi1_rc_rcv_tid_rdma_read_req()
2295 if (tid_rdma_rcv_read_request(qp, e, packet, ohdr, bth0, psn, vaddr, in hfi1_rc_rcv_tid_rdma_read_req()
2345 struct ib_other_headers *ohdr, u32 *bth0, in hfi1_build_tid_rdma_read_resp() argument
2389 *bth0 = TID_OP(READ_RESP) << 24; in hfi1_build_tid_rdma_read_resp()
[all …]
Dtid_rdma.h252 struct ib_other_headers *ohdr, u32 *bth0,
Dverbs.h400 u32 bth0, u32 bth1, u32 bth2, int middle,
Dtrace_tx.h478 __field(u32, bth0)
506 __entry->bth0 = be32_to_cpu(bth[0]);
529 __entry->bth0,