Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_loc.h46 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);
126 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd,
131 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init);
133 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp,
136 int rxe_qp_from_attr(struct rxe_qp *qp, struct ib_qp_attr *attr,
139 int rxe_qp_to_attr(struct rxe_qp *qp, struct ib_qp_attr *attr, int mask);
141 void rxe_qp_error(struct rxe_qp *qp);
143 void rxe_qp_destroy(struct rxe_qp *qp);
[all …]
Drxe_comp.c114 struct rxe_qp *qp = from_timer(qp, t, retrans_timer); in retransmit_timer()
122 void rxe_comp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_comp_queue_pkt()
135 static inline enum comp_state get_wqe(struct rxe_qp *qp, in get_wqe()
163 static inline void reset_retry_counters(struct rxe_qp *qp) in reset_retry_counters()
170 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn()
209 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack()
340 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read()
358 static inline enum comp_state do_atomic(struct rxe_qp *qp, in do_atomic()
375 static void make_send_cqe(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in make_send_cqe()
413 static void do_complete(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in do_complete()
[all …]
Drxe_resp.c80 void rxe_resp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_resp_queue_pkt()
93 static inline enum resp_states get_req(struct rxe_qp *qp, in get_req()
117 static enum resp_states check_psn(struct rxe_qp *qp, in check_psn()
161 static enum resp_states check_op_seq(struct rxe_qp *qp, in check_op_seq()
251 static enum resp_states check_op_valid(struct rxe_qp *qp, in check_op_valid()
289 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe()
331 static enum resp_states check_resource(struct rxe_qp *qp, in check_resource()
375 static enum resp_states check_length(struct rxe_qp *qp, in check_length()
390 static enum resp_states check_rkey(struct rxe_qp *qp, in check_rkey()
480 static enum resp_states send_data_in(struct rxe_qp *qp, void *data_addr, in send_data_in()
[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()
41 static void req_retry(struct rxe_qp *qp) in req_retry()
99 struct rxe_qp *qp = from_timer(qp, t, rnr_nak_timer); in rnr_nak_timer()
105 static struct rxe_send_wqe *req_next_wqe(struct rxe_qp *qp) in req_next_wqe()
167 static int next_opcode_rc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_rc()
239 static int next_opcode_uc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_uc()
290 static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in next_opcode()
321 static inline int check_init_depth(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in check_init_depth()
341 static inline int get_mtu(struct rxe_qp *qp) in get_mtu()
[all …]
Drxe_qp.c98 static int alloc_rd_atomic_resources(struct rxe_qp *qp, unsigned int n) in alloc_rd_atomic_resources()
110 static void free_rd_atomic_resources(struct rxe_qp *qp) in free_rd_atomic_resources()
125 void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res) in free_rd_atomic_resource()
136 static void cleanup_rd_atomic_resources(struct rxe_qp *qp) in cleanup_rd_atomic_resources()
149 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc()
199 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req()
265 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp()
312 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init()
367 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init) in rxe_qp_to_init()
395 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr()
[all …]
Drxe_mcast.c51 int rxe_mcast_add_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_mcast_add_grp_elem()
95 int rxe_mcast_drop_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_mcast_drop_grp_elem()
130 void rxe_drop_all_mcast_groups(struct rxe_qp *qp) in rxe_drop_all_mcast_groups()
Drxe_recv.c14 struct rxe_qp *qp) in check_type_state()
80 u32 qpn, struct rxe_qp *qp) in check_keys()
112 struct rxe_qp *qp) in check_addr()
175 struct rxe_qp *qp = NULL; in hdr_check()
239 struct rxe_qp *qp; in rxe_rcv_mcast_pkt()
Drxe_verbs.c386 struct rxe_qp *qp; in rxe_create_qp()
434 struct rxe_qp *qp = to_rqp(ibqp); in rxe_modify_qp()
453 struct rxe_qp *qp = to_rqp(ibqp); in rxe_query_qp()
463 struct rxe_qp *qp = to_rqp(ibqp); in rxe_destroy_qp()
471 static int validate_send_wr(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in validate_send_wr()
498 static void init_send_wr(struct rxe_qp *qp, struct rxe_send_wr *wr, in init_send_wr()
554 static int init_send_wqe(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in init_send_wqe()
602 static int post_one_send(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in post_one_send()
643 static int rxe_post_send_kernel(struct rxe_qp *qp, const struct ib_send_wr *wr, in rxe_post_send_kernel()
692 struct rxe_qp *qp = to_rqp(ibqp); in rxe_post_send()
[all …]
Drxe_verbs.h208 struct rxe_qp { struct
337 struct rxe_qp *qp;
416 static inline struct rxe_qp *to_rqp(struct ib_qp *qp) in to_rqp()
418 return qp ? container_of(qp, struct rxe_qp, ibqp) : NULL; in to_rqp()
DMakefile15 rxe_qp.o \
Drxe_net.c112 struct rxe_qp *qp, in rxe_find_route()
304 struct rxe_qp *qp = pkt->qp; in prepare4()
330 struct rxe_qp *qp = pkt->qp; in prepare6()
373 struct rxe_qp *qp = sk->sk_user_data; in rxe_skb_tx_dtor()
Drxe_pool.c39 .size = sizeof(struct rxe_qp),
Drxe_hdr.h16 struct rxe_qp *qp; /* qp that owns packet */