Home
last modified time | relevance | path

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

12

/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 Dtrace_tid.h195 TP_PROTO(struct rvt_qp *qp),
225 TP_PROTO(struct rvt_qp *qp),
231 TP_PROTO(struct rvt_qp *qp),
237 TP_PROTO(struct rvt_qp *qp),
243 TP_PROTO(struct rvt_qp *qp),
249 TP_PROTO(struct rvt_qp *qp),
255 TP_PROTO(struct rvt_qp *qp, u8 capcode, u64 data),
283 TP_PROTO(struct rvt_qp *qp, u8 capcode, u64 data),
289 TP_PROTO(struct rvt_qp *qp, u8 capcode, u64 data),
295 TP_PROTO(struct rvt_qp *qp, u8 capcode, u64 data),
[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 Dqp.c24 static void flush_tx_list(struct rvt_qp *qp);
33 static void qp_pio_drain(struct rvt_qp *qp);
122 static void flush_tx_list(struct rvt_qp *qp) in flush_tx_list()
130 static void flush_iowait(struct rvt_qp *qp) in flush_iowait()
160 int hfi1_check_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr, in hfi1_check_modify_qp()
202 static inline void qp_set_16b(struct rvt_qp *qp) in qp_set_16b()
222 void hfi1_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr, in hfi1_modify_qp()
263 int hfi1_setup_wqe(struct rvt_qp *qp, struct rvt_swqe *wqe, bool *call_send) in hfi1_setup_wqe()
323 bool _hfi1_schedule_send(struct rvt_qp *qp) in _hfi1_schedule_send()
340 static void qp_pio_drain(struct rvt_qp *qp) in qp_pio_drain()
[all …]
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 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 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 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 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 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 Dverbs.c101 static int pio_wait(struct rvt_qp *qp,
286 static u64 hfi1_fault_tx(struct rvt_qp *qp, u8 opcode, u64 pbc) in hfi1_fault_tx()
559 struct rvt_qp *qp = NULL; in mem_timer()
591 struct rvt_qp *qp = tx->qp; in verbs_sdma_complete()
609 void hfi1_wait_kmem(struct rvt_qp *qp) in hfi1_wait_kmem()
628 struct rvt_qp *qp, in wait_kmem()
697 static void update_tx_opstats(struct rvt_qp *qp, struct hfi1_pkt_state *ps, in update_tx_opstats()
797 int hfi1_verbs_send_dma(struct rvt_qp *qp, struct hfi1_pkt_state *ps, in hfi1_verbs_send_dma()
881 static int pio_wait(struct rvt_qp *qp, in pio_wait()
930 struct rvt_qp *qp = (struct rvt_qp *)arg; in verbs_pio_complete()
[all …]
/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 …]
H A Drdma_vt.h32 struct rvt_qp;
35 struct rvt_qp __rcu *qp[2];
213 bool (*schedule_send)(struct rvt_qp *qp);
214 bool (*schedule_send_no_lock)(struct rvt_qp *qp);
223 int (*setup_wqe)(struct rvt_qp *qp, struct rvt_swqe *wqe,
230 void (*do_send)(struct rvt_qp *qp);
245 void * (*qp_priv_alloc)(struct rvt_dev_info *rdi, struct rvt_qp *qp);
251 int (*qp_priv_init)(struct rvt_dev_info *rdi, struct rvt_qp *qp,
257 void (*qp_priv_free)(struct rvt_dev_info *rdi, struct rvt_qp *qp);
263 void (*notify_qp_reset)(struct rvt_qp *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 Dqp.c22 static void rvt_reset_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp,
421 static void rvt_free_qp_cb(struct rvt_qp *qp, u64 v) in rvt_free_qp_cb()
576 static void rvt_clear_mr_refs(struct rvt_qp *qp, int clr_sends) in rvt_clear_mr_refs()
636 static bool rvt_qp_sends_has_lkey(struct rvt_qp *qp, u32 lkey) in rvt_qp_sends_has_lkey()
660 static bool rvt_qp_acks_has_lkey(struct rvt_qp *qp, u32 lkey) in rvt_qp_acks_has_lkey()
685 void rvt_qp_mr_clean(struct rvt_qp *qp, u32 lkey) in rvt_qp_mr_clean()
726 static void rvt_remove_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp) in rvt_remove_qp()
742 struct rvt_qp *q; in rvt_remove_qp()
743 struct rvt_qp __rcu **qpp; in rvt_remove_qp()
820 static void rvt_init_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, in rvt_init_qp()
[all …]
H A Dmcast.c33 static struct rvt_mcast_qp *rvt_mcast_qp_alloc(struct rvt_qp *qp) in rvt_mcast_qp_alloc()
50 struct rvt_qp *qp = mqp->qp; in rvt_mcast_qp_free()
240 struct rvt_qp *qp = ibqp_to_rvtqp(ibqp); in rvt_attach_mcast()
303 struct rvt_qp *qp = ibqp_to_rvtqp(ibqp); in rvt_detach_mcast()
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()

12