Searched refs:reth (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 131 ohdr->u.rc.reth.vaddr = in qib_make_uc_req() 133 ohdr->u.rc.reth.rkey = in qib_make_uc_req() 135 ohdr->u.rc.reth.length = cpu_to_be32(len); in qib_make_uc_req() 248 struct ib_reth *reth; in qib_uc_rcv() local 415 reth = &ohdr->u.rc.reth; in qib_uc_rcv() 416 hdrsize += sizeof(*reth); in qib_uc_rcv() 417 qp->r_len = be32_to_cpu(reth->length); in qib_uc_rcv() 421 u32 rkey = be32_to_cpu(reth->rkey); in qib_uc_rcv() 422 u64 vaddr = be64_to_cpu(reth->vaddr); in qib_uc_rcv()
|
D | qib_rc.c | 348 ohdr->u.rc.reth.vaddr = in qib_make_rc_req() 350 ohdr->u.rc.reth.rkey = in qib_make_rc_req() 352 ohdr->u.rc.reth.length = cpu_to_be32(len); in qib_make_rc_req() 391 ohdr->u.rc.reth.vaddr = in qib_make_rc_req() 393 ohdr->u.rc.reth.rkey = in qib_make_rc_req() 395 ohdr->u.rc.reth.length = cpu_to_be32(len); in qib_make_rc_req() 397 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); in qib_make_rc_req() 553 ohdr->u.rc.reth.vaddr = in qib_make_rc_req() 555 ohdr->u.rc.reth.rkey = in qib_make_rc_req() 557 ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len); in qib_make_rc_req() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | trace.c | 276 get_ib_reth_vaddr(&eh->rc.reth), in parse_everbs_hdrs() 277 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs() 278 be32_to_cpu(eh->rc.reth.length), in parse_everbs_hdrs() 288 get_ib_reth_vaddr(&eh->rc.reth), in parse_everbs_hdrs() 289 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs() 290 be32_to_cpu(eh->rc.reth.length)); in parse_everbs_hdrs() 305 ib_u64_get(&eh->tid_rdma.w_req.reth.vaddr), in parse_everbs_hdrs() 306 be32_to_cpu(eh->tid_rdma.w_req.reth.rkey), in parse_everbs_hdrs() 307 be32_to_cpu(eh->tid_rdma.w_req.reth.length), in parse_everbs_hdrs() 344 ib_u64_get(&eh->tid_rdma.r_req.reth.vaddr), in parse_everbs_hdrs() [all …]
|
D | uc.c | 144 ohdr->u.rc.reth.vaddr = in hfi1_make_uc_req() 146 ohdr->u.rc.reth.rkey = in hfi1_make_uc_req() 148 ohdr->u.rc.reth.length = cpu_to_be32(len); in hfi1_make_uc_req() 272 struct ib_reth *reth; in hfi1_uc_rcv() local 444 reth = &ohdr->u.rc.reth; in hfi1_uc_rcv() 445 qp->r_len = be32_to_cpu(reth->length); in hfi1_uc_rcv() 449 u32 rkey = be32_to_cpu(reth->rkey); in hfi1_uc_rcv() 450 u64 vaddr = be64_to_cpu(reth->vaddr); in hfi1_uc_rcv()
|
D | rc.c | 596 &ohdr->u.rc.reth); in hfi1_make_rc_req() 597 ohdr->u.rc.reth.rkey = in hfi1_make_rc_req() 599 ohdr->u.rc.reth.length = cpu_to_be32(len); in hfi1_make_rc_req() 744 &ohdr->u.rc.reth); in hfi1_make_rc_req() 745 ohdr->u.rc.reth.rkey = in hfi1_make_rc_req() 747 ohdr->u.rc.reth.length = cpu_to_be32(len); in hfi1_make_rc_req() 749 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); in hfi1_make_rc_req() 994 &ohdr->u.rc.reth); in hfi1_make_rc_req() 995 ohdr->u.rc.reth.rkey = in hfi1_make_rc_req() 997 ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len); in hfi1_make_rc_req() [all …]
|
D | tid_rdma.c | 1748 rreq->reth.vaddr = cpu_to_be64(wqe->rdma_wr.remote_addr + in hfi1_build_tid_rdma_read_packet() 1750 rreq->reth.rkey = cpu_to_be32(wqe->rdma_wr.rkey); in hfi1_build_tid_rdma_read_packet() 1751 rreq->reth.length = cpu_to_be32(*len); in hfi1_build_tid_rdma_read_packet() 2024 struct ib_reth *reth; in tid_rdma_rcv_error() local 2031 reth = &ohdr->u.tid_rdma.r_req.reth; in tid_rdma_rcv_error() 2036 len = be32_to_cpu(reth->length); in tid_rdma_rcv_error() 2042 rkey = be32_to_cpu(reth->rkey); in tid_rdma_rcv_error() 2043 vaddr = get_ib_reth_vaddr(reth); in tid_rdma_rcv_error() 2236 struct ib_reth *reth; in hfi1_rc_rcv_tid_rdma_read_req() local 2259 reth = &ohdr->u.tid_rdma.r_req.reth; in hfi1_rc_rcv_tid_rdma_read_req() [all …]
|
/linux-6.1.9/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
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_hdr.h | 534 struct rxe_reth *reth = arg; in __reth_va() local 536 return be64_to_cpu(reth->va); in __reth_va() 541 struct rxe_reth *reth = arg; in __reth_set_va() local 543 reth->va = cpu_to_be64(va); in __reth_set_va() 548 struct rxe_reth *reth = arg; in __reth_rkey() local 550 return be32_to_cpu(reth->rkey); in __reth_rkey() 555 struct rxe_reth *reth = arg; in __reth_set_rkey() local 557 reth->rkey = cpu_to_be32(rkey); in __reth_set_rkey() 562 struct rxe_reth *reth = arg; in __reth_len() local 564 return be32_to_cpu(reth->len); in __reth_len() [all …]
|