| /Linux-v5.4/drivers/infiniband/sw/rxe/ |
| D | rxe_loc.h | 73 int rxe_mcast_add_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, 76 int rxe_mcast_drop_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, 79 void rxe_drop_all_mcast_groups(struct rxe_qp *qp); 157 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, 162 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init); 164 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, 167 int rxe_qp_from_attr(struct rxe_qp *qp, struct ib_qp_attr *attr, 170 int rxe_qp_to_attr(struct rxe_qp *qp, struct ib_qp_attr *attr, int mask); 172 void rxe_qp_error(struct rxe_qp *qp); 174 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() 126 struct rxe_qp *qp = from_timer(qp, t, rnr_nak_timer); in rnr_nak_timer() 132 static struct rxe_send_wqe *req_next_wqe(struct rxe_qp *qp) in req_next_wqe() 194 static int next_opcode_rc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_rc() 266 static int next_opcode_uc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_uc() 317 static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in next_opcode() 348 static inline int check_init_depth(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in check_init_depth() 368 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_qp *qp, struct sk_buff *skb) 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() 197 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn() 236 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack() 367 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read() 385 static inline enum comp_state do_atomic(struct rxe_qp *qp, in do_atomic() 402 static void make_send_cqe(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in make_send_cqe() 440 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_qp *qp, struct sk_buff *skb) in rxe_resp_queue_pkt() 120 static inline enum resp_states get_req(struct rxe_qp *qp, in get_req() 144 static enum resp_states check_psn(struct rxe_qp *qp, in check_psn() 188 static enum resp_states check_op_seq(struct rxe_qp *qp, in check_op_seq() 278 static enum resp_states check_op_valid(struct rxe_qp *qp, in check_op_valid() 316 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe() 358 static enum resp_states check_resource(struct rxe_qp *qp, in check_resource() 402 static enum resp_states check_length(struct rxe_qp *qp, in check_length() 417 static enum resp_states check_rkey(struct rxe_qp *qp, in check_rkey() 507 static enum resp_states send_data_in(struct rxe_qp *qp, void *data_addr, in send_data_in() [all …]
|
| D | rxe_qp.c | 125 static int alloc_rd_atomic_resources(struct rxe_qp *qp, unsigned int n) in alloc_rd_atomic_resources() 137 static void free_rd_atomic_resources(struct rxe_qp *qp) in free_rd_atomic_resources() 152 void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res) in free_rd_atomic_resource() 164 static void cleanup_rd_atomic_resources(struct rxe_qp *qp) in cleanup_rd_atomic_resources() 177 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc() 219 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req() 287 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp() 336 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init() 386 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init) in rxe_qp_to_init() 414 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() 282 struct rxe_qp *qp; in rxe_rcv_mcast_pkt()
|
| D | rxe_verbs.c | 418 struct rxe_qp *qp; in rxe_create_qp() 466 struct rxe_qp *qp = to_rqp(ibqp); in rxe_modify_qp() 485 struct rxe_qp *qp = to_rqp(ibqp); in rxe_query_qp() 495 struct rxe_qp *qp = to_rqp(ibqp); in rxe_destroy_qp() 503 static int validate_send_wr(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in validate_send_wr() 530 static void init_send_wr(struct rxe_qp *qp, struct rxe_send_wr *wr, in init_send_wr() 586 static int init_send_wqe(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in init_send_wqe() 634 static int post_one_send(struct rxe_qp *qp, const struct ib_send_wr *ibwr, in post_one_send() 675 static int rxe_post_send_kernel(struct rxe_qp *qp, const struct ib_send_wr *wr, in rxe_post_send_kernel() 721 struct rxe_qp *qp = to_rqp(ibqp); in rxe_post_send() [all …]
|
| D | rxe_verbs.h | 235 struct rxe_qp { struct 368 struct rxe_qp *qp; 448 static inline struct rxe_qp *to_rqp(struct ib_qp *qp) in to_rqp() 450 return qp ? container_of(qp, struct rxe_qp, ibqp) : NULL; in to_rqp()
|
| D | Makefile | 15 rxe_qp.o \
|
| D | rxe_net.c | 149 struct rxe_qp *qp, in rxe_find_route() 343 struct rxe_qp *qp = pkt->qp; in prepare4() 369 struct rxe_qp *qp = pkt->qp; in prepare6() 412 struct rxe_qp *qp = sk->sk_user_data; in rxe_skb_tx_dtor()
|
| D | rxe_pool.c | 66 .size = sizeof(struct rxe_qp),
|
| D | rxe_hdr.h | 43 struct rxe_qp *qp; /* qp that owns packet */
|