Home
last modified time | relevance | path

Searched refs:rxe_qp (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_loc.h80 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);
88 int rxe_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe);
89 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey);
90 struct rxe_mw *rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey);
98 int rxe_xmit_packet(struct rxe_qp *qp, struct rxe_pkt_info *pkt,
104 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd,
108 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init);
109 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp,
111 int rxe_qp_from_attr(struct rxe_qp *qp, struct ib_qp_attr *attr,
[all …]
Drxe_req.c14 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()
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()
179 static int rxe_wqe_is_fenced(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in rxe_wqe_is_fenced()
197 static int next_opcode_rc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_rc()
269 static int next_opcode_uc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_uc()
320 static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in next_opcode()
350 static inline int check_init_depth(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in check_init_depth()
[all …]
Drxe_comp.c115 struct rxe_qp *qp = from_timer(qp, t, retrans_timer); in retransmit_timer()
125 void rxe_comp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_comp_queue_pkt()
138 static inline enum comp_state get_wqe(struct rxe_qp *qp, in get_wqe()
166 static inline void reset_retry_counters(struct rxe_qp *qp) in reset_retry_counters()
173 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn()
212 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack()
343 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read()
363 static inline enum comp_state do_atomic(struct rxe_qp *qp, in do_atomic()
382 static void make_send_cqe(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in make_send_cqe()
425 static void do_complete(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in do_complete()
[all …]
Drxe_resp.c84 void rxe_resp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_resp_queue_pkt()
97 static inline enum resp_states get_req(struct rxe_qp *qp, in get_req()
122 static enum resp_states check_psn(struct rxe_qp *qp, in check_psn()
166 static enum resp_states check_op_seq(struct rxe_qp *qp, in check_op_seq()
256 static enum resp_states check_op_valid(struct rxe_qp *qp, in check_op_valid()
293 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe()
344 static enum resp_states check_resource(struct rxe_qp *qp, in check_resource()
390 static enum resp_states check_length(struct rxe_qp *qp, in check_length()
405 static enum resp_states check_rkey(struct rxe_qp *qp, in check_rkey()
521 static enum resp_states send_data_in(struct rxe_qp *qp, void *data_addr, in send_data_in()
[all …]
Drxe_mw.c50 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()
322 struct rxe_qp *qp = mw->qp; in rxe_mw_cleanup()
Drxe_qp.c103 static int alloc_rd_atomic_resources(struct rxe_qp *qp, unsigned int n) in alloc_rd_atomic_resources()
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()
187 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req()
258 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp()
306 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init()
368 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init) in rxe_qp_to_init()
396 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr()
481 static void rxe_qp_reset(struct rxe_qp *qp) in rxe_qp_reset()
[all …]
Drxe_mcast.c294 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()
Drxe_recv.c14 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()
Drxe_verbs.h210 struct rxe_qp { struct
338 struct rxe_qp *qp; /* Type 2 only */
359 struct rxe_qp *qp;
438 static inline struct rxe_qp *to_rqp(struct ib_qp *qp) in to_rqp()
440 return qp ? container_of(qp, struct rxe_qp, ibqp) : NULL; in to_rqp()
Drxe_verbs.c403 struct rxe_qp *qp = to_rqp(ibqp); in rxe_create_qp()
449 struct rxe_qp *qp = to_rqp(ibqp); in rxe_modify_qp()
476 struct rxe_qp *qp = to_rqp(ibqp); in rxe_query_qp()
486 struct rxe_qp *qp = to_rqp(ibqp); in rxe_destroy_qp()
497 static int validate_send_wr(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in validate_send_wr()
524 static void init_send_wr(struct rxe_qp *qp, struct rxe_send_wr *wr, in init_send_wr()
594 static void init_send_wqe(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in init_send_wqe()
627 static int post_one_send(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in post_one_send()
659 static int rxe_post_send_kernel(struct rxe_qp *qp, const struct ib_send_wr *wr, in rxe_post_send_kernel()
708 struct rxe_qp *qp = to_rqp(ibqp); in rxe_post_send()
[all …]
DMakefile15 rxe_qp.o \
Drxe_net.c90 struct rxe_qp *qp, in rxe_find_route()
276 struct rxe_qp *qp = pkt->qp; in prepare4()
302 struct rxe_qp *qp = pkt->qp; in prepare6()
343 struct rxe_qp *qp = sk->sk_user_data; in rxe_skb_tx_dtor()
405 int rxe_xmit_packet(struct rxe_qp *qp, struct rxe_pkt_info *pkt, in rxe_xmit_packet()
Drxe_pool.c56 .size = sizeof(struct rxe_qp),
57 .elem_offset = offsetof(struct rxe_qp, elem),
Drxe_mr.c518 int rxe_invalidate_mr(struct rxe_qp *qp, u32 key) in rxe_invalidate_mr()
567 int rxe_reg_fast_mr(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in rxe_reg_fast_mr()
Drxe_hdr.h16 struct rxe_qp *qp; /* qp that owns packet */