/Linux-v4.19/drivers/infiniband/sw/rxe/ |
D | rxe_loc.h | 71 int rxe_mcast_add_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, 74 int rxe_mcast_drop_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, 77 void rxe_drop_all_mcast_groups(struct rxe_qp *qp); 158 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, 163 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init); 165 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, 168 int rxe_qp_from_attr(struct rxe_qp *qp, struct ib_qp_attr *attr, 171 int rxe_qp_to_attr(struct rxe_qp *qp, struct ib_qp_attr *attr, int mask); 173 void rxe_qp_error(struct rxe_qp *qp); 175 void rxe_qp_destroy(struct rxe_qp *qp); [all …]
|
D | rxe_req.c | 41 static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, 44 static inline void retry_first_write_send(struct rxe_qp *qp, in retry_first_write_send() 68 static void req_retry(struct rxe_qp *qp) in req_retry() 123 struct rxe_qp *qp = from_timer(qp, t, rnr_nak_timer); in rnr_nak_timer() 129 static struct rxe_send_wqe *req_next_wqe(struct rxe_qp *qp) in req_next_wqe() 191 static int next_opcode_rc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_rc() 263 static int next_opcode_uc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_uc() 314 static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in next_opcode() 345 static inline int check_init_depth(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in check_init_depth() 365 static inline int get_mtu(struct rxe_qp *qp) in get_mtu() [all …]
|
D | rxe_comp.c | 141 struct rxe_qp *qp = from_timer(qp, t, retrans_timer); in retransmit_timer() 149 void rxe_comp_queue_pkt(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_comp_queue_pkt() 162 static inline enum comp_state get_wqe(struct rxe_qp *qp, in get_wqe() 190 static inline void reset_retry_counters(struct rxe_qp *qp) in reset_retry_counters() 196 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn() 235 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack() 355 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read() 373 static inline enum comp_state do_atomic(struct rxe_qp *qp, in do_atomic() 390 static void make_send_cqe(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in make_send_cqe() 428 static void do_complete(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in do_complete() [all …]
|
D | rxe_resp.c | 107 void rxe_resp_queue_pkt(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_resp_queue_pkt() 121 static inline enum resp_states get_req(struct rxe_qp *qp, in get_req() 148 static enum resp_states check_psn(struct rxe_qp *qp, in check_psn() 192 static enum resp_states check_op_seq(struct rxe_qp *qp, in check_op_seq() 282 static enum resp_states check_op_valid(struct rxe_qp *qp, in check_op_valid() 320 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe() 362 static enum resp_states check_resource(struct rxe_qp *qp, in check_resource() 406 static enum resp_states check_length(struct rxe_qp *qp, in check_length() 421 static enum resp_states check_rkey(struct rxe_qp *qp, in check_rkey() 510 static enum resp_states send_data_in(struct rxe_qp *qp, void *data_addr, in send_data_in() [all …]
|
D | rxe_qp.c | 123 static int alloc_rd_atomic_resources(struct rxe_qp *qp, unsigned int n) in alloc_rd_atomic_resources() 135 static void free_rd_atomic_resources(struct rxe_qp *qp) in free_rd_atomic_resources() 150 void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res) in free_rd_atomic_resource() 162 static void cleanup_rd_atomic_resources(struct rxe_qp *qp) in cleanup_rd_atomic_resources() 175 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc() 217 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req() 276 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp() 325 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init() 375 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init) in rxe_qp_to_init() 403 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr() [all …]
|
D | rxe_mcast.c | 78 int rxe_mcast_add_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_mcast_add_grp_elem() 122 int rxe_mcast_drop_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_mcast_drop_grp_elem() 157 void rxe_drop_all_mcast_groups(struct rxe_qp *qp) in rxe_drop_all_mcast_groups()
|
D | rxe_recv.c | 40 struct rxe_qp *qp) in check_type_state() 102 u32 qpn, struct rxe_qp *qp) in check_keys() 155 struct rxe_qp *qp) in check_addr() 218 struct rxe_qp *qp = NULL; in hdr_check() 284 struct rxe_qp *qp; in rxe_rcv_mcast_pkt()
|
D | rxe_verbs.c | 472 struct rxe_qp *qp; in rxe_create_qp() 520 struct rxe_qp *qp = to_rqp(ibqp); in rxe_modify_qp() 539 struct rxe_qp *qp = to_rqp(ibqp); in rxe_query_qp() 549 struct rxe_qp *qp = to_rqp(ibqp); in rxe_destroy_qp() 557 static int validate_send_wr(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in validate_send_wr() 584 static void init_send_wr(struct rxe_qp *qp, struct rxe_send_wr *wr, in init_send_wr() 640 static int init_send_wqe(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in init_send_wqe() 688 static int post_one_send(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in post_one_send() 729 static int rxe_post_send_kernel(struct rxe_qp *qp, const struct ib_send_wr *wr, in rxe_post_send_kernel() 775 struct rxe_qp *qp = to_rqp(ibqp); in rxe_post_send() [all …]
|
D | rxe_verbs.h | 231 struct rxe_qp { struct 363 struct rxe_qp *qp; 445 static inline struct rxe_qp *to_rqp(struct ib_qp *qp) in to_rqp() 447 return qp ? container_of(qp, struct rxe_qp, ibqp) : NULL; in to_rqp()
|
D | Makefile | 15 rxe_qp.o \
|
D | rxe_net.c | 186 struct rxe_qp *qp, in rxe_find_route() 383 struct rxe_qp *qp = pkt->qp; in prepare4() 412 struct rxe_qp *qp = pkt->qp; in prepare6() 456 struct rxe_qp *qp = sk->sk_user_data; in rxe_skb_tx_dtor()
|
D | rxe_pool.c | 64 .size = sizeof(struct rxe_qp),
|
D | rxe_hdr.h | 43 struct rxe_qp *qp; /* qp that owns packet */
|