| /linux/drivers/infiniband/sw/rxe/ |
| A D | rxe_loc.h | 52 void rxe_drop_all_mcast_groups(struct rxe_qp *qp); 88 int rxe_invalidate_mr(struct rxe_qp *qp, u32 rkey); 97 int rxe_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe); 98 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey); 122 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, 130 void rxe_qp_error(struct rxe_qp *qp); 132 void rxe_qp_destroy(struct rxe_qp *qp); 136 static inline int qp_num(struct rxe_qp *qp) in qp_num() 141 static inline enum ib_qp_type qp_type(struct rxe_qp *qp) in qp_type() 146 static inline enum ib_qp_state qp_state(struct rxe_qp *qp) in qp_state() [all …]
|
| A D | rxe_req.c | 17 static inline void retry_first_write_send(struct rxe_qp *qp, in retry_first_write_send() 41 static void req_retry(struct rxe_qp *qp) in req_retry() 104 struct rxe_qp *qp = from_timer(qp, t, rnr_nak_timer); in rnr_nak_timer() 110 static struct rxe_send_wqe *req_next_wqe(struct rxe_qp *qp) in req_next_wqe() 353 static inline int get_mtu(struct rxe_qp *qp) in get_mtu() 363 static struct sk_buff *init_req_packet(struct rxe_qp *qp, in init_req_packet() 491 static void update_wqe_state(struct rxe_qp *qp, in update_wqe_state() 503 static void update_wqe_psn(struct rxe_qp *qp, in update_wqe_psn() 527 struct rxe_qp *qp, in save_state() 538 struct rxe_qp *qp, in rollback_state() [all …]
|
| A D | rxe_comp.c | 115 struct rxe_qp *qp = from_timer(qp, t, retrans_timer); in retransmit_timer() 123 void rxe_comp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_comp_queue_pkt() 136 static inline enum comp_state get_wqe(struct rxe_qp *qp, in get_wqe() 164 static inline void reset_retry_counters(struct rxe_qp *qp) in reset_retry_counters() 171 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn() 210 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack() 341 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read() 361 static inline enum comp_state do_atomic(struct rxe_qp *qp, in do_atomic() 457 static inline enum comp_state complete_ack(struct rxe_qp *qp, in complete_ack() 549 struct rxe_qp *qp = pkt->qp; in free_pkt() [all …]
|
| A D | rxe_resp.c | 95 static inline enum resp_states get_req(struct rxe_qp *qp, in get_req() 120 static enum resp_states check_psn(struct rxe_qp *qp, in check_psn() 164 static enum resp_states check_op_seq(struct rxe_qp *qp, in check_op_seq() 292 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe() 388 static enum resp_states check_length(struct rxe_qp *qp, in check_length() 403 static enum resp_states check_rkey(struct rxe_qp *qp, in check_rkey() 647 static enum resp_states read_reply(struct rxe_qp *qp, in read_reply() 834 static enum resp_states do_complete(struct rxe_qp *qp, in do_complete() 996 static enum resp_states acknowledge(struct rxe_qp *qp, in acknowledge() 1012 static enum resp_states cleanup(struct rxe_qp *qp, in cleanup() [all …]
|
| A D | rxe_qp.c | 121 static void free_rd_atomic_resources(struct rxe_qp *qp) in free_rd_atomic_resources() 147 static void cleanup_rd_atomic_resources(struct rxe_qp *qp) in cleanup_rd_atomic_resources() 160 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc() 200 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req() 272 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp() 407 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr() 493 static void rxe_qp_reset(struct rxe_qp *qp) in rxe_qp_reset() 550 static void rxe_qp_drain(struct rxe_qp *qp) in rxe_qp_drain() 565 void rxe_qp_error(struct rxe_qp *qp) in rxe_qp_error() 775 void rxe_qp_destroy(struct rxe_qp *qp) in rxe_qp_destroy() [all …]
|
| A D | rxe_mw.c | 43 struct rxe_qp *qp = mw->qp; in rxe_do_dealloc_mw() 71 static int rxe_check_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in rxe_check_bind_mw() 163 static void rxe_do_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in rxe_do_bind_mw() 192 int rxe_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in rxe_bind_mw() 246 static int rxe_check_invalidate_mw(struct rxe_qp *qp, struct rxe_mw *mw) in rxe_check_invalidate_mw() 260 struct rxe_qp *qp; in rxe_do_invalidate_mw() 280 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey) in rxe_invalidate_mw() 313 struct rxe_mw *rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey) in rxe_lookup_mw()
|
| A D | rxe_verbs.h | 210 struct rxe_qp { struct 348 struct rxe_qp *qp; /* Type 2 only */ 371 struct rxe_qp *qp; 450 static inline struct rxe_qp *to_rqp(struct ib_qp *qp) in to_rqp() 452 return qp ? container_of(qp, struct rxe_qp, ibqp) : NULL; in to_rqp()
|
| A D | rxe_verbs.c | 412 struct rxe_qp *qp = to_rqp(ibqp); in rxe_create_qp() 459 struct rxe_qp *qp = to_rqp(ibqp); in rxe_modify_qp() 481 struct rxe_qp *qp = to_rqp(ibqp); in rxe_query_qp() 491 struct rxe_qp *qp = to_rqp(ibqp); in rxe_destroy_qp() 526 static void init_send_wr(struct rxe_qp *qp, struct rxe_send_wr *wr, in init_send_wr() 631 static int post_one_send(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in post_one_send() 712 struct rxe_qp *qp = to_rqp(ibqp); in rxe_post_send() 736 struct rxe_qp *qp = to_rqp(ibqp); in rxe_post_recv() 1006 struct rxe_qp *qp = to_rqp(ibqp); in rxe_attach_mcast() 1023 struct rxe_qp *qp = to_rqp(ibqp); in rxe_detach_mcast() [all …]
|
| A D | rxe_recv.c | 14 struct rxe_qp *qp) in check_type_state() 80 u32 qpn, struct rxe_qp *qp) in check_keys() 111 struct rxe_qp *qp) in check_addr() 174 struct rxe_qp *qp = NULL; in hdr_check() 238 struct rxe_qp *qp; in rxe_rcv_mcast_pkt()
|
| A D | rxe_mcast.c | 67 int rxe_mcast_add_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_mcast_add_grp_elem() 111 int rxe_mcast_drop_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_mcast_drop_grp_elem() 146 void rxe_drop_all_mcast_groups(struct rxe_qp *qp) in rxe_drop_all_mcast_groups()
|
| A D | rxe_net.c | 112 struct rxe_qp *qp, in rxe_find_route() 298 struct rxe_qp *qp = pkt->qp; in prepare4() 324 struct rxe_qp *qp = pkt->qp; in prepare6() 365 struct rxe_qp *qp = sk->sk_user_data; in rxe_skb_tx_dtor() 427 int rxe_xmit_packet(struct rxe_qp *qp, struct rxe_pkt_info *pkt, in rxe_xmit_packet()
|
| A D | Makefile | 15 rxe_qp.o \
|
| A D | rxe_pool.c | 51 .size = sizeof(struct rxe_qp), 52 .elem_offset = offsetof(struct rxe_qp, pelem),
|
| A D | rxe_mr.c | 579 int rxe_invalidate_mr(struct rxe_qp *qp, u32 rkey) in rxe_invalidate_mr() 628 int rxe_reg_fast_mr(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in rxe_reg_fast_mr()
|
| A D | rxe_hdr.h | 16 struct rxe_qp *qp; /* qp that owns packet */
|