Searched refs:reth (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dtrace.c69 #define RETH_PRN "reth vaddr 0x%.16llx rkey 0x%.8x dlen 0x%.8x"
101 /* reth + imm */ parse_everbs_hdrs()
106 (__be32 *)&eh->rc.reth.vaddr), parse_everbs_hdrs()
107 be32_to_cpu(eh->rc.reth.rkey), parse_everbs_hdrs()
108 be32_to_cpu(eh->rc.reth.length), parse_everbs_hdrs()
111 /* reth */ parse_everbs_hdrs()
119 (__be32 *)&eh->rc.reth.vaddr), parse_everbs_hdrs()
120 be32_to_cpu(eh->rc.reth.rkey), parse_everbs_hdrs()
121 be32_to_cpu(eh->rc.reth.length)); parse_everbs_hdrs()
H A Duc.c149 ohdr->u.rc.reth.vaddr = hfi1_make_uc_req()
151 ohdr->u.rc.reth.rkey = hfi1_make_uc_req()
153 ohdr->u.rc.reth.length = cpu_to_be32(len); hfi1_make_uc_req()
277 struct ib_reth *reth; hfi1_uc_rcv() local
481 reth = &ohdr->u.rc.reth;
482 qp->r_len = be32_to_cpu(reth->length);
486 u32 rkey = be32_to_cpu(reth->rkey);
487 u64 vaddr = be64_to_cpu(reth->vaddr);
H A Drc.c406 ohdr->u.rc.reth.vaddr = hfi1_make_rc_req()
408 ohdr->u.rc.reth.rkey = hfi1_make_rc_req()
410 ohdr->u.rc.reth.length = cpu_to_be32(len); hfi1_make_rc_req()
457 ohdr->u.rc.reth.vaddr = hfi1_make_rc_req()
459 ohdr->u.rc.reth.rkey = hfi1_make_rc_req()
461 ohdr->u.rc.reth.length = cpu_to_be32(len); hfi1_make_rc_req()
463 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); hfi1_make_rc_req()
631 ohdr->u.rc.reth.vaddr = hfi1_make_rc_req()
633 ohdr->u.rc.reth.rkey = hfi1_make_rc_req()
635 ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len); hfi1_make_rc_req()
637 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); hfi1_make_rc_req()
1709 struct ib_reth *reth; OP() local
1720 reth = &ohdr->u.rc.reth; OP()
1729 len = be32_to_cpu(reth->length); OP()
1737 u32 rkey = be32_to_cpu(reth->rkey); OP()
1738 u64 vaddr = be64_to_cpu(reth->vaddr); OP()
1954 struct ib_reth *reth; hfi1_rc_rcv() local
2150 reth = &ohdr->u.rc.reth; hfi1_rc_rcv()
2151 qp->r_len = be32_to_cpu(reth->length); hfi1_rc_rcv()
2155 u32 rkey = be32_to_cpu(reth->rkey); hfi1_rc_rcv()
2156 u64 vaddr = be64_to_cpu(reth->vaddr); hfi1_rc_rcv()
2207 reth = &ohdr->u.rc.reth; OP()
2208 len = be32_to_cpu(reth->length); OP()
2210 u32 rkey = be32_to_cpu(reth->rkey); OP()
2211 u64 vaddr = be64_to_cpu(reth->vaddr); OP()
H A Dverbs.h162 struct ib_reth reth; member in struct:ib_ehdrs::__anon10661
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_uc.c128 ohdr->u.rc.reth.vaddr = ipath_make_uc_req()
130 ohdr->u.rc.reth.rkey = ipath_make_uc_req()
132 ohdr->u.rc.reth.length = cpu_to_be32(len); ipath_make_uc_req()
250 struct ib_reth *reth; ipath_uc_rcv() local
431 reth = &ohdr->u.rc.reth;
433 reth = (struct ib_reth *)data;
434 data += sizeof(*reth);
436 hdrsize += sizeof(*reth);
437 qp->r_len = be32_to_cpu(reth->length);
440 u32 rkey = be32_to_cpu(reth->rkey);
441 u64 vaddr = be64_to_cpu(reth->vaddr);
H A Dipath_rc.c352 ohdr->u.rc.reth.vaddr = ipath_make_rc_req()
354 ohdr->u.rc.reth.rkey = ipath_make_rc_req()
356 ohdr->u.rc.reth.length = cpu_to_be32(len); ipath_make_rc_req()
403 ohdr->u.rc.reth.vaddr = ipath_make_rc_req()
405 ohdr->u.rc.reth.rkey = ipath_make_rc_req()
407 ohdr->u.rc.reth.length = cpu_to_be32(len); ipath_make_rc_req()
409 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); ipath_make_rc_req()
569 ohdr->u.rc.reth.vaddr = ipath_make_rc_req()
571 ohdr->u.rc.reth.rkey = ipath_make_rc_req()
573 ohdr->u.rc.reth.length = cpu_to_be32(qp->s_len); ipath_make_rc_req()
575 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); ipath_make_rc_req()
1411 struct ib_reth *reth; OP() local
1424 reth = &ohdr->u.rc.reth; OP()
1426 reth = (struct ib_reth *)data; OP()
1427 data += sizeof(*reth); OP()
1438 len = be32_to_cpu(reth->length); OP()
1442 u32 rkey = be32_to_cpu(reth->rkey); OP()
1443 u64 vaddr = be64_to_cpu(reth->vaddr); OP()
1581 struct ib_reth *reth; ipath_rc_rcv() local
1759 reth = &ohdr->u.rc.reth;
1761 reth = (struct ib_reth *)data;
1762 data += sizeof(*reth);
1764 hdrsize += sizeof(*reth);
1765 qp->r_len = be32_to_cpu(reth->length);
1768 u32 rkey = be32_to_cpu(reth->rkey);
1769 u64 vaddr = be64_to_cpu(reth->vaddr);
1816 reth = &ohdr->u.rc.reth; OP()
1818 reth = (struct ib_reth *)data; OP()
1819 data += sizeof(*reth); OP()
1821 len = be32_to_cpu(reth->length); OP()
1823 u32 rkey = be32_to_cpu(reth->rkey); OP()
1824 u64 vaddr = be64_to_cpu(reth->vaddr); OP()
H A Dipath_verbs.h116 struct ib_reth reth; member in struct:ipath_other_headers::__anon10672::__anon10674
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_uc.c131 ohdr->u.rc.reth.vaddr = qib_make_uc_req()
133 ohdr->u.rc.reth.rkey = qib_make_uc_req()
135 ohdr->u.rc.reth.length = cpu_to_be32(len); qib_make_uc_req()
252 struct ib_reth *reth; qib_uc_rcv() local
430 reth = &ohdr->u.rc.reth;
431 hdrsize += sizeof(*reth);
432 qp->r_len = be32_to_cpu(reth->length);
436 u32 rkey = be32_to_cpu(reth->rkey);
437 u64 vaddr = be64_to_cpu(reth->vaddr);
H A Dqib_rc.c377 ohdr->u.rc.reth.vaddr = qib_make_rc_req()
379 ohdr->u.rc.reth.rkey = qib_make_rc_req()
381 ohdr->u.rc.reth.length = cpu_to_be32(len); qib_make_rc_req()
429 ohdr->u.rc.reth.vaddr = qib_make_rc_req()
431 ohdr->u.rc.reth.rkey = qib_make_rc_req()
433 ohdr->u.rc.reth.length = cpu_to_be32(len); qib_make_rc_req()
435 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); qib_make_rc_req()
601 ohdr->u.rc.reth.vaddr = qib_make_rc_req()
603 ohdr->u.rc.reth.rkey = qib_make_rc_req()
605 ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len); qib_make_rc_req()
607 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); qib_make_rc_req()
1710 struct ib_reth *reth; OP() local
1721 reth = &ohdr->u.rc.reth; OP()
1731 len = be32_to_cpu(reth->length); OP()
1739 u32 rkey = be32_to_cpu(reth->rkey); OP()
1740 u64 vaddr = be64_to_cpu(reth->vaddr); OP()
1876 struct ib_reth *reth; qib_rc_rcv() local
2061 reth = &ohdr->u.rc.reth; qib_rc_rcv()
2062 hdrsize += sizeof(*reth); qib_rc_rcv()
2063 qp->r_len = be32_to_cpu(reth->length); qib_rc_rcv()
2067 u32 rkey = be32_to_cpu(reth->rkey); qib_rc_rcv()
2068 u64 vaddr = be64_to_cpu(reth->vaddr); qib_rc_rcv()
2120 reth = &ohdr->u.rc.reth; OP()
2121 len = be32_to_cpu(reth->length); OP()
2123 u32 rkey = be32_to_cpu(reth->rkey); OP()
2124 u64 vaddr = be64_to_cpu(reth->vaddr); OP()
H A Dqib_verbs.h170 struct ib_reth reth; member in struct:qib_other_headers::__anon5380::__anon5382

Completed in 267 milliseconds