Home
last modified time | relevance | path

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

/drivers/infiniband/sw/rxe/
Drxe_verbs.c245 static int post_one_recv(struct rxe_rq *rq, const struct ib_recv_wr *ibwr) in post_one_recv() argument
251 int num_sge = ibwr->num_sge; in post_one_recv()
265 length += ibwr->sg_list[i].length; in post_one_recv()
268 recv_wqe->wr_id = ibwr->wr_id; in post_one_recv()
271 memcpy(recv_wqe->dma.sge, ibwr->sg_list, in post_one_recv()
503 static int validate_send_wr(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in validate_send_wr() argument
506 int num_sge = ibwr->num_sge; in validate_send_wr()
516 if (atomic_wr(ibwr)->remote_addr & 0x7) in validate_send_wr()
520 if (unlikely((ibwr->send_flags & IB_SEND_INLINE) && in validate_send_wr()
531 const struct ib_send_wr *ibwr) in init_send_wr() argument
[all …]
Drxe_req.c386 struct rxe_send_wr *ibwr = &wqe->wr; in init_req_packet() local
416 solicited = (ibwr->send_flags & IB_SEND_SOLICITED) && in init_req_packet()
423 port->pkey_tbl[ibwr->wr.ud.pkey_index] : in init_req_packet()
426 qp_num = (pkt->mask & RXE_DETH_MASK) ? ibwr->wr.ud.remote_qpn : in init_req_packet()
439 reth_set_rkey(pkt, ibwr->wr.rdma.rkey); in init_req_packet()
445 immdt_set_imm(pkt, ibwr->ex.imm_data); in init_req_packet()
448 ieth_set_rkey(pkt, ibwr->ex.invalidate_rkey); in init_req_packet()
454 atmeth_set_swap_add(pkt, ibwr->wr.atomic.swap); in init_req_packet()
455 atmeth_set_comp(pkt, ibwr->wr.atomic.compare_add); in init_req_packet()
457 atmeth_set_swap_add(pkt, ibwr->wr.atomic.compare_add); in init_req_packet()
[all …]