Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_qp.c437 cpu_to_le64(atomic_wr(send_wr)->swap); in erdma_push_one_sqe()
439 cpu_to_le64(atomic_wr(send_wr)->compare_add); in erdma_push_one_sqe()
444 cpu_to_le64(atomic_wr(send_wr)->compare_add); in erdma_push_one_sqe()
449 sge->addr = cpu_to_le64(atomic_wr(send_wr)->remote_addr); in erdma_push_one_sqe()
450 sge->key = cpu_to_le32(atomic_wr(send_wr)->rkey); in erdma_push_one_sqe()
/openbmc/linux/include/uapi/rdma/
H A Drdma_user_rxe.h156 __DECLARE_FLEX_ARRAY(__u8, atomic_wr);
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_verbs.c701 if (atomic_wr(ibwr)->remote_addr & 0x7) { in validate_send_wr()
778 atomic_wr(ibwr)->remote_addr; in init_send_wr()
780 atomic_wr(ibwr)->compare_add; in init_send_wr()
781 wr->wr.atomic.swap = atomic_wr(ibwr)->swap; in init_send_wr()
782 wr->wr.atomic.rkey = atomic_wr(ibwr)->rkey; in init_send_wr()
844 wqe->iova = mask & WR_ATOMIC_MASK ? atomic_wr(ibwr)->remote_addr : in init_send_wqe()
H A Drxe_req.c535 memcpy(payload_addr(pkt), wqe->dma.atomic_wr, payload); in finish_packet()
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_qp.c805 atomic_wr(wr)->remote_addr; in pvrdma_post_send()
806 wqe_hdr->wr.atomic.rkey = atomic_wr(wr)->rkey; in pvrdma_post_send()
808 atomic_wr(wr)->compare_add; in pvrdma_post_send()
811 atomic_wr(wr)->swap; in pvrdma_post_send()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_rc.c421 if (wqe->atomic_wr.wr.opcode == IB_WR_ATOMIC_CMP_AND_SWP) { in qib_make_rc_req()
423 put_ib_ateth_swap(wqe->atomic_wr.swap, in qib_make_rc_req()
425 put_ib_ateth_compare(wqe->atomic_wr.compare_add, in qib_make_rc_req()
429 put_ib_ateth_swap(wqe->atomic_wr.compare_add, in qib_make_rc_req()
433 put_ib_ateth_vaddr(wqe->atomic_wr.remote_addr, in qib_make_rc_req()
436 wqe->atomic_wr.rkey); in qib_make_rc_req()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c1690 set_raddr_seg(wqe, atomic_wr(wr)->remote_addr, in mthca_tavor_post_send()
1691 atomic_wr(wr)->rkey); in mthca_tavor_post_send()
1694 set_atomic_seg(wqe, atomic_wr(wr)); in mthca_tavor_post_send()
2020 set_raddr_seg(wqe, atomic_wr(wr)->remote_addr, in mthca_arbel_post_send()
2021 atomic_wr(wr)->rkey); in mthca_arbel_post_send()
2024 set_atomic_seg(wqe, atomic_wr(wr)); in mthca_arbel_post_send()
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dqp.c3074 if (unlikely(wqe->atomic_wr.remote_addr & (sizeof(u64) - 1))) in rvt_ruc_loopback()
3077 wqe->atomic_wr.remote_addr, in rvt_ruc_loopback()
3078 wqe->atomic_wr.rkey, in rvt_ruc_loopback()
3083 sdata = wqe->atomic_wr.compare_add; in rvt_ruc_loopback()
3088 sdata, wqe->atomic_wr.swap); in rvt_ruc_loopback()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Drc.c850 put_ib_ateth_swap(wqe->atomic_wr.swap, in hfi1_make_rc_req()
852 put_ib_ateth_compare(wqe->atomic_wr.compare_add, in hfi1_make_rc_req()
856 put_ib_ateth_swap(wqe->atomic_wr.compare_add, in hfi1_make_rc_req()
860 put_ib_ateth_vaddr(wqe->atomic_wr.remote_addr, in hfi1_make_rc_req()
863 wqe->atomic_wr.rkey); in hfi1_make_rc_req()
/openbmc/linux/include/rdma/
H A Drdmavt_qp.h172 struct ib_atomic_wr atomic_wr; member
H A Dib_verbs.h1417 static inline const struct ib_atomic_wr *atomic_wr(const struct ib_send_wr *wr) in atomic_wr() function
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dqp.c3613 set_raddr_seg(wqe, atomic_wr(wr)->remote_addr, in _mlx4_ib_post_send()
3614 atomic_wr(wr)->rkey); in _mlx4_ib_post_send()
3617 set_atomic_seg(wqe, atomic_wr(wr)); in _mlx4_ib_post_send()
3626 set_raddr_seg(wqe, atomic_wr(wr)->remote_addr, in _mlx4_ib_post_send()
3627 atomic_wr(wr)->rkey); in _mlx4_ib_post_send()
3630 set_masked_atomic_seg(wqe, atomic_wr(wr)); in _mlx4_ib_post_send()
/openbmc/linux/drivers/infiniband/hw/qedr/
H A Dverbs.c3682 DMA_REGPAIR_LE(awqe2->remote_va, atomic_wr(wr)->remote_addr); in __qedr_post_send()
3683 awqe2->r_key = cpu_to_le32(atomic_wr(wr)->rkey); in __qedr_post_send()
3690 atomic_wr(wr)->compare_add); in __qedr_post_send()
3694 atomic_wr(wr)->swap); in __qedr_post_send()
3696 atomic_wr(wr)->compare_add); in __qedr_post_send()
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c2546 wqe->atomic.cmp_data = atomic_wr(wr)->compare_add; in bnxt_re_build_atomic_wqe()
2547 wqe->atomic.swap_data = atomic_wr(wr)->swap; in bnxt_re_build_atomic_wqe()
2551 wqe->atomic.cmp_data = atomic_wr(wr)->compare_add; in bnxt_re_build_atomic_wqe()
2556 wqe->atomic.remote_va = atomic_wr(wr)->remote_addr; in bnxt_re_build_atomic_wqe()
2557 wqe->atomic.r_key = atomic_wr(wr)->rkey; in bnxt_re_build_atomic_wqe()
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c179 aseg->fetchadd_swap_data = cpu_to_le64(atomic_wr(wr)->swap); in set_atomic_seg()
180 aseg->cmp_data = cpu_to_le64(atomic_wr(wr)->compare_add); in set_atomic_seg()
183 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()