/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | qp.h | 83 struct hfi1_qp __rcu **qp_table; 101 static inline struct hfi1_qp *hfi1_lookup_qpn(struct hfi1_ibport *ibp, in hfi1_lookup_qpn() 104 struct hfi1_qp *qp = NULL; in hfi1_lookup_qpn() 124 static inline void clear_ahg(struct hfi1_qp *qp) in clear_ahg() 144 int hfi1_error_qp(struct hfi1_qp *qp, enum ib_wc_status err); 167 __be32 hfi1_compute_aeth(struct hfi1_qp *qp); 200 void hfi1_get_credit(struct hfi1_qp *qp, u32 aeth); 219 void hfi1_qp_wakeup(struct hfi1_qp *qp, u32 flag); 221 struct sdma_engine *qp_to_sdma_engine(struct hfi1_qp *qp, u8 sc5); 248 void qp_comm_est(struct hfi1_qp *qp);
|
D | verbs.h | 224 struct hfi1_qp *qp; 435 struct hfi1_qp { struct 440 struct hfi1_qp __rcu *next; /* link list for QPN hash table */ argument 628 static inline struct hfi1_swqe *get_swqe_ptr(struct hfi1_qp *qp, in get_swqe_ptr() 679 struct hfi1_qp __rcu *qp[2]; 825 static inline struct hfi1_qp *to_iqp(struct ib_qp *ibqp) in to_iqp() 827 return container_of(ibqp, struct hfi1_qp, ibqp); in to_iqp() 839 static inline int hfi1_send_ok(struct hfi1_qp *qp) in hfi1_send_ok() 849 void hfi1_schedule_send(struct hfi1_qp *qp); 930 int hfi1_verbs_send(struct hfi1_qp *qp, struct ahg_ib_header *ahdr, [all …]
|
D | qp.c | 70 static void flush_tx_list(struct hfi1_qp *qp); 232 static void insert_qp(struct hfi1_ibdev *dev, struct hfi1_qp *qp) in insert_qp() 257 static void remove_qp(struct hfi1_ibdev *dev, struct hfi1_qp *qp) in remove_qp() 273 struct hfi1_qp *q; in remove_qp() 274 struct hfi1_qp __rcu **qpp; in remove_qp() 311 struct hfi1_qp *qp; in free_all_qps() 350 static void reset_qp(struct hfi1_qp *qp, enum ib_qp_type type) in reset_qp() 403 static void clear_mr_refs(struct hfi1_qp *qp, int clr_sends) in clear_mr_refs() 459 int hfi1_error_qp(struct hfi1_qp *qp, enum ib_wc_status err) in hfi1_error_qp() 544 static void flush_tx_list(struct hfi1_qp *qp) in flush_tx_list() [all …]
|
D | ruc.c | 100 static int init_sge(struct hfi1_qp *qp, struct hfi1_rwqe *wqe) in init_sge() 157 int hfi1_get_rwqe(struct hfi1_qp *qp, int wr_id_only) in hfi1_get_rwqe() 248 void hfi1_migrate_qp(struct hfi1_qp *qp) in hfi1_migrate_qp() 288 int has_grh, struct hfi1_qp *qp, u32 bth0) in hfi1_ruc_check_hdr() 376 static void ruc_loopback(struct hfi1_qp *sqp) in ruc_loopback() 379 struct hfi1_qp *qp; in ruc_loopback() 711 static inline void build_ahg(struct hfi1_qp *qp, u32 npsn) in build_ahg() 757 void hfi1_make_ruc_header(struct hfi1_qp *qp, struct hfi1_other_headers *ohdr, in hfi1_make_ruc_header() 837 struct hfi1_qp *qp = container_of(wait, struct hfi1_qp, s_iowait); in hfi1_do_send() 840 int (*make_req)(struct hfi1_qp *qp); in hfi1_do_send() [all …]
|
D | verbs_mcast.c | 59 static struct hfi1_mcast_qp *mcast_qp_alloc(struct hfi1_qp *qp) in mcast_qp_alloc() 76 struct hfi1_qp *qp = mqp->qp; in mcast_qp_free() 244 struct hfi1_qp *qp = to_iqp(ibqp); in hfi1_multicast_attach() 302 struct hfi1_qp *qp = to_iqp(ibqp); in hfi1_multicast_detach()
|
D | rc.c | 77 static void start_timer(struct hfi1_qp *qp) in start_timer() 97 static int make_rc_ack(struct hfi1_ibdev *dev, struct hfi1_qp *qp, in make_rc_ack() 260 int hfi1_make_rc_req(struct hfi1_qp *qp) in hfi1_make_rc_req() 685 void hfi1_send_rc_ack(struct hfi1_ctxtdata *rcd, struct hfi1_qp *qp, in hfi1_send_rc_ack() 796 static void reset_psn(struct hfi1_qp *qp, u32 psn) in reset_psn() 882 static void restart_rc(struct hfi1_qp *qp, u32 psn, int wait) in restart_rc() 919 struct hfi1_qp *qp = (struct hfi1_qp *)arg; in rc_timeout() 943 struct hfi1_qp *qp = (struct hfi1_qp *)arg; in hfi1_rc_rnr_retry() 959 static void reset_sending_psn(struct hfi1_qp *qp, u32 psn) in reset_sending_psn() 984 void hfi1_rc_send_complete(struct hfi1_qp *qp, struct hfi1_ib_header *hdr) in hfi1_rc_send_complete() [all …]
|
D | verbs.c | 361 static int post_one_send(struct hfi1_qp *qp, struct ib_send_wr *wr) in post_one_send() 486 struct hfi1_qp *qp = to_iqp(ibqp); in post_send() 531 struct hfi1_qp *qp = to_iqp(ibqp); in post_receive() 696 struct hfi1_qp *qp = NULL; in mem_timer() 703 qp = container_of(wait, struct hfi1_qp, s_iowait); in mem_timer() 737 struct hfi1_qp *qp) in __get_txreq() 763 struct hfi1_qp *qp) in get_txreq() 781 struct hfi1_qp *qp; in hfi1_put_txreq() 806 qp = container_of(wait, struct hfi1_qp, s_iowait); in hfi1_put_txreq() 827 struct hfi1_qp *qp = tx->qp; in verbs_sdma_complete() [all …]
|
D | trace.h | 297 TP_PROTO(struct hfi1_qp *qp, u32 flags), 321 TP_PROTO(struct hfi1_qp *qp, u32 flags), 325 TP_PROTO(struct hfi1_qp *qp, u32 flags), 331 TP_PROTO(struct hfi1_qp *qp, u32 bucket), 352 TP_PROTO(struct hfi1_qp *qp, u32 bucket), 356 TP_PROTO(struct hfi1_qp *qp, u32 bucket), 1256 TP_PROTO(struct hfi1_qp *qp, u32 psn), 1295 TP_PROTO(struct hfi1_qp *qp, u32 psn), 1300 TP_PROTO(struct hfi1_qp *qp, u32 psn), 1305 TP_PROTO(struct hfi1_qp *qp, u32 psn), [all …]
|
D | ud.c | 68 static void ud_loopback(struct hfi1_qp *sqp, struct hfi1_swqe *swqe) in ud_loopback() 72 struct hfi1_qp *qp; in ud_loopback() 266 int hfi1_make_ud_req(struct hfi1_qp *qp) in hfi1_make_ud_req() 479 void return_cnp(struct hfi1_ibport *ibp, struct hfi1_qp *qp, u32 remote_qpn, in return_cnp() 553 struct hfi1_qp *qp, u16 slid, struct opa_smp *smp) in opa_smp_check() 657 struct hfi1_qp *qp = packet->qp; in hfi1_ud_rcv()
|
D | hfi.h | 331 struct hfi1_qp *qp; 1064 int (*process_pio_send)(struct hfi1_qp *qp, struct ahg_ib_header *ibhdr, 1067 int (*process_dma_send)(struct hfi1_qp *qp, struct ahg_ib_header *ibhdr, 1225 void return_cnp(struct hfi1_ibport *ibp, struct hfi1_qp *qp, u32 remote_qpn, 1417 int snoop_send_dma_handler(struct hfi1_qp *qp, struct ahg_ib_header *ibhdr, 1420 int snoop_send_pio_handler(struct hfi1_qp *qp, struct ahg_ib_header *ibhdr,
|
D | driver.c | 304 struct hfi1_qp *qp; in rcv_hdrerr() 373 struct hfi1_qp *qp = NULL; in rcv_hdrerr() 442 static void process_ecn(struct hfi1_qp *qp, struct hfi1_ib_header *hdr, in process_ecn() 569 struct hfi1_qp *qp; in prescan_rxq() 713 struct hfi1_qp *qp, *nqp; in process_rcv_qp_work()
|
D | uc.c | 64 int hfi1_make_uc_req(struct hfi1_qp *qp) in hfi1_make_uc_req() 269 struct hfi1_qp *qp = packet->qp; in hfi1_uc_rcv()
|
D | keys.c | 274 int hfi1_rkey_ok(struct hfi1_qp *qp, struct hfi1_sge *sge, in hfi1_rkey_ok()
|
D | pio.c | 1498 struct hfi1_qp *qps[PIO_WAIT_BATCH_SIZE]; in sc_piobufavail() 1499 struct hfi1_qp *qp; in sc_piobufavail() 1519 qp = container_of(wait, struct hfi1_qp, s_iowait); in sc_piobufavail()
|
D | sdma.h | 382 struct hfi1_qp *qp;
|
D | diag.c | 1621 int snoop_send_dma_handler(struct hfi1_qp *qp, struct ahg_ib_header *ibhdr, in snoop_send_dma_handler() 1636 int snoop_send_pio_handler(struct hfi1_qp *qp, struct ahg_ib_header *ahdr, in snoop_send_pio_handler()
|