/linux-6.3-rc2/drivers/infiniband/sw/rxe/ |
A D | rxe_loc.h | 12 int rxe_av_chk_attr(struct rxe_qp *qp, struct rdma_ah_attr *attr); 81 int rxe_invalidate_mr(struct rxe_qp *qp, u32 key); 89 int rxe_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe); 90 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey); 110 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, 115 void rxe_qp_error(struct rxe_qp *qp); 116 int rxe_qp_chk_destroy(struct rxe_qp *qp); 119 static inline int qp_num(struct rxe_qp *qp) in qp_num() 124 static inline enum ib_qp_type qp_type(struct rxe_qp *qp) in qp_type() 129 static inline enum ib_qp_state qp_state(struct rxe_qp *qp) in qp_state() [all …]
|
A D | rxe_resp.c | 67 static inline enum resp_states get_req(struct rxe_qp *qp, in get_req() 92 static enum resp_states check_psn(struct rxe_qp *qp, in check_psn() 136 static enum resp_states check_op_seq(struct rxe_qp *qp, in check_op_seq() 226 static bool check_qp_attr_access(struct rxe_qp *qp, in check_qp_attr_access() 281 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe() 454 static enum resp_states check_rkey(struct rxe_qp *qp, in check_rkey() 886 static enum resp_states read_reply(struct rxe_qp *qp, in read_reply() 1072 static enum resp_states do_complete(struct rxe_qp *qp, in do_complete() 1226 static enum resp_states acknowledge(struct rxe_qp *qp, in acknowledge() 1244 static enum resp_states cleanup(struct rxe_qp *qp, in cleanup() [all …]
|
A D | rxe_req.c | 17 static inline void retry_first_write_send(struct rxe_qp *qp, in retry_first_write_send() 38 static void req_retry(struct rxe_qp *qp) in req_retry() 101 struct rxe_qp *qp = from_timer(qp, t, rnr_nak_timer); in rnr_nak_timer() 111 static struct rxe_send_wqe *req_next_wqe(struct rxe_qp *qp) in req_next_wqe() 377 static inline int get_mtu(struct rxe_qp *qp) in get_mtu() 387 static struct sk_buff *init_req_packet(struct rxe_qp *qp, in init_req_packet() 514 static void update_wqe_state(struct rxe_qp *qp, in update_wqe_state() 526 static void update_wqe_psn(struct rxe_qp *qp, in update_wqe_psn() 550 struct rxe_qp *qp, in save_state() 561 struct rxe_qp *qp, in rollback_state() [all …]
|
A D | rxe_comp.c | 117 struct rxe_qp *qp = from_timer(qp, t, retrans_timer); in retransmit_timer() 127 void rxe_comp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_comp_queue_pkt() 143 static inline enum comp_state get_wqe(struct rxe_qp *qp, in get_wqe() 171 static inline void reset_retry_counters(struct rxe_qp *qp) in reset_retry_counters() 178 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn() 221 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack() 360 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read() 380 static inline enum comp_state do_atomic(struct rxe_qp *qp, in do_atomic() 476 static inline enum comp_state complete_ack(struct rxe_qp *qp, in complete_ack() 566 struct rxe_qp *qp = pkt->qp; in free_pkt() [all …]
|
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() 217 static int rxe_check_invalidate_mw(struct rxe_qp *qp, struct rxe_mw *mw) in rxe_check_invalidate_mw() 231 struct rxe_qp *qp; in rxe_do_invalidate_mw() 251 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey) in rxe_invalidate_mw() 283 struct rxe_mw *rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey) in rxe_lookup_mw() 321 struct rxe_qp *qp = mw->qp; in rxe_mw_cleanup()
|
A D | rxe_qp.c | 115 static void free_rd_atomic_resources(struct rxe_qp *qp) in free_rd_atomic_resources() 135 static void cleanup_rd_atomic_resources(struct rxe_qp *qp) in cleanup_rd_atomic_resources() 148 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc() 183 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req() 252 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp() 386 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr() 472 static void rxe_qp_reset(struct rxe_qp *qp) in rxe_qp_reset() 531 static void rxe_qp_drain(struct rxe_qp *qp) in rxe_qp_drain() 546 void rxe_qp_error(struct rxe_qp *qp) in rxe_qp_error() 755 int rxe_qp_chk_destroy(struct rxe_qp *qp) in rxe_qp_chk_destroy() [all …]
|
A D | rxe_mcast.c | 294 static int __rxe_init_mca(struct rxe_qp *qp, struct rxe_mcg *mcg, in __rxe_init_mca() 331 static int rxe_attach_mcg(struct rxe_mcg *mcg, struct rxe_qp *qp) in rxe_attach_mcg() 396 static int rxe_detach_mcg(struct rxe_mcg *mcg, struct rxe_qp *qp) in rxe_detach_mcg() 437 struct rxe_qp *qp = to_rqp(ibqp); in rxe_attach_mcast() 467 struct rxe_qp *qp = to_rqp(ibqp); in rxe_detach_mcast()
|
A D | rxe_recv.c | 14 struct rxe_qp *qp) in check_type_state() 68 u32 qpn, struct rxe_qp *qp) in check_keys() 93 struct rxe_qp *qp) in check_addr() 131 struct rxe_qp *qp = NULL; in hdr_check() 187 struct rxe_qp *qp; in rxe_rcv_mcast_pkt()
|
A D | rxe_verbs.h | 216 struct rxe_qp { struct 331 struct rxe_qp *qp; /* Type 2 only */ 352 struct rxe_qp *qp; 431 static inline struct rxe_qp *to_rqp(struct ib_qp *qp) in to_rqp() 433 return qp ? container_of(qp, struct rxe_qp, ibqp) : NULL; in to_rqp()
|
A D | rxe_net.c | 23 static struct dst_entry *rxe_find_route4(struct rxe_qp *qp, in rxe_find_route4() 47 static struct dst_entry *rxe_find_route6(struct rxe_qp *qp, in rxe_find_route6() 82 static struct dst_entry *rxe_find_route6(struct rxe_qp *qp, in rxe_find_route6() 93 struct rxe_qp *qp, in rxe_find_route() 279 struct rxe_qp *qp = pkt->qp; in prepare4() 305 struct rxe_qp *qp = pkt->qp; in prepare6() 346 struct rxe_qp *qp = sk->sk_user_data; in rxe_skb_tx_dtor() 409 int rxe_xmit_packet(struct rxe_qp *qp, struct rxe_pkt_info *pkt, in rxe_xmit_packet()
|
A D | rxe_verbs.c | 393 struct rxe_qp *qp = to_rqp(ibqp); in rxe_create_qp() 439 struct rxe_qp *qp = to_rqp(ibqp); in rxe_modify_qp() 463 struct rxe_qp *qp = to_rqp(ibqp); in rxe_query_qp() 473 struct rxe_qp *qp = to_rqp(ibqp); in rxe_destroy_qp() 484 static int validate_send_wr(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in validate_send_wr() 508 static void init_send_wr(struct rxe_qp *qp, struct rxe_send_wr *wr, in init_send_wr() 578 static void init_send_wqe(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in init_send_wqe() 611 static int post_one_send(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in post_one_send() 692 struct rxe_qp *qp = to_rqp(ibqp); in rxe_post_send() 716 struct rxe_qp *qp = to_rqp(ibqp); in rxe_post_recv() [all …]
|
A D | rxe_task.c | 32 struct rxe_qp *qp = (struct rxe_qp *)task->arg; in do_task()
|
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()
|
A D | Makefile | 15 rxe_qp.o \
|
A D | rxe_pool.c | 56 .size = sizeof(struct rxe_qp), 57 .elem_offset = offsetof(struct rxe_qp, elem),
|
A D | rxe_mr.c | 643 int rxe_invalidate_mr(struct rxe_qp *qp, u32 key) in rxe_invalidate_mr() 691 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 */
|