/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
D | qib_ruc.c | 83 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 …]
|
D | qib_uc.c | 54 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()
|
D | qib_ud.c | 240 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()
|
D | qib_rc.c | 68 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 …]
|
D | qib_verbs.h | 320 int has_grh, struct rvt_qp *qp, u32 bth0); 326 u32 bth0, u32 bth2);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | ruc.c | 251 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 …]
|
D | ud.c | 270 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 …]
|
D | uc.c | 69 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()
|
D | rc.c | 116 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 …]
|
D | ipoib_tx.c | 298 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()
|
D | trace_tx.h | 518 __field(u32, bth0) 546 __entry->bth0 = be32_to_cpu(bth[0]); 569 __entry->bth0,
|
D | tid_rdma.h | 252 struct ib_other_headers *ohdr, u32 *bth0,
|
D | tid_rdma.c | 1886 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 …]
|
D | verbs.h | 445 u32 bth0, u32 bth1, u32 bth2, int middle,
|