Home
last modified time | relevance | path

Searched refs:rvt_qp (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/infiniband/hw/hfi1/
H A Dqp.h49 static inline int hfi1_send_ok(struct rvt_qp *qp) in hfi1_send_ok()
62 static inline void clear_ahg(struct rvt_qp *qp) in clear_ahg()
78 void hfi1_qp_wakeup(struct rvt_qp *qp, u32 flag);
80 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5);
81 struct send_context *qp_to_send_context(struct rvt_qp *qp, u8 sc5);
85 bool _hfi1_schedule_send(struct rvt_qp *qp);
86 bool hfi1_schedule_send(struct rvt_qp *qp);
88 void hfi1_migrate_qp(struct rvt_qp *qp);
93 void *qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp);
94 void qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp);
[all …]
H A Dtid_rdma.h98 struct rvt_qp *qp;
203 bool tid_rdma_conn_req(struct rvt_qp *qp, u64 *data);
204 bool tid_rdma_conn_reply(struct rvt_qp *qp, u64 data);
205 bool tid_rdma_conn_resp(struct rvt_qp *qp, u64 *data);
206 void tid_rdma_conn_error(struct rvt_qp *qp);
207 void tid_rdma_opfn_init(struct rvt_qp *qp, struct tid_rdma_params *p);
214 void __trdma_clean_swqe(struct rvt_qp *qp, struct rvt_swqe *wqe);
221 static inline void trdma_clean_swqe(struct rvt_qp *qp, struct rvt_swqe *wqe) in trdma_clean_swqe()
228 void hfi1_kern_read_tid_flow_free(struct rvt_qp *qp);
230 int hfi1_qp_priv_init(struct rvt_dev_info *rdi, struct rvt_qp *qp,
[all …]
H A Dverbs.h130 struct rvt_qp *owner;
227 struct rvt_qp __rcu *qp[2];
273 static inline struct rvt_qp *iowait_to_qp(struct iowait *s_iowait) in iowait_to_qp()
361 int hfi1_verbs_send(struct rvt_qp *qp, struct hfi1_pkt_state *ps);
372 struct rvt_qp *qp);
376 void hfi1_rc_verbs_aborted(struct rvt_qp *qp, struct hfi1_opa_header *opah);
377 void hfi1_rc_send_complete(struct rvt_qp *qp, struct hfi1_opa_header *opah);
383 void hfi1_migrate_qp(struct rvt_qp *qp);
385 int hfi1_check_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr,
388 void hfi1_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr,
[all …]
H A Dopfn.h78 void opfn_conn_response(struct rvt_qp *qp, struct rvt_ack_entry *e,
80 void opfn_conn_reply(struct rvt_qp *qp, u64 data);
81 void opfn_conn_error(struct rvt_qp *qp);
82 void opfn_qp_init(struct rvt_qp *qp, struct ib_qp_attr *attr, int attr_mask);
83 void opfn_trigger_conn_request(struct rvt_qp *qp, u32 bth1);
H A Dopfn.c17 bool (*request)(struct rvt_qp *qp, u64 *data);
18 bool (*response)(struct rvt_qp *qp, u64 *data);
19 bool (*reply)(struct rvt_qp *qp, u64 data);
20 void (*error)(struct rvt_qp *qp);
34 static void opfn_schedule_conn_request(struct rvt_qp *qp);
41 static void opfn_conn_request(struct rvt_qp *qp) in opfn_conn_request()
127 static void opfn_schedule_conn_request(struct rvt_qp *qp) in opfn_schedule_conn_request()
135 void opfn_conn_response(struct rvt_qp *qp, struct rvt_ack_entry *e, in opfn_conn_response()
175 void opfn_conn_reply(struct rvt_qp *qp, u64 data) in opfn_conn_reply()
214 void opfn_conn_error(struct rvt_qp *qp) in opfn_conn_error()
[all …]
H A Dtrace_rc.h18 TP_PROTO(struct rvt_qp *qp, u32 psn),
57 TP_PROTO(struct rvt_qp *qp, u32 psn),
62 TP_PROTO(struct rvt_qp *qp, u32 psn),
67 TP_PROTO(struct rvt_qp *qp, u32 psn),
73 TP_PROTO(struct rvt_qp *qp, u32 psn),
79 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
114 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
H A Drc.h13 static inline void update_ack_queue(struct rvt_qp *qp, unsigned int n) in update_ack_queue()
26 struct rvt_qp *qp) in rc_defered_ack()
52 struct rvt_ack_entry *find_prev_entry(struct rvt_qp *qp, u32 psn, u8 *prev,
54 int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, u64 val,
56 struct rvt_swqe *do_rc_completion(struct rvt_qp *qp, struct rvt_swqe *wqe,
H A Druc.c31 struct rvt_qp *qp = packet->qp; in hfi1_ruc_check_hdr()
163 static inline void build_ahg(struct rvt_qp *qp, u32 npsn) in build_ahg()
207 static inline void hfi1_make_ruc_bth(struct rvt_qp *qp, in hfi1_make_ruc_bth()
231 static inline void hfi1_make_ruc_header_16B(struct rvt_qp *qp, in hfi1_make_ruc_header_16B()
320 static inline void hfi1_make_ruc_header_9B(struct rvt_qp *qp, in hfi1_make_ruc_header_9B()
375 typedef void (*hfi1_make_ruc_hdr)(struct rvt_qp *qp,
386 void hfi1_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, in hfi1_make_ruc_header()
429 bool hfi1_schedule_send_yield(struct rvt_qp *qp, struct hfi1_pkt_state *ps, in hfi1_schedule_send_yield()
471 void hfi1_do_send_from_rvt(struct rvt_qp *qp) in hfi1_do_send_from_rvt()
479 struct rvt_qp *qp = iowait_to_qp(w->iow); in _hfi1_do_send()
[all …]
H A Dtid_rdma.c114 static void hfi1_init_trdma_req(struct rvt_qp *qp,
116 static void hfi1_tid_write_alloc_resources(struct rvt_qp *qp, bool intr_ctx);
118 static void hfi1_add_tid_reap_timer(struct rvt_qp *qp);
119 static void hfi1_mod_tid_reap_timer(struct rvt_qp *qp);
120 static void hfi1_mod_tid_retry_timer(struct rvt_qp *qp);
121 static int hfi1_stop_tid_retry_timer(struct rvt_qp *qp);
123 static int make_tid_rdma_ack(struct rvt_qp *qp,
126 static void hfi1_do_tid_send(struct rvt_qp *qp);
130 struct rvt_qp *qp, u32 psn, int diff, bool fecn);
143 static void tid_rdma_schedule_ack(struct rvt_qp *qp) in tid_rdma_schedule_ack()
[all …]
H A Dverbs_txreq.h19 struct rvt_qp *qp;
31 struct rvt_qp *qp);
35 struct rvt_qp *qp) in get_txreq()
H A Dfault.h37 bool hfi1_dbg_should_fault_tx(struct rvt_qp *qp, u32 opcode);
54 static inline bool hfi1_dbg_should_fault_tx(struct rvt_qp *qp, in hfi1_dbg_should_fault_tx()
H A Dverbs_txreq.c16 struct rvt_qp *qp; in hfi1_put_txreq()
52 struct rvt_qp *qp) in __get_txreq()
H A Dipoib_main.c57 struct rvt_qp *qp; in hfi1_ipoib_dev_open()
111 struct rvt_qp *qp; in hfi1_ipoib_mcast_attach()
141 struct rvt_qp *qp; in hfi1_ipoib_mcast_detach()
H A Dud.c31 static void ud_loopback(struct rvt_qp *sqp, struct rvt_swqe *swqe) in ud_loopback()
36 struct rvt_qp *qp; in ud_loopback()
224 static void hfi1_make_bth_deth(struct rvt_qp *qp, struct rvt_swqe *wqe, in hfi1_make_bth_deth()
261 void hfi1_make_ud_req_9B(struct rvt_qp *qp, struct hfi1_pkt_state *ps, in hfi1_make_ud_req_9B()
332 void hfi1_make_ud_req_16B(struct rvt_qp *qp, struct hfi1_pkt_state *ps, in hfi1_make_ud_req_16B()
435 int hfi1_make_ud_req(struct rvt_qp *qp, struct hfi1_pkt_state *ps) in hfi1_make_ud_req()
591 void return_cnp_16B(struct hfi1_ibport *ibp, struct rvt_qp *qp, in return_cnp_16B()
653 void return_cnp(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, in return_cnp()
727 struct rvt_qp *qp, u16 slid, struct opa_smp *smp) in opa_smp_check()
819 struct rvt_qp *qp = packet->qp; in hfi1_ud_rcv()
H A Drc.c16 struct rvt_ack_entry *find_prev_entry(struct rvt_qp *qp, u32 psn, u8 *prev, in find_prev_entry()
67 static int make_rc_ack(struct hfi1_ibdev *dev, struct rvt_qp *qp, in make_rc_ack()
388 int hfi1_make_rc_req(struct rvt_qp *qp, struct hfi1_pkt_state *ps) in hfi1_make_rc_req()
1180 static inline void hfi1_make_bth_aeth(struct rvt_qp *qp, in hfi1_make_bth_aeth()
1198 struct rvt_qp *qp = packet->qp; in hfi1_queue_rc_ack()
1225 struct rvt_qp *qp = packet->qp; in hfi1_make_rc_ack_9B()
1278 struct rvt_qp *qp = packet->qp; in hfi1_make_rc_ack_16B()
1347 struct rvt_qp *qp = packet->qp; in hfi1_send_rc_ack()
1417 static void update_num_rd_atomic(struct rvt_qp *qp, u32 psn, in update_num_rd_atomic()
1458 static void reset_psn(struct rvt_qp *qp, u32 psn) in reset_psn()
[all …]
H A Dipoib.h127 struct rvt_qp *qp;
H A Dtrace_misc.h56 TP_PROTO(struct rvt_qp *qp, u8 opcode),
H A Duc.c22 int hfi1_make_uc_req(struct rvt_qp *qp, struct hfi1_pkt_state *ps) in hfi1_make_uc_req()
264 struct rvt_qp *qp = packet->qp; in hfi1_uc_rcv()
H A Dfault.c297 bool hfi1_dbg_should_fault_tx(struct rvt_qp *qp, u32 opcode) in hfi1_dbg_should_fault_tx()
/linux/include/rdma/
H A Drdmavt_qp.h333 struct rvt_qp { struct
339 struct rvt_qp __rcu *next; /* link list for QPN hash table */ argument
465 static inline struct rvt_qp *ibqp_to_rvtqp(struct ib_qp *ibqp) in ibqp_to_rvtqp() argument
467 return container_of(ibqp, struct rvt_qp, ibqp); in ibqp_to_rvtqp()
499 struct rvt_qp __rcu **qp_table;
511 struct rvt_qp *qp;
532 static inline struct rvt_swqe *rvt_get_swqe_ptr(struct rvt_qp *qp, in rvt_get_swqe_ptr()
557 static inline bool rvt_is_user_qp(struct rvt_qp *qp) in rvt_is_user_qp()
566 static inline void rvt_get_qp(struct rvt_qp *qp) in rvt_get_qp()
575 static inline void rvt_put_qp(struct rvt_qp *qp) in rvt_put_qp()
[all …]
/linux/drivers/infiniband/sw/rdmavt/
H A Dtrace_qp.h15 #define TRACE_SYSTEM rvt_qp
18 TP_PROTO(struct rvt_qp *qp, u32 bucket),
39 TP_PROTO(struct rvt_qp *qp, u32 bucket),
43 TP_PROTO(struct rvt_qp *qp, u32 bucket),
48 TP_PROTO(struct rvt_qp *qp, u32 to),
76 TP_PROTO(struct rvt_qp *qp, u32 to),
81 TP_PROTO(struct rvt_qp *qp, u32 to),
86 TP_PROTO(struct rvt_qp *qp, u32 to),
H A Dtrace_rc.h18 TP_PROTO(struct rvt_qp *qp, u32 psn),
57 TP_PROTO(struct rvt_qp *qp, u32 psn),
H A Drc.c52 __be32 rvt_compute_aeth(struct rvt_qp *qp) in rvt_compute_aeth()
121 void rvt_get_credit(struct rvt_qp *qp, u32 aeth) in rvt_get_credit()
H A Dtrace_tx.h49 TP_PROTO(struct rvt_qp *qp, struct rvt_swqe *wqe, int wr_num_sge),
116 TP_PROTO(struct rvt_qp *qp, struct rvt_swqe *wqe, u32 idx),