Home
last modified time | relevance | path

Searched refs:atomic_wr (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_verbs.c484 if (atomic_wr(ibwr)->remote_addr & 0x7) in validate_send_wr()
534 atomic_wr(ibwr)->remote_addr; in init_send_wr()
536 atomic_wr(ibwr)->compare_add; in init_send_wr()
537 wr->wr.atomic.swap = atomic_wr(ibwr)->swap; in init_send_wr()
538 wr->wr.atomic.rkey = atomic_wr(ibwr)->rkey; in init_send_wr()
588 wqe->iova = mask & WR_ATOMIC_MASK ? atomic_wr(ibwr)->remote_addr : in init_send_wqe()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c821 atomic_wr(wr)->remote_addr; in pvrdma_post_send()
822 wqe_hdr->wr.atomic.rkey = atomic_wr(wr)->rkey; in pvrdma_post_send()
824 atomic_wr(wr)->compare_add; in pvrdma_post_send()
827 atomic_wr(wr)->swap; in pvrdma_post_send()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_rc.c420 if (wqe->atomic_wr.wr.opcode == IB_WR_ATOMIC_CMP_AND_SWP) { in qib_make_rc_req()
422 put_ib_ateth_swap(wqe->atomic_wr.swap, in qib_make_rc_req()
424 put_ib_ateth_compare(wqe->atomic_wr.compare_add, in qib_make_rc_req()
428 put_ib_ateth_swap(wqe->atomic_wr.compare_add, in qib_make_rc_req()
432 put_ib_ateth_vaddr(wqe->atomic_wr.remote_addr, in qib_make_rc_req()
435 wqe->atomic_wr.rkey); in qib_make_rc_req()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_qp.c1687 set_raddr_seg(wqe, atomic_wr(wr)->remote_addr, in mthca_tavor_post_send()
1688 atomic_wr(wr)->rkey); in mthca_tavor_post_send()
1691 set_atomic_seg(wqe, atomic_wr(wr)); in mthca_tavor_post_send()
2017 set_raddr_seg(wqe, atomic_wr(wr)->remote_addr, in mthca_arbel_post_send()
2018 atomic_wr(wr)->rkey); in mthca_arbel_post_send()
2021 set_atomic_seg(wqe, atomic_wr(wr)); in mthca_arbel_post_send()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Drc.c891 put_ib_ateth_swap(wqe->atomic_wr.swap, in hfi1_make_rc_req()
893 put_ib_ateth_compare(wqe->atomic_wr.compare_add, in hfi1_make_rc_req()
897 put_ib_ateth_swap(wqe->atomic_wr.compare_add, in hfi1_make_rc_req()
901 put_ib_ateth_vaddr(wqe->atomic_wr.remote_addr, in hfi1_make_rc_req()
904 wqe->atomic_wr.rkey); in hfi1_make_rc_req()
/kernel/linux/linux-5.10/include/rdma/
Drdmavt_qp.h172 struct ib_atomic_wr atomic_wr; member
Dib_verbs.h1387 static inline const struct ib_atomic_wr *atomic_wr(const struct ib_send_wr *wr) in atomic_wr() function
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.c3128 wqe->atomic_wr.remote_addr, in rvt_ruc_loopback()
3129 wqe->atomic_wr.rkey, in rvt_ruc_loopback()
3134 sdata = wqe->atomic_wr.compare_add; in rvt_ruc_loopback()
3139 sdata, wqe->atomic_wr.swap); in rvt_ruc_loopback()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c3576 set_raddr_seg(wqe, atomic_wr(wr)->remote_addr, in _mlx4_ib_post_send()
3577 atomic_wr(wr)->rkey); in _mlx4_ib_post_send()
3580 set_atomic_seg(wqe, atomic_wr(wr)); in _mlx4_ib_post_send()
3589 set_raddr_seg(wqe, atomic_wr(wr)->remote_addr, in _mlx4_ib_post_send()
3590 atomic_wr(wr)->rkey); in _mlx4_ib_post_send()
3593 set_masked_atomic_seg(wqe, atomic_wr(wr)); in _mlx4_ib_post_send()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2422 wqe->atomic.cmp_data = atomic_wr(wr)->compare_add; in bnxt_re_build_atomic_wqe()
2423 wqe->atomic.swap_data = atomic_wr(wr)->swap; in bnxt_re_build_atomic_wqe()
2427 wqe->atomic.cmp_data = atomic_wr(wr)->compare_add; in bnxt_re_build_atomic_wqe()
2432 wqe->atomic.remote_va = atomic_wr(wr)->remote_addr; in bnxt_re_build_atomic_wqe()
2433 wqe->atomic.r_key = atomic_wr(wr)->rkey; in bnxt_re_build_atomic_wqe()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c3666 DMA_REGPAIR_LE(awqe2->remote_va, atomic_wr(wr)->remote_addr); in __qedr_post_send()
3667 awqe2->r_key = cpu_to_le32(atomic_wr(wr)->rkey); in __qedr_post_send()
3674 atomic_wr(wr)->compare_add); in __qedr_post_send()
3678 atomic_wr(wr)->swap); in __qedr_post_send()
3680 atomic_wr(wr)->compare_add); in __qedr_post_send()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c145 aseg->fetchadd_swap_data = cpu_to_le64(atomic_wr(wr)->swap); in set_atomic_seg()
146 aseg->cmp_data = cpu_to_le64(atomic_wr(wr)->compare_add); in set_atomic_seg()
149 cpu_to_le64(atomic_wr(wr)->compare_add); in set_atomic_seg()
537 rc_sq_wqe->rkey = cpu_to_le32(atomic_wr(wr)->rkey); in set_rc_opcode()
538 rc_sq_wqe->va = cpu_to_le64(atomic_wr(wr)->remote_addr); in set_rc_opcode()