Lines Matching defs:qp
1079 static int ocrdma_add_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp) in ocrdma_add_qpn_map()
1090 static void ocrdma_del_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp) in ocrdma_del_qpn_map()
1169 static int ocrdma_copy_qp_uresp(struct ocrdma_qp *qp, in ocrdma_copy_qp_uresp()
1228 static void ocrdma_set_qp_db(struct ocrdma_dev *dev, struct ocrdma_qp *qp, in ocrdma_set_qp_db()
1248 static int ocrdma_alloc_wr_id_tbl(struct ocrdma_qp *qp) in ocrdma_alloc_wr_id_tbl()
1263 static void ocrdma_set_qp_init_params(struct ocrdma_qp *qp, in ocrdma_set_qp_init_params()
1297 struct ocrdma_qp *qp = get_ocrdma_qp(ibqp); in ocrdma_create_qp() local
1366 struct ocrdma_qp *qp; in _ocrdma_modify_qp() local
1387 struct ocrdma_qp *qp; in ocrdma_modify_qp() local
1460 struct ocrdma_qp *qp = get_ocrdma_qp(ibqp); in ocrdma_query_qp() local
1554 static int is_hw_sq_empty(struct ocrdma_qp *qp) in is_hw_sq_empty()
1559 static int is_hw_rq_empty(struct ocrdma_qp *qp) in is_hw_rq_empty()
1586 static void ocrdma_discard_cqes(struct ocrdma_qp *qp, struct ocrdma_cq *cq) in ocrdma_discard_cqes()
1650 void ocrdma_del_flush_qp(struct ocrdma_qp *qp) in ocrdma_del_flush_qp()
1672 struct ocrdma_qp *qp; in ocrdma_destroy_qp() local
1874 static void ocrdma_build_ud_hdr(struct ocrdma_qp *qp, in ocrdma_build_ud_hdr()
1920 static int ocrdma_build_inline_sges(struct ocrdma_qp *qp, in ocrdma_build_inline_sges()
1960 static int ocrdma_build_send(struct ocrdma_qp *qp, struct ocrdma_hdr_wqe *hdr, in ocrdma_build_send()
1979 static int ocrdma_build_write(struct ocrdma_qp *qp, struct ocrdma_hdr_wqe *hdr, in ocrdma_build_write()
1997 static void ocrdma_build_read(struct ocrdma_qp *qp, struct ocrdma_hdr_wqe *hdr, in ocrdma_build_read()
2026 static int ocrdma_build_reg(struct ocrdma_qp *qp, in ocrdma_build_reg()
2082 static void ocrdma_ring_sq_db(struct ocrdma_qp *qp) in ocrdma_ring_sq_db()
2093 struct ocrdma_qp *qp = get_ocrdma_qp(ibqp); in ocrdma_post_send() local
2194 static void ocrdma_ring_rq_db(struct ocrdma_qp *qp) in ocrdma_ring_rq_db()
2227 struct ocrdma_qp *qp = get_ocrdma_qp(ibqp); in ocrdma_post_recv() local
2403 static void ocrdma_update_wc(struct ocrdma_qp *qp, struct ib_wc *ibwc, in ocrdma_update_wc()
2441 static void ocrdma_set_cqe_status_flushed(struct ocrdma_qp *qp, in ocrdma_set_cqe_status_flushed()
2474 struct ocrdma_qp *qp, int status) in ocrdma_update_err_cqe()
2496 struct ocrdma_qp *qp, int status) in ocrdma_update_err_rcqe()
2506 struct ocrdma_qp *qp, int status) in ocrdma_update_err_scqe()
2515 static bool ocrdma_poll_err_scqe(struct ocrdma_qp *qp, in ocrdma_poll_err_scqe()
2559 static bool ocrdma_poll_success_scqe(struct ocrdma_qp *qp, in ocrdma_poll_success_scqe()
2585 static bool ocrdma_poll_scqe(struct ocrdma_qp *qp, struct ocrdma_cqe *cqe, in ocrdma_poll_scqe()
2630 struct ocrdma_qp *qp) in ocrdma_update_free_srq_cqe()
2648 static bool ocrdma_poll_err_rcqe(struct ocrdma_qp *qp, struct ocrdma_cqe *cqe, in ocrdma_poll_err_rcqe()
2683 static void ocrdma_poll_success_rcqe(struct ocrdma_qp *qp, in ocrdma_poll_success_rcqe()
2717 static bool ocrdma_poll_rcqe(struct ocrdma_qp *qp, struct ocrdma_cqe *cqe, in ocrdma_poll_rcqe()
2762 struct ocrdma_qp *qp = NULL; in ocrdma_poll_hwcq() local
2816 struct ocrdma_qp *qp, struct ib_wc *ibwc) in ocrdma_add_err_cqe()
2847 struct ocrdma_qp *qp; in ocrdma_poll_cq() local