Searched refs:iwqp (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/infiniband/hw/irdma/ |
H A D | verbs.c | 229 static void irdma_alloc_push_page(struct irdma_qp *iwqp) in irdma_alloc_push_page() argument 233 struct irdma_device *iwdev = iwqp->iwdev; in irdma_alloc_push_page() 234 struct irdma_sc_qp *qp = &iwqp->sc_qp; in irdma_alloc_push_page() 457 static void irdma_clean_cqes(struct irdma_qp *iwqp, struct irdma_cq *iwcq) in irdma_clean_cqes() argument 463 irdma_uk_clean_cq(&iwqp->sc_qp.qp_uk, ukcq); in irdma_clean_cqes() 467 static void irdma_remove_push_mmap_entries(struct irdma_qp *iwqp) in irdma_remove_push_mmap_entries() argument 469 if (iwqp->push_db_mmap_entry) { in irdma_remove_push_mmap_entries() 470 rdma_user_mmap_entry_remove(iwqp->push_db_mmap_entry); in irdma_remove_push_mmap_entries() 471 iwqp->push_db_mmap_entry = NULL; in irdma_remove_push_mmap_entries() 473 if (iwqp->push_wqe_mmap_entry) { in irdma_remove_push_mmap_entries() [all …]
|
H A D | cm.c | 663 struct irdma_qp *iwqp; in irdma_event_connect_error() local 670 iwqp = cm_id->provider_data; in irdma_event_connect_error() 672 if (!iwqp || !iwqp->iwdev) in irdma_event_connect_error() 675 iwqp->cm_id = NULL; in irdma_event_connect_error() 1228 struct irdma_qp *iwqp; in irdma_handle_close_entry() local 1233 iwqp = (struct irdma_qp *)close_entry->sqbuf; in irdma_handle_close_entry() 1234 if (iwqp) { in irdma_handle_close_entry() 1235 spin_lock_irqsave(&iwqp->lock, flags); in irdma_handle_close_entry() 1236 if (iwqp->cm_id) { in irdma_handle_close_entry() 1237 iwqp->hw_tcp_state = IRDMA_TCP_STATE_CLOSED; in irdma_handle_close_entry() [all …]
|
H A D | utils.c | 739 struct irdma_qp *iwqp = (struct irdma_qp *)ibqp; in irdma_qp_add_ref() local 741 refcount_inc(&iwqp->refcnt); in irdma_qp_add_ref() 746 struct irdma_qp *iwqp = to_iwqp(ibqp); in irdma_qp_rem_ref() local 747 struct irdma_device *iwdev = iwqp->iwdev; in irdma_qp_rem_ref() 752 if (!refcount_dec_and_test(&iwqp->refcnt)) { in irdma_qp_rem_ref() 757 qp_num = iwqp->ibqp.qp_num; in irdma_qp_rem_ref() 760 complete(&iwqp->free_qp); in irdma_qp_rem_ref() 898 struct irdma_qp *iwqp; in irdma_term_modify_qp() local 900 iwqp = qp->qp_uk.back_qp; in irdma_term_modify_qp() 901 irdma_next_iw_state(iwqp, next_state, 0, term, term_len); in irdma_term_modify_qp() [all …]
|
H A D | hw.c | 221 struct irdma_qp *iwqp = NULL; in irdma_process_aeq() local 247 iwqp = rf->qp_table[info->qp_cq_id]; in irdma_process_aeq() 248 if (!iwqp) { in irdma_process_aeq() 260 irdma_qp_add_ref(&iwqp->ibqp); in irdma_process_aeq() 262 qp = &iwqp->sc_qp; in irdma_process_aeq() 263 spin_lock_irqsave(&iwqp->lock, flags); in irdma_process_aeq() 264 iwqp->hw_tcp_state = info->tcp_state; in irdma_process_aeq() 265 iwqp->hw_iwarp_state = info->iwarp_state; in irdma_process_aeq() 267 iwqp->last_aeq = info->ae_id; in irdma_process_aeq() 268 spin_unlock_irqrestore(&iwqp->lock, flags); in irdma_process_aeq() [all …]
|
H A D | main.h | 473 void irdma_free_lsmm_rsrc(struct irdma_qp *iwqp); 475 void irdma_flush_wqes(struct irdma_qp *iwqp, u32 flush_mask); 510 int irdma_hw_modify_qp(struct irdma_device *iwdev, struct irdma_qp *iwqp, 519 void irdma_free_qp_rsrc(struct irdma_qp *iwqp); 522 void irdma_next_iw_state(struct irdma_qp *iwqp, u8 state, u8 del_hash, u8 term, 539 int irdma_upload_qp_context(struct irdma_qp *iwqp, bool freeze, bool raw);
|
H A D | verbs.h | 145 struct irdma_qp *iwqp; member 298 void irdma_ib_qp_event(struct irdma_qp *iwqp, enum irdma_qp_event_type event); 299 void irdma_generate_flush_completions(struct irdma_qp *iwqp);
|
H A D | cm.h | 276 struct irdma_qp *iwqp; member
|