| /drivers/infiniband/hw/hfi1/ |
| A D | trace.c | 12 struct ib_other_headers *ohdr; in __get_ib_hdr_len() local 16 ohdr = &hdr->u.oth; in __get_ib_hdr_len() 18 ohdr = &hdr->u.l.oth; in __get_ib_hdr_len() 19 opcode = ib_bth_get_opcode(ohdr); in __get_ib_hdr_len() 36 ohdr = &hdr->u.oth; in __get_16b_hdr_len() 38 ohdr = &hdr->u.l.oth; in __get_16b_hdr_len() 126 *se = ib_bth_get_se(ohdr); in hfi1_trace_parse_9b_bth() 127 *pad = ib_bth_get_pad(ohdr); in hfi1_trace_parse_9b_bth() 132 *qpn = ib_bth_get_qpn(ohdr); in hfi1_trace_parse_9b_bth() 143 *pad = ib_bth_get_pad(ohdr); in hfi1_trace_parse_16b_bth() [all …]
|
| A D | uc.c | 25 struct ib_other_headers *ohdr; in hfi1_make_uc_req() local 60 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_uc_req() 68 ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; in hfi1_make_uc_req() 144 ohdr->u.rc.reth.vaddr = in hfi1_make_uc_req() 146 ohdr->u.rc.reth.rkey = in hfi1_make_uc_req() 265 struct ib_other_headers *ohdr = packet->ohdr; in hfi1_uc_rcv() local 281 psn = ib_bth_get_psn(ohdr); in hfi1_uc_rcv() 389 wc.ex.imm_data = ohdr->u.imm_data; in hfi1_uc_rcv() 444 reth = &ohdr->u.rc.reth; in hfi1_uc_rcv() 469 wc.ex.imm_data = ohdr->u.rc.imm_data; in hfi1_uc_rcv() [all …]
|
| A D | rc.c | 338 ohdr->u.aeth = in make_rc_ack() 596 &ohdr->u.rc.reth); in hfi1_make_rc_req() 744 &ohdr->u.rc.reth); in hfi1_make_rc_req() 994 &ohdr->u.rc.reth); in hfi1_make_rc_req() 1152 ohdr, in hfi1_make_rc_req() 1235 ohdr = &hdr->u.oth; in hfi1_make_rc_ack_9B() 1243 ohdr = &hdr->u.l.oth; in hfi1_make_rc_ack_9B() 1290 ohdr = &hdr->u.oth; in hfi1_make_rc_ack_16B() 1301 ohdr = &hdr->u.l.oth; in hfi1_make_rc_ack_16B() 2309 struct ib_other_headers *ohdr = packet->ohdr; in rc_rcv_resp() local [all …]
|
| A D | ud.c | 255 ohdr->u.ud.deth[0] = in hfi1_make_bth_deth() 269 struct ib_other_headers *ohdr; in hfi1_make_ud_req_9B() local 336 struct ib_other_headers *ohdr; in hfi1_make_ud_req_16B() local 600 struct ib_other_headers *ohdr; in return_cnp_16B() local 619 ohdr = &hdr.opah.u.l.oth; in return_cnp_16B() 623 ohdr = &hdr.opah.u.oth; in return_cnp_16B() 633 ohdr->bth[2] = 0; /* PSN 0 */ in return_cnp_16B() 662 struct ib_other_headers *ohdr; in return_cnp() local 677 ohdr = &hdr.ibh.u.l.oth; in return_cnp() 681 ohdr = &hdr.ibh.u.oth; in return_cnp() [all …]
|
| A D | driver.c | 232 packet->ohdr = &rhdr->u.oth; in rcv_hdrerr() 234 packet->ohdr = &rhdr->u.l.oth; in rcv_hdrerr() 406 struct ib_other_headers *ohdr = pkt->ohdr; in hfi1_process_ecn_slowpath() local 427 pkey = ib_bth_get_pkey(ohdr); in hfi1_process_ecn_slowpath() 436 fecn = ib_bth_get_fecn(ohdr); in hfi1_process_ecn_slowpath() 437 becn = ib_bth_get_becn(ohdr); in hfi1_process_ecn_slowpath() 602 packet->ohdr = &hdr->u.oth; in __prescan_rxq() 1485 packet->ohdr = &hdr->u.oth; in hfi1_setup_9B_packet() 1545 packet->ohdr = packet->ebuf; in hfi1_setup_bypass_packet() 1573 packet->ohdr = NULL; in hfi1_setup_bypass_packet() [all …]
|
| A D | tid_rdma.c | 1726 memset(&ohdr->u.tid_rdma.r_req, 0, sizeof(ohdr->u.tid_rdma.r_req)); in hfi1_build_tid_rdma_read_packet() 2233 struct ib_other_headers *ohdr = packet->ohdr; in hfi1_rc_rcv_tid_rdma_read_req() local 2451 struct ib_other_headers *ohdr = packet->ohdr; in hfi1_rc_rcv_tid_rdma_read_resp() local 2874 packet->ohdr = &hdr->u.oth; in hfi1_handle_kdeth_eflags() 2875 ohdr = packet->ohdr; in hfi1_handle_kdeth_eflags() 3662 struct ib_other_headers *ohdr = packet->ohdr; in hfi1_rc_rcv_tid_rdma_write_req() local 3893 memset(&ohdr->u.tid_rdma.w_rsp, 0, sizeof(ohdr->u.tid_rdma.w_rsp)); in hfi1_build_tid_rdma_write_resp() 4040 struct ib_other_headers *ohdr = packet->ohdr; in hfi1_rc_rcv_tid_rdma_write_resp() local 4274 struct ib_other_headers *ohdr = packet->ohdr; in hfi1_rc_rcv_tid_rdma_write_data() local 4499 struct ib_other_headers *ohdr = packet->ohdr; in hfi1_rc_rcv_tid_rdma_ack() local [all …]
|
| A D | trace_ibhdrs.h | 177 hfi1_trace_parse_16b_bth(packet->ohdr, 198 hfi1_trace_parse_9b_bth(packet->ohdr, 214 &packet->ohdr->u, 311 struct ib_other_headers *ohdr; 333 ohdr = NULL; 339 ohdr = &opah->opah.u.oth; 341 ohdr = &opah->opah.u.l.oth; 342 hfi1_trace_parse_16b_bth(ohdr, 363 ohdr = &opah->ibh.u.oth; 365 ohdr = &opah->ibh.u.l.oth; [all …]
|
| A D | tid_rdma.h | 245 struct ib_other_headers *ohdr, 248 struct ib_other_headers *ohdr, u32 *bth1, 252 struct ib_other_headers *ohdr, u32 *bth0, 275 struct ib_other_headers *ohdr, 281 struct ib_other_headers *ohdr, u32 *bth1, 290 struct ib_other_headers *ohdr, 296 struct ib_other_headers *ohdr, u16 iflow, 305 struct ib_other_headers *ohdr, u32 *bth1,
|
| A D | ruc.c | 208 struct ib_other_headers *ohdr, in hfi1_make_ruc_bth() argument 211 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_ruc_bth() 212 ohdr->bth[1] = cpu_to_be32(bth1); in hfi1_make_ruc_bth() 213 ohdr->bth[2] = cpu_to_be32(bth2); in hfi1_make_ruc_bth() 232 struct ib_other_headers *ohdr, in hfi1_make_ruc_header_16B() argument 288 hfi1_make_ruc_bth(qp, ohdr, bth0, bth1, bth2); in hfi1_make_ruc_header_16B() 321 struct ib_other_headers *ohdr, in hfi1_make_ruc_header_9B() argument 366 hfi1_make_ruc_bth(qp, ohdr, bth0, bth1, bth2); in hfi1_make_ruc_header_9B() 376 struct ib_other_headers *ohdr, 386 void hfi1_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, in hfi1_make_ruc_header() argument [all …]
|
| A D | ipoib_tx.c | 264 struct ib_other_headers *ohdr; in hfi1_ipoib_build_ib_tx_headers() local 294 ohdr = &sdma_hdr->hdr.ibh.u.l.oth; in hfi1_ipoib_build_ib_tx_headers() 297 ohdr = &sdma_hdr->hdr.ibh.u.oth; in hfi1_ipoib_build_ib_tx_headers() 328 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_ipoib_build_ib_tx_headers() 329 ohdr->bth[1] = cpu_to_be32(txp->dqpn); in hfi1_ipoib_build_ib_tx_headers() 330 ohdr->bth[2] = cpu_to_be32(mask_psn((u32)txp->txq->tx_ring.sent_txreqs)); in hfi1_ipoib_build_ib_tx_headers() 333 ohdr->u.ud.deth[0] = cpu_to_be32(priv->qkey); in hfi1_ipoib_build_ib_tx_headers() 334 ohdr->u.ud.deth[1] = cpu_to_be32((txp->entropy << in hfi1_ipoib_build_ib_tx_headers()
|
| A D | verbs.c | 349 packet->ohdr = &hdr->u.oth; in hfi1_kdeth_eager_rcv() 352 opcode = (be32_to_cpu(packet->ohdr->bth[0]) >> 24); in hfi1_kdeth_eager_rcv() 403 packet->ohdr = &hdr->u.oth; in hfi1_kdeth_expected_rcv() 503 qp_num = ib_bth_get_qpn(packet->ohdr); in hfi1_handle_packet() 1217 struct ib_other_headers *ohdr = NULL; in hfi1_verbs_send() local 1230 ohdr = &hdr->u.oth; in hfi1_verbs_send() 1232 ohdr = &hdr->u.l.oth; in hfi1_verbs_send() 1241 ohdr = &hdr->u.l.oth; in hfi1_verbs_send() 1243 ohdr = &hdr->u.oth; in hfi1_verbs_send() 1245 pkey = ib_bth_get_pkey(ohdr); in hfi1_verbs_send() [all …]
|
| A D | verbs.h | 399 void hfi1_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, 440 static inline bool opa_bth_is_migration(struct ib_other_headers *ohdr) in opa_bth_is_migration() argument 442 return ohdr->bth[1] & cpu_to_be32(OPA_BTH_MIG_REQ); in opa_bth_is_migration()
|
| A D | hfi.h | 340 struct ib_other_headers *ohdr; member 483 static inline u8 hfi1_16B_bth_get_pad(struct ib_other_headers *ohdr) in hfi1_16B_bth_get_pad() argument 485 return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_PAD_SHIFT) & in hfi1_16B_bth_get_pad() 517 struct ib_other_headers *ohdr; in hfi1_get_rc_ohdr() local 525 ohdr = &hdr->u.oth; in hfi1_get_rc_ohdr() 527 ohdr = &hdr->u.l.oth; in hfi1_get_rc_ohdr() 534 ohdr = &hdr_16b->u.oth; in hfi1_get_rc_ohdr() 536 ohdr = &hdr_16b->u.l.oth; in hfi1_get_rc_ohdr() 538 return ohdr; in hfi1_get_rc_ohdr() 1960 fecn = ib_bth_get_fecn(pkt->ohdr); in hfi1_may_ecn() [all …]
|