| /linux-6.15/drivers/infiniband/sw/rxe/ |
| H A D | rxe_loc.h | 80 int rxe_invalidate_mr(struct rxe_qp *qp, u32 key); 91 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey); 116 void rxe_qp_error(struct rxe_qp *qp); 117 int rxe_qp_chk_destroy(struct rxe_qp *qp); 120 static inline int qp_num(struct rxe_qp *qp) in qp_num() 125 static inline enum ib_qp_type qp_type(struct rxe_qp *qp) in qp_type() 135 static inline int qp_mtu(struct rxe_qp *qp) in qp_mtu() 175 int rxe_completer(struct rxe_qp *qp); 176 int rxe_requester(struct rxe_qp *qp); 177 int rxe_sender(struct rxe_qp *qp); [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_comp.c | 117 struct rxe_qp *qp = from_timer(qp, t, retrans_timer); in retransmit_timer() 137 static inline enum comp_state get_wqe(struct rxe_qp *qp, in get_wqe() 165 static inline void reset_retry_counters(struct rxe_qp *qp) in reset_retry_counters() 172 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn() 215 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack() 354 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read() 474 static void comp_check_sq_drain_done(struct rxe_qp *qp) in comp_check_sq_drain_done() 545 static void drain_resp_pkts(struct rxe_qp *qp) in drain_resp_pkts() 608 struct rxe_qp *qp = pkt->qp; in free_pkt() 624 static void reset_retry_timer(struct rxe_qp *qp) in reset_retry_timer() [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 = from_timer(qp, t, rnr_nak_timer); in rnr_nak_timer() 115 static void req_check_sq_drain_done(struct rxe_qp *qp) in req_check_sq_drain_done() 403 static inline int get_mtu(struct rxe_qp *qp) in get_mtu() 413 static struct sk_buff *init_req_packet(struct rxe_qp *qp, in init_req_packet() 541 static void update_wqe_state(struct rxe_qp *qp, in update_wqe_state() 555 static void update_wqe_psn(struct rxe_qp *qp, in update_wqe_psn() 639 int rxe_requester(struct rxe_qp *qp) in rxe_requester() [all …]
|
| H A D | rxe_resp.c | 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() 259 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe() 430 static enum resp_states check_rkey(struct rxe_qp *qp, in check_rkey() 878 static enum resp_states read_reply(struct rxe_qp *qp, in read_reply() 1064 static enum resp_states do_complete(struct rxe_qp *qp, in do_complete() 1246 static enum resp_states cleanup(struct rxe_qp *qp, in cleanup() 1427 static void drain_req_pkts(struct rxe_qp *qp) in drain_req_pkts() [all …]
|
| H 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() 235 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req() 323 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp() 438 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr() 513 static void rxe_qp_reset(struct rxe_qp *qp) in rxe_qp_reset() 553 void rxe_qp_error(struct rxe_qp *qp) in rxe_qp_error() 566 static void rxe_qp_sqd(struct rxe_qp *qp, struct ib_qp_attr *attr, in rxe_qp_sqd() 789 int rxe_qp_chk_destroy(struct rxe_qp *qp) in rxe_qp_chk_destroy() [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_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_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_verbs.h | 237 struct rxe_qp { struct 376 struct rxe_qp *qp; /* Type 2 only */ 397 struct rxe_qp *qp; 481 static inline struct rxe_qp *to_rqp(struct ib_qp *qp) in to_rqp() 483 return qp ? container_of(qp, struct rxe_qp, ibqp) : NULL; in to_rqp()
|
| H 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() 282 struct rxe_qp *qp = pkt->qp; in prepare4() 308 struct rxe_qp *qp = pkt->qp; in prepare6() 351 struct rxe_qp *qp; in rxe_skb_tx_dtor() 428 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() 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() 1026 struct rxe_qp *qp = to_rqp(ibqp); in rxe_post_recv() [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 | Makefile | 15 rxe_qp.o \
|
| H A D | rxe_task.c | 190 int rxe_init_task(struct rxe_task *task, struct rxe_qp *qp, in rxe_init_task() 191 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 | rxe_mr.c | 645 int rxe_invalidate_mr(struct rxe_qp *qp, u32 key) in rxe_invalidate_mr() 695 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 */
|