| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_loc.h | 12 int rxe_av_chk_attr(struct rxe_qp *qp, struct rdma_ah_attr *attr); 80 int rxe_invalidate_mr(struct rxe_qp *qp, u32 key); 81 int rxe_reg_fast_mr(struct rxe_qp *qp, struct rxe_send_wqe *wqe); 90 int rxe_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe); 91 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey); 92 struct rxe_mw *rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey); 100 int rxe_xmit_packet(struct rxe_qp *qp, struct rxe_pkt_info *pkt, 106 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, 110 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init); 111 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, [all …]
|
| H A D | rxe_comp.c | 117 struct rxe_qp *qp = timer_container_of(qp, t, retrans_timer); in retransmit_timer() 133 void rxe_comp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_comp_queue_pkt() 140 static inline enum comp_state get_wqe(struct rxe_qp *qp, in get_wqe() 168 static inline void reset_retry_counters(struct rxe_qp *qp) in reset_retry_counters() 175 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn() 218 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack() 357 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read() 377 static inline enum comp_state do_atomic(struct rxe_qp *qp, in do_atomic() 396 static void make_send_cqe(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in make_send_cqe() 443 static void do_complete(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in do_complete() [all …]
|
| H A D | rxe_req.c | 13 static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, 16 static inline void retry_first_write_send(struct rxe_qp *qp, in retry_first_write_send() 37 static void req_retry(struct rxe_qp *qp) in req_retry() 100 struct rxe_qp *qp = timer_container_of(qp, t, rnr_nak_timer); in rnr_nak_timer() 118 static void req_check_sq_drain_done(struct rxe_qp *qp) in req_check_sq_drain_done() 164 static struct rxe_send_wqe *__req_next_wqe(struct rxe_qp *qp) in __req_next_wqe() 177 static struct rxe_send_wqe *req_next_wqe(struct rxe_qp *qp) in req_next_wqe() 208 static int rxe_wqe_is_fenced(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in rxe_wqe_is_fenced() 226 static int next_opcode_rc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_rc() 305 static int next_opcode_uc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_uc() [all …]
|
| H A D | rxe_resp.c | 50 void rxe_resp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_resp_queue_pkt() 56 static inline enum resp_states get_req(struct rxe_qp *qp, in get_req() 70 static enum resp_states check_psn(struct rxe_qp *qp, in check_psn() 114 static enum resp_states check_op_seq(struct rxe_qp *qp, in check_op_seq() 204 static bool check_qp_attr_access(struct rxe_qp *qp, in check_qp_attr_access() 228 static enum resp_states check_op_valid(struct rxe_qp *qp, in check_op_valid() 259 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe() 310 static enum resp_states check_resource(struct rxe_qp *qp, in check_resource() 338 static enum resp_states rxe_resp_check_length(struct rxe_qp *qp, in rxe_resp_check_length() 404 static void qp_resp_from_reth(struct rxe_qp *qp, struct rxe_pkt_info *pkt) in qp_resp_from_reth() [all …]
|
| H A D | rxe_task.h | 28 struct rxe_qp *qp; 29 int (*func)(struct rxe_qp *qp); 44 int rxe_init_task(struct rxe_task *task, struct rxe_qp *qp, 45 int (*func)(struct rxe_qp *));
|
| H A D | rxe_qp.c | 151 static int alloc_rd_atomic_resources(struct rxe_qp *qp, unsigned int n) in alloc_rd_atomic_resources() 163 static void free_rd_atomic_resources(struct rxe_qp *qp) in free_rd_atomic_resources() 183 static void cleanup_rd_atomic_resources(struct rxe_qp *qp) in cleanup_rd_atomic_resources() 196 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc() 234 static int rxe_init_sq(struct rxe_qp *qp, struct ib_qp_init_attr *init, in rxe_init_sq() 283 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req() 327 static int rxe_init_rq(struct rxe_qp *qp, struct ib_qp_init_attr *init, in rxe_init_rq() 372 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp() 397 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init() 462 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init) in rxe_qp_to_init() [all …]
|
| H A D | rxe_mw.c | 50 static int rxe_check_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in rxe_check_bind_mw() 135 static void rxe_do_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in rxe_do_bind_mw() 164 int rxe_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in rxe_bind_mw() 224 static int rxe_check_invalidate_mw(struct rxe_qp *qp, struct rxe_mw *mw) in rxe_check_invalidate_mw() 238 struct rxe_qp *qp; in rxe_do_invalidate_mw() 258 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey) in rxe_invalidate_mw() 290 struct rxe_mw *rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey) in rxe_lookup_mw() 328 struct rxe_qp *qp = mw->qp; in rxe_mw_cleanup()
|
| H A D | rxe_recv.c | 14 struct rxe_qp *qp) in check_type_state() 76 u32 qpn, struct rxe_qp *qp) in check_keys() 101 struct rxe_qp *qp) in check_addr() 139 struct rxe_qp *qp = NULL; in hdr_check() 195 struct rxe_qp *qp; in rxe_rcv_mcast_pkt()
|
| H A D | rxe_mcast.c | 312 static int __rxe_init_mca(struct rxe_qp *qp, struct rxe_mcg *mcg, in __rxe_init_mca() 349 static int rxe_attach_mcg(struct rxe_mcg *mcg, struct rxe_qp *qp) in rxe_attach_mcg() 414 static int rxe_detach_mcg(struct rxe_mcg *mcg, struct rxe_qp *qp) in rxe_detach_mcg() 455 struct rxe_qp *qp = to_rqp(ibqp); in rxe_attach_mcast() 485 struct rxe_qp *qp = to_rqp(ibqp); in rxe_detach_mcast()
|
| H A D | rxe_verbs.h | 237 struct rxe_qp { struct 383 struct rxe_qp *qp; /* Type 2 only */ 404 struct rxe_qp *qp; 488 static inline struct rxe_qp *to_rqp(struct ib_qp *qp) in to_rqp() 490 return qp ? container_of(qp, struct rxe_qp, ibqp) : NULL; in to_rqp()
|
| H A D | rxe_net.c | 103 static struct dst_entry *rxe_find_route4(struct rxe_qp *qp, in rxe_find_route4() 127 static struct dst_entry *rxe_find_route6(struct rxe_qp *qp, in rxe_find_route6() 162 static struct dst_entry *rxe_find_route6(struct rxe_qp *qp, in rxe_find_route6() 173 struct rxe_qp *qp, in rxe_find_route() 363 struct rxe_qp *qp = pkt->qp; in prepare4() 389 struct rxe_qp *qp = pkt->qp; in prepare6() 429 struct rxe_qp *qp = skb->sk->sk_user_data; in rxe_skb_tx_dtor() 493 int rxe_xmit_packet(struct rxe_qp *qp, struct rxe_pkt_info *pkt, in rxe_xmit_packet()
|
| H A D | rxe_verbs.c | 553 struct rxe_qp *qp = to_rqp(ibqp); in rxe_create_qp() 616 struct rxe_qp *qp = to_rqp(ibqp); in rxe_modify_qp() 653 struct rxe_qp *qp = to_rqp(ibqp); in rxe_query_qp() 663 struct rxe_qp *qp = to_rqp(ibqp); in rxe_destroy_qp() 686 static int validate_send_wr(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in validate_send_wr() 747 static int init_send_wr(struct rxe_qp *qp, struct rxe_send_wr *wr, in init_send_wr() 841 static int init_send_wqe(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in init_send_wqe() 879 static int post_one_send(struct rxe_qp *qp, const struct ib_send_wr *ibwr) in post_one_send() 906 static int rxe_post_send_kernel(struct rxe_qp *qp, in rxe_post_send_kernel() 937 struct rxe_qp *qp = to_rqp(ibqp); in rxe_post_send() [all …]
|
| H A D | rxe_av.c | 22 struct rxe_qp *qp; in chk_attr() 63 int rxe_av_chk_attr(struct rxe_qp *qp, struct rdma_ah_attr *attr) in rxe_av_chk_attr()
|
| H A D | rxe_task.c | 194 int rxe_init_task(struct rxe_task *task, struct rxe_qp *qp, in rxe_init_task() 195 int (*func)(struct rxe_qp *)) in rxe_init_task() argument
|
| H A D | rxe_pool.c | 56 .size = sizeof(struct rxe_qp), 57 .elem_offset = offsetof(struct rxe_qp, elem),
|
| H A D | Makefile | 15 rxe_qp.o \
|
| H A D | rxe_mr.c | 723 int rxe_invalidate_mr(struct rxe_qp *qp, u32 key) in rxe_invalidate_mr() 773 int rxe_reg_fast_mr(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in rxe_reg_fast_mr()
|
| H A D | rxe_hdr.h | 16 struct rxe_qp *qp; /* qp that owns packet */
|