Home
last modified time | relevance | path

Searched refs:bth0 (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_ruc.c83 int has_grh, struct rvt_qp *qp, u32 bth0) in qib_ruc_check_hdr()
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()
236 bth0 |= qib_get_pkey(ibp, qp->s_pkey_index); in qib_make_ruc_header()
237 bth0 | in qib_make_ruc_header()
82 qib_ruc_check_hdr(struct qib_ibport *ibp, struct ib_header *hdr, int has_grh, struct rvt_qp *qp, u32 bth0) qib_ruc_check_hdr() argument
206 qib_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, u32 bth0, u32 bth2) qib_make_ruc_header() argument
[all...]
H A 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()
H A 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()
H A 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 | in qib_make_rc_req()
604 u32 bth0; qib_send_rc_ack() local
[all...]
H A Dqib_verbs.h320 int has_grh, struct rvt_qp *qp, u32 bth0);
326 u32 bth0, u32 bth2);
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_ruc.c83 int has_grh, struct rvt_qp *qp, u32 bth0) in qib_ruc_check_hdr()
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()
236 bth0 |= qib_get_pkey(ibp, qp->s_pkey_index); in qib_make_ruc_header()
237 bth0 | in qib_make_ruc_header()
82 qib_ruc_check_hdr(struct qib_ibport *ibp, struct ib_header *hdr, int has_grh, struct rvt_qp *qp, u32 bth0) qib_ruc_check_hdr() argument
206 qib_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, u32 bth0, u32 bth2) qib_make_ruc_header() argument
[all...]
H A 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()
H A 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()
H A 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 | in qib_make_rc_req()
605 u32 bth0; qib_send_rc_ack() local
[all...]
H A 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/
H A Druc.c251 u32 bth0, u32 bth1, u32 bth2) in hfi1_make_ruc_bth()
253 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_ruc_bth()
262 * @bth0: bth0 passed in from the RC/UC builder
274 u32 bth0, u32 bth1, u32 bth2, in hfi1_make_ruc_header_16B()
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()
350 * @bth0: bth0 passe
249 hfi1_make_ruc_bth(struct rvt_qp *qp, struct ib_other_headers *ohdr, u32 bth0, u32 bth1, u32 bth2) hfi1_make_ruc_bth() argument
272 hfi1_make_ruc_header_16B(struct rvt_qp *qp, struct ib_other_headers *ohdr, u32 bth0, u32 bth1, u32 bth2, int middle, struct hfi1_pkt_state *ps) hfi1_make_ruc_header_16B() argument
360 hfi1_make_ruc_header_9B(struct rvt_qp *qp, struct ib_other_headers *ohdr, u32 bth0, u32 bth1, u32 bth2, int middle, struct hfi1_pkt_state *ps) hfi1_make_ruc_header_9B() argument
426 hfi1_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, u32 bth0, u32 bth1, u32 bth2, int middle, struct hfi1_pkt_state *ps) hfi1_make_ruc_header() argument
[all...]
H A 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()
699 u32 bth0, plen, vl, hwords = 5; return_cnp() local
[all...]
H A 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()
H A 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 | in hfi1_make_rc_req()
1221 hfi1_make_bth_aeth(struct rvt_qp *qp, struct ib_other_headers *ohdr, u32 bth0, u32 bth1) hfi1_make_bth_aeth() argument
1273 u32 bth0, bth1; hfi1_make_rc_ack_9B() local
1324 u32 bth0, bth1 = 0; hfi1_make_rc_ack_16B() local
[all...]
H A Dipoib_tx.c306 u32 bth0; in hfi1_ipoib_build_ib_tx_headers() local
362 bth0 = (IB_OPCODE_UD_SEND_ONLY << 24) | (pad_cnt << 20) | priv->pkey; in hfi1_ipoib_build_ib_tx_headers()
364 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_ipoib_build_ib_tx_headers()
H A Dtid_rdma.c1886 u32 bth0, u32 psn, u64 vaddr, u32 len) in tid_rdma_rcv_read_request()
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()
2382 *bth0 in hfi1_build_tid_rdma_read_resp()
1882 tid_rdma_rcv_read_request(struct rvt_qp *qp, struct rvt_ack_entry *e, struct hfi1_packet *packet, struct ib_other_headers *ohdr, u32 bth0, u32 psn, u64 vaddr, u32 len) tid_rdma_rcv_read_request() argument
2337 hfi1_build_tid_rdma_read_resp(struct rvt_qp *qp, struct rvt_ack_entry *e, struct ib_other_headers *ohdr, u32 *bth0, u32 *bth1, u32 *bth2, u32 *len, bool *last) hfi1_build_tid_rdma_read_resp() argument
3656 u32 bth0, psn, len, rkey, num_segs; hfi1_rc_rcv_tid_rdma_write_req() local
[all...]
H A Dtid_rdma.h252 struct ib_other_headers *ohdr, u32 *bth0,
H A Dtrace_tx.h520 __field(u32, bth0)
548 __entry->bth0 = be32_to_cpu(bth[0]);
571 __entry->bth0,
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Druc.c209 u32 bth0, u32 bth1, u32 bth2) in hfi1_make_ruc_bth()
211 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_ruc_bth()
220 * @bth0: bth0 passed in from the RC/UC builder
233 u32 bth0, u32 bth1, u32 bth2, in hfi1_make_ruc_header_16B()
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()
309 * @bth0: bth0 passe
207 hfi1_make_ruc_bth(struct rvt_qp *qp, struct ib_other_headers *ohdr, u32 bth0, u32 bth1, u32 bth2) hfi1_make_ruc_bth() argument
231 hfi1_make_ruc_header_16B(struct rvt_qp *qp, struct ib_other_headers *ohdr, u32 bth0, u32 bth1, u32 bth2, int middle, struct hfi1_pkt_state *ps) hfi1_make_ruc_header_16B() argument
320 hfi1_make_ruc_header_9B(struct rvt_qp *qp, struct ib_other_headers *ohdr, u32 bth0, u32 bth1, u32 bth2, int middle, struct hfi1_pkt_state *ps) hfi1_make_ruc_header_9B() argument
386 hfi1_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, u32 bth0, u32 bth1, u32 bth2, int middle, struct hfi1_pkt_state *ps) hfi1_make_ruc_header() argument
[all...]
H A 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()
658 u32 bth0, plen, vl, hwords = 5; return_cnp() local
[all...]
H A 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()
H A 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 | in hfi1_make_rc_req()
1180 hfi1_make_bth_aeth(struct rvt_qp *qp, struct ib_other_headers *ohdr, u32 bth0, u32 bth1) hfi1_make_bth_aeth() argument
1232 u32 bth0, bth1; hfi1_make_rc_ack_9B() local
1283 u32 bth0, bth1 = 0; hfi1_make_rc_ack_16B() local
[all...]
H A 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()
H A Dtid_rdma.c1893 u32 bth0, u32 psn, u64 vaddr, u32 len) in tid_rdma_rcv_read_request()
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()
2389 *bth0 in hfi1_build_tid_rdma_read_resp()
1889 tid_rdma_rcv_read_request(struct rvt_qp *qp, struct rvt_ack_entry *e, struct hfi1_packet *packet, struct ib_other_headers *ohdr, u32 bth0, u32 psn, u64 vaddr, u32 len) tid_rdma_rcv_read_request() argument
2344 hfi1_build_tid_rdma_read_resp(struct rvt_qp *qp, struct rvt_ack_entry *e, struct ib_other_headers *ohdr, u32 *bth0, u32 *bth1, u32 *bth2, u32 *len, bool *last) hfi1_build_tid_rdma_read_resp() argument
3668 u32 bth0, psn, len, rkey, num_segs; hfi1_rc_rcv_tid_rdma_write_req() local
[all...]
H A Dtid_rdma.h252 struct ib_other_headers *ohdr, u32 *bth0,

Completed in 27 milliseconds

12