/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | qp.h | 91 static inline int hfi1_send_ok(struct rvt_qp *qp) in hfi1_send_ok() 104 static inline void clear_ahg(struct rvt_qp *qp) in clear_ahg() 120 void hfi1_qp_wakeup(struct rvt_qp *qp, u32 flag); 122 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5); 123 struct send_context *qp_to_send_context(struct rvt_qp *qp, u8 sc5); 127 bool _hfi1_schedule_send(struct rvt_qp *qp); 128 bool hfi1_schedule_send(struct rvt_qp *qp); 130 void hfi1_migrate_qp(struct rvt_qp *qp); 135 void *qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp); 136 void qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *q [all...] |
H A D | tid_rdma.h | 98 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 *q [all...] |
H A D | trace_tid.h | 195 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 *q [all...] |
H A D | verbs.h | 172 struct rvt_qp *owner; 269 struct rvt_qp __rcu *qp[2]; 315 static inline struct rvt_qp *iowait_to_qp(struct iowait *s_iowait) in iowait_to_qp() 403 int hfi1_verbs_send(struct rvt_qp *qp, struct hfi1_pkt_state *ps); 414 struct rvt_qp *qp); 418 void hfi1_rc_verbs_aborted(struct rvt_qp *qp, struct hfi1_opa_header *opah); 419 void hfi1_rc_send_complete(struct rvt_qp *qp, struct hfi1_opa_header *opah); 425 void hfi1_migrate_qp(struct rvt_qp *qp); 427 int hfi1_check_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr, 430 void hfi1_modify_qp(struct rvt_qp *q [all...] |
H A D | qp.c | 66 static void flush_tx_list(struct rvt_qp *qp); 75 static void qp_pio_drain(struct rvt_qp *qp); 164 static void flush_tx_list(struct rvt_qp *qp) in flush_tx_list() 172 static void flush_iowait(struct rvt_qp *qp) in flush_iowait() 202 int hfi1_check_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr, in hfi1_check_modify_qp() 244 static inline void qp_set_16b(struct rvt_qp *qp) in qp_set_16b() 264 void hfi1_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr, in hfi1_modify_qp() 305 int hfi1_setup_wqe(struct rvt_qp *qp, struct rvt_swqe *wqe, bool *call_send) in hfi1_setup_wqe() 364 bool _hfi1_schedule_send(struct rvt_qp *qp) in _hfi1_schedule_send() 381 static void qp_pio_drain(struct rvt_qp *q [all...] |
H A D | opfn.h | 78 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 D | opfn.c | 17 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 *q [all...] |
H A D | rc.h | 13 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 D | trace_rc.h | 59 TP_PROTO(struct rvt_qp *qp, u32 psn), 98 TP_PROTO(struct rvt_qp *qp, u32 psn), 103 TP_PROTO(struct rvt_qp *qp, u32 psn), 108 TP_PROTO(struct rvt_qp *qp, u32 psn), 114 TP_PROTO(struct rvt_qp *qp, u32 psn), 120 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn, 155 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | qp.h | 49 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 *q [all...] |
H A D | tid_rdma.h | 98 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 *q [all...] |
H A D | trace_tid.h | 195 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 *q [all...] |
H A D | verbs.h | 130 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 *q [all...] |
H A D | qp.c | 24 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 *q [all...] |
H A D | opfn.h | 78 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 D | opfn.c | 17 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 *q [all...] |
H A D | rc.h | 13 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,
|
/kernel/linux/linux-5.10/include/rdma/ |
H A D | rdmavt_qp.h | 332 struct rvt_qp { struct 338 struct rvt_qp __rcu *next; /* link list for QPN hash table */ 464 static inline struct rvt_qp *ibqp_to_rvtqp(struct ib_qp *ibqp) in ibqp_to_rvtqp() 466 return container_of(ibqp, struct rvt_qp, ibqp); in ibqp_to_rvtqp() 498 struct rvt_qp __rcu **qp_table; 510 struct rvt_qp *qp; 529 * struct rvt_qp.s_wq. This function does the array index computation. 531 static inline struct rvt_swqe *rvt_get_swqe_ptr(struct rvt_qp *qp, in rvt_get_swqe_ptr() 556 static inline bool rvt_is_user_qp(struct rvt_qp *qp) in rvt_is_user_qp() 565 static inline void rvt_get_qp(struct rvt_qp *q [all...] |
H A D | rdma_vt.h | 32 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 *q [all...] |
/kernel/linux/linux-6.6/include/rdma/ |
H A D | rdmavt_qp.h | 332 struct rvt_qp { struct 338 struct rvt_qp __rcu *next; /* link list for QPN hash table */ 464 static inline struct rvt_qp *ibqp_to_rvtqp(struct ib_qp *ibqp) in ibqp_to_rvtqp() 466 return container_of(ibqp, struct rvt_qp, ibqp); in ibqp_to_rvtqp() 498 struct rvt_qp __rcu **qp_table; 510 struct rvt_qp *qp; 529 * struct rvt_qp.s_wq. This function does the array index computation. 531 static inline struct rvt_swqe *rvt_get_swqe_ptr(struct rvt_qp *qp, in rvt_get_swqe_ptr() 556 static inline bool rvt_is_user_qp(struct rvt_qp *qp) in rvt_is_user_qp() 565 static inline void rvt_get_qp(struct rvt_qp *q [all...] |
H A D | rdma_vt.h | 32 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 *q [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_verbs.h | 123 struct rvt_qp *owner; 218 static inline int qib_send_ok(struct rvt_qp *qp) in qib_send_ok() 225 bool _qib_schedule_send(struct rvt_qp *qp); 226 bool qib_schedule_send(struct rvt_qp *qp); 272 void *qib_qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp); 273 void qib_qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp); 274 void qib_notify_qp_reset(struct rvt_qp *qp); 277 void qib_restart_rc(struct rvt_qp *qp, u32 psn, int wait); 290 int qib_verbs_send(struct rvt_qp *qp, struct ib_header *hdr, 294 int has_grh, void *data, u32 tlen, struct rvt_qp *q [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_verbs.h | 123 struct rvt_qp *owner; 218 static inline int qib_send_ok(struct rvt_qp *qp) in qib_send_ok() 225 bool _qib_schedule_send(struct rvt_qp *qp); 226 bool qib_schedule_send(struct rvt_qp *qp); 272 void *qib_qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp); 273 void qib_qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp); 274 void qib_notify_qp_reset(struct rvt_qp *qp); 277 void qib_restart_rc(struct rvt_qp *qp, u32 psn, int wait); 290 int qib_verbs_send(struct rvt_qp *qp, struct ib_header *hdr, 294 int has_grh, void *data, u32 tlen, struct rvt_qp *q [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
H A D | trace_qp.h | 57 #define TRACE_SYSTEM rvt_qp 60 TP_PROTO(struct rvt_qp *qp, u32 bucket), 81 TP_PROTO(struct rvt_qp *qp, u32 bucket), 85 TP_PROTO(struct rvt_qp *qp, u32 bucket), 90 TP_PROTO(struct rvt_qp *qp, u32 to), 118 TP_PROTO(struct rvt_qp *qp, u32 to), 123 TP_PROTO(struct rvt_qp *qp, u32 to), 128 TP_PROTO(struct rvt_qp *qp, u32 to),
|
/kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/ |
H A D | trace_qp.h | 15 #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),
|