Home
last modified time | relevance | path

Searched refs:ibwr (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_verbs.c239 static int post_one_recv(struct rxe_rq *rq, const struct ib_recv_wr *ibwr) in post_one_recv() argument
245 int num_sge = ibwr->num_sge; in post_one_recv()
261 length += ibwr->sg_list[i].length; in post_one_recv()
264 recv_wqe->wr_id = ibwr->wr_id; in post_one_recv()
266 memcpy(recv_wqe->dma.sge, ibwr->sg_list, in post_one_recv()
497 static int validate_send_wr(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in validate_send_wr() argument
500 int num_sge = ibwr->num_sge; in validate_send_wr()
510 if (atomic_wr(ibwr)->remote_addr & 0x7) in validate_send_wr()
514 if (unlikely((ibwr->send_flags & IB_SEND_INLINE) && in validate_send_wr()
525 const struct ib_send_wr *ibwr) in init_send_wr() argument
[all …]
Drxe_req.c388 struct rxe_send_wr *ibwr = &wqe->wr; in init_req_packet() local
405 solicited = (ibwr->send_flags & IB_SEND_SOLICITED) && in init_req_packet()
411 qp_num = (pkt->mask & RXE_DETH_MASK) ? ibwr->wr.ud.remote_qpn : in init_req_packet()
424 reth_set_rkey(pkt, ibwr->wr.rdma.rkey); in init_req_packet()
430 immdt_set_imm(pkt, ibwr->ex.imm_data); in init_req_packet()
433 ieth_set_rkey(pkt, ibwr->ex.invalidate_rkey); in init_req_packet()
438 atmeth_set_swap_add(pkt, ibwr->wr.atomic.swap); in init_req_packet()
439 atmeth_set_comp(pkt, ibwr->wr.atomic.compare_add); in init_req_packet()
441 atmeth_set_swap_add(pkt, ibwr->wr.atomic.compare_add); in init_req_packet()
443 atmeth_set_rkey(pkt, ibwr->wr.atomic.rkey); in init_req_packet()
[all …]