/Linux-v5.15/drivers/infiniband/sw/rxe/ |
D | rxe_loc.h | 46 int rxe_mcast_add_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, 49 int rxe_mcast_drop_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, 52 void rxe_drop_all_mcast_groups(struct rxe_qp *qp); 88 int rxe_invalidate_mr(struct rxe_qp *qp, u32 rkey); 95 int rxe_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe); 96 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey); 97 struct rxe_mw *rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey); 104 int rxe_xmit_packet(struct rxe_qp *qp, struct rxe_pkt_info *pkt, 113 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, 118 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init); [all …]
|
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() 167 static inline void reset_retry_counters(struct rxe_qp *qp) in reset_retry_counters() 174 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn() 213 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack() 344 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read() 364 static inline enum comp_state do_atomic(struct rxe_qp *qp, in do_atomic() 383 static void make_send_cqe(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in make_send_cqe() 421 static void do_complete(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in do_complete() [all …]
|
D | rxe_req.c | 14 static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, 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() 109 struct rxe_qp *qp = from_timer(qp, t, rnr_nak_timer); in rnr_nak_timer() 115 static struct rxe_send_wqe *req_next_wqe(struct rxe_qp *qp) in req_next_wqe() 190 static int next_opcode_rc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_rc() 262 static int next_opcode_uc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_uc() 313 static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in next_opcode() 344 static inline int check_init_depth(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in check_init_depth() 364 static inline int get_mtu(struct rxe_qp *qp) in get_mtu() [all …]
|
D | rxe_resp.c | 82 void rxe_resp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_resp_queue_pkt() 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() 254 static enum resp_states check_op_valid(struct rxe_qp *qp, in check_op_valid() 292 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe() 350 static enum resp_states check_resource(struct rxe_qp *qp, in check_resource() 404 static enum resp_states check_length(struct rxe_qp *qp, in check_length() 419 static enum resp_states check_rkey(struct rxe_qp *qp, in check_rkey() 533 static enum resp_states send_data_in(struct rxe_qp *qp, void *data_addr, in send_data_in() [all …]
|
D | rxe_qp.c | 109 static int alloc_rd_atomic_resources(struct rxe_qp *qp, unsigned int n) in alloc_rd_atomic_resources() 121 static void free_rd_atomic_resources(struct rxe_qp *qp) in free_rd_atomic_resources() 136 void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res) in free_rd_atomic_resource() 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() 202 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req() 278 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp() 331 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init() 386 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init) in rxe_qp_to_init() 414 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr() [all …]
|
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() 161 static void rxe_do_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in rxe_do_bind_mw() 194 int rxe_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in rxe_bind_mw() 248 static int rxe_check_invalidate_mw(struct rxe_qp *qp, struct rxe_mw *mw) in rxe_check_invalidate_mw() 262 struct rxe_qp *qp; in rxe_do_invalidate_mw() 282 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey) in rxe_invalidate_mw() 315 struct rxe_mw *rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey) in rxe_lookup_mw()
|
D | rxe_verbs.c | 400 struct rxe_qp *qp = to_rqp(ibqp); in rxe_create_qp() 447 struct rxe_qp *qp = to_rqp(ibqp); in rxe_modify_qp() 469 struct rxe_qp *qp = to_rqp(ibqp); in rxe_query_qp() 479 struct rxe_qp *qp = to_rqp(ibqp); in rxe_destroy_qp() 487 static int validate_send_wr(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in validate_send_wr() 514 static void init_send_wr(struct rxe_qp *qp, struct rxe_send_wr *wr, in init_send_wr() 583 static void init_send_wqe(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in init_send_wqe() 621 static int post_one_send(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in post_one_send() 663 static int rxe_post_send_kernel(struct rxe_qp *qp, const struct ib_send_wr *wr, in rxe_post_send_kernel() 712 struct rxe_qp *qp = to_rqp(ibqp); in rxe_post_send() [all …]
|
D | rxe_verbs.h | 212 struct rxe_qp { struct 351 struct rxe_qp *qp; /* Type 2 only */ 373 struct rxe_qp *qp; 452 static inline struct rxe_qp *to_rqp(struct ib_qp *qp) in to_rqp() 454 return qp ? container_of(qp, struct rxe_qp, ibqp) : NULL; in to_rqp()
|
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()
|
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()
|
D | Makefile | 15 rxe_qp.o \
|
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()
|
D | rxe_pool.c | 41 .size = sizeof(struct rxe_qp), 42 .elem_offset = offsetof(struct rxe_qp, pelem),
|
D | rxe_mr.c | 521 int rxe_invalidate_mr(struct rxe_qp *qp, u32 rkey) in rxe_invalidate_mr()
|
D | rxe_hdr.h | 16 struct rxe_qp *qp; /* qp that owns packet */
|