Home
last modified time | relevance | path

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

/linux-5.19.10/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()
39 static void req_retry(struct rxe_qp *qp) in req_retry()
102 struct rxe_qp *qp = from_timer(qp, t, rnr_nak_timer); in rnr_nak_timer()
112 static struct rxe_send_wqe *req_next_wqe(struct rxe_qp *qp) in req_next_wqe()
178 static int next_opcode_rc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_rc()
250 static int next_opcode_uc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_uc()
301 static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in next_opcode()
331 static inline int check_init_depth(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in check_init_depth()
351 static inline int get_mtu(struct rxe_qp *qp) in get_mtu()
[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()
519 static enum resp_states send_data_in(struct rxe_qp *qp, void *data_addr, in send_data_in()
[all …]
Drxe_mw.c48 static int rxe_check_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in rxe_check_bind_mw()
133 static void rxe_do_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in rxe_do_bind_mw()
162 int rxe_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in rxe_bind_mw()
215 static int rxe_check_invalidate_mw(struct rxe_qp *qp, struct rxe_mw *mw) in rxe_check_invalidate_mw()
229 struct rxe_qp *qp; in rxe_do_invalidate_mw()
249 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey) in rxe_invalidate_mw()
281 struct rxe_mw *rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey) in rxe_lookup_mw()
320 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()
130 void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res) in free_rd_atomic_resource()
137 static void cleanup_rd_atomic_resources(struct rxe_qp *qp) in cleanup_rd_atomic_resources()
150 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc()
189 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req()
259 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp()
307 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init()
369 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init) in rxe_qp_to_init()
397 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr()
[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_verbs.h211 struct rxe_qp { struct
342 struct rxe_qp *qp; /* Type 2 only */
363 struct rxe_qp *qp;
442 static inline struct rxe_qp *to_rqp(struct ib_qp *qp) in to_rqp()
444 return qp ? container_of(qp, struct rxe_qp, ibqp) : NULL; in to_rqp()
Drxe_recv.c14 struct rxe_qp *qp) in check_type_state()
79 u32 qpn, struct rxe_qp *qp) in check_keys()
110 struct rxe_qp *qp) in check_addr()
173 struct rxe_qp *qp = NULL; in hdr_check()
237 struct rxe_qp *qp; in rxe_rcv_mcast_pkt()
Drxe_verbs.c399 struct rxe_qp *qp = to_rqp(ibqp); in rxe_create_qp()
444 struct rxe_qp *qp = to_rqp(ibqp); in rxe_modify_qp()
471 struct rxe_qp *qp = to_rqp(ibqp); in rxe_query_qp()
481 struct rxe_qp *qp = to_rqp(ibqp); in rxe_destroy_qp()
492 static int validate_send_wr(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in validate_send_wr()
519 static void init_send_wr(struct rxe_qp *qp, struct rxe_send_wr *wr, in init_send_wr()
590 static void init_send_wqe(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in init_send_wqe()
623 static int post_one_send(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in post_one_send()
655 static int rxe_post_send_kernel(struct rxe_qp *qp, const struct ib_send_wr *wr, in rxe_post_send_kernel()
704 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()
277 struct rxe_qp *qp = pkt->qp; in prepare4()
303 struct rxe_qp *qp = pkt->qp; in prepare6()
344 struct rxe_qp *qp = sk->sk_user_data; in rxe_skb_tx_dtor()
406 int rxe_xmit_packet(struct rxe_qp *qp, struct rxe_pkt_info *pkt, in rxe_xmit_packet()
Drxe_pool.c55 .size = sizeof(struct rxe_qp),
56 .elem_offset = offsetof(struct rxe_qp, elem),
Drxe_mr.c529 int rxe_invalidate_mr(struct rxe_qp *qp, u32 key) in rxe_invalidate_mr()
578 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 */