Searched refs:reth (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 130 ohdr->u.rc.reth.vaddr = in qib_make_uc_req() 132 ohdr->u.rc.reth.rkey = in qib_make_uc_req() 134 ohdr->u.rc.reth.length = cpu_to_be32(len); in qib_make_uc_req() 247 struct ib_reth *reth; in qib_uc_rcv() local 414 reth = &ohdr->u.rc.reth; in qib_uc_rcv() 415 hdrsize += sizeof(*reth); in qib_uc_rcv() 416 qp->r_len = be32_to_cpu(reth->length); in qib_uc_rcv() 420 u32 rkey = be32_to_cpu(reth->rkey); in qib_uc_rcv() 421 u64 vaddr = be64_to_cpu(reth->vaddr); in qib_uc_rcv()
|
D | qib_rc.c | 347 ohdr->u.rc.reth.vaddr = in qib_make_rc_req() 349 ohdr->u.rc.reth.rkey = in qib_make_rc_req() 351 ohdr->u.rc.reth.length = cpu_to_be32(len); in qib_make_rc_req() 390 ohdr->u.rc.reth.vaddr = in qib_make_rc_req() 392 ohdr->u.rc.reth.rkey = in qib_make_rc_req() 394 ohdr->u.rc.reth.length = cpu_to_be32(len); in qib_make_rc_req() 396 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); in qib_make_rc_req() 552 ohdr->u.rc.reth.vaddr = in qib_make_rc_req() 554 ohdr->u.rc.reth.rkey = in qib_make_rc_req() 556 ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len); in qib_make_rc_req() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | trace.c | 313 get_ib_reth_vaddr(&eh->rc.reth), in parse_everbs_hdrs() 314 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs() 315 be32_to_cpu(eh->rc.reth.length), in parse_everbs_hdrs() 325 get_ib_reth_vaddr(&eh->rc.reth), in parse_everbs_hdrs() 326 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs() 327 be32_to_cpu(eh->rc.reth.length)); in parse_everbs_hdrs() 342 ib_u64_get(&eh->tid_rdma.w_req.reth.vaddr), in parse_everbs_hdrs() 343 be32_to_cpu(eh->tid_rdma.w_req.reth.rkey), in parse_everbs_hdrs() 344 be32_to_cpu(eh->tid_rdma.w_req.reth.length), in parse_everbs_hdrs() 381 ib_u64_get(&eh->tid_rdma.r_req.reth.vaddr), in parse_everbs_hdrs() [all …]
|
D | uc.c | 185 ohdr->u.rc.reth.vaddr = in hfi1_make_uc_req() 187 ohdr->u.rc.reth.rkey = in hfi1_make_uc_req() 189 ohdr->u.rc.reth.length = cpu_to_be32(len); in hfi1_make_uc_req() 318 struct ib_reth *reth; in hfi1_uc_rcv() local 490 reth = &ohdr->u.rc.reth; in hfi1_uc_rcv() 491 qp->r_len = be32_to_cpu(reth->length); in hfi1_uc_rcv() 495 u32 rkey = be32_to_cpu(reth->rkey); in hfi1_uc_rcv() 496 u64 vaddr = be64_to_cpu(reth->vaddr); in hfi1_uc_rcv()
|
D | rc.c | 637 &ohdr->u.rc.reth); in hfi1_make_rc_req() 638 ohdr->u.rc.reth.rkey = in hfi1_make_rc_req() 640 ohdr->u.rc.reth.length = cpu_to_be32(len); in hfi1_make_rc_req() 785 &ohdr->u.rc.reth); in hfi1_make_rc_req() 786 ohdr->u.rc.reth.rkey = in hfi1_make_rc_req() 788 ohdr->u.rc.reth.length = cpu_to_be32(len); in hfi1_make_rc_req() 790 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); in hfi1_make_rc_req() 1035 &ohdr->u.rc.reth); in hfi1_make_rc_req() 1036 ohdr->u.rc.reth.rkey = in hfi1_make_rc_req() 1038 ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len); in hfi1_make_rc_req() [all …]
|
D | tid_rdma.c | 1741 rreq->reth.vaddr = cpu_to_be64(wqe->rdma_wr.remote_addr + in hfi1_build_tid_rdma_read_packet() 1743 rreq->reth.rkey = cpu_to_be32(wqe->rdma_wr.rkey); in hfi1_build_tid_rdma_read_packet() 1744 rreq->reth.length = cpu_to_be32(*len); in hfi1_build_tid_rdma_read_packet() 2017 struct ib_reth *reth; in tid_rdma_rcv_error() local 2024 reth = &ohdr->u.tid_rdma.r_req.reth; in tid_rdma_rcv_error() 2029 len = be32_to_cpu(reth->length); in tid_rdma_rcv_error() 2035 rkey = be32_to_cpu(reth->rkey); in tid_rdma_rcv_error() 2036 vaddr = get_ib_reth_vaddr(reth); in tid_rdma_rcv_error() 2229 struct ib_reth *reth; in hfi1_rc_rcv_tid_rdma_read_req() local 2252 reth = &ohdr->u.tid_rdma.r_req.reth; in hfi1_rc_rcv_tid_rdma_read_req() [all …]
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_hdrs.h | 69 struct ib_reth reth; member 120 static inline u64 get_ib_reth_vaddr(struct ib_reth *reth) in get_ib_reth_vaddr() argument 122 return ib_u64_get(&reth->vaddr); in get_ib_reth_vaddr() 125 static inline void put_ib_reth_vaddr(u64 val, struct ib_reth *reth) in put_ib_reth_vaddr() argument 127 ib_u64_put(val, &reth->vaddr); in put_ib_reth_vaddr()
|
D | tid_rdma_defs.h | 15 struct ib_reth reth; member 33 struct ib_reth reth; member
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_hdr.h | 535 struct rxe_reth *reth = arg; in __reth_va() local 537 return be64_to_cpu(reth->va); in __reth_va() 542 struct rxe_reth *reth = arg; in __reth_set_va() local 544 reth->va = cpu_to_be64(va); in __reth_set_va() 549 struct rxe_reth *reth = arg; in __reth_rkey() local 551 return be32_to_cpu(reth->rkey); in __reth_rkey() 556 struct rxe_reth *reth = arg; in __reth_set_rkey() local 558 reth->rkey = cpu_to_be32(rkey); in __reth_set_rkey() 563 struct rxe_reth *reth = arg; in __reth_len() local 565 return be32_to_cpu(reth->len); in __reth_len() [all …]
|