Searched refs:iwqp (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/drivers/infiniband/hw/irdma/ |
D | verbs.c | 258 static void irdma_alloc_push_page(struct irdma_qp *iwqp) in irdma_alloc_push_page() argument 262 struct irdma_device *iwdev = iwqp->iwdev; in irdma_alloc_push_page() 263 struct irdma_sc_qp *qp = &iwqp->sc_qp; in irdma_alloc_push_page() 471 static void irdma_clean_cqes(struct irdma_qp *iwqp, struct irdma_cq *iwcq) in irdma_clean_cqes() argument 477 irdma_uk_clean_cq(&iwqp->sc_qp.qp_uk, ukcq); in irdma_clean_cqes() 481 static void irdma_remove_push_mmap_entries(struct irdma_qp *iwqp) in irdma_remove_push_mmap_entries() argument 483 if (iwqp->push_db_mmap_entry) { in irdma_remove_push_mmap_entries() 484 rdma_user_mmap_entry_remove(iwqp->push_db_mmap_entry); in irdma_remove_push_mmap_entries() 485 iwqp->push_db_mmap_entry = NULL; in irdma_remove_push_mmap_entries() 487 if (iwqp->push_wqe_mmap_entry) { in irdma_remove_push_mmap_entries() [all …]
|
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 …]
|
D | utils.c | 738 struct irdma_qp *iwqp = (struct irdma_qp *)ibqp; in irdma_qp_add_ref() local 740 refcount_inc(&iwqp->refcnt); in irdma_qp_add_ref() 745 struct irdma_qp *iwqp = to_iwqp(ibqp); in irdma_qp_rem_ref() local 746 struct irdma_device *iwdev = iwqp->iwdev; in irdma_qp_rem_ref() 751 if (!refcount_dec_and_test(&iwqp->refcnt)) { in irdma_qp_rem_ref() 756 qp_num = iwqp->ibqp.qp_num; in irdma_qp_rem_ref() 759 complete(&iwqp->free_qp); in irdma_qp_rem_ref() 872 struct irdma_qp *iwqp; in irdma_term_modify_qp() local 874 iwqp = qp->qp_uk.back_qp; in irdma_term_modify_qp() 875 irdma_next_iw_state(iwqp, next_state, 0, term, term_len); in irdma_term_modify_qp() [all …]
|
D | hw.c | 210 struct irdma_qp *iwqp = NULL; in irdma_process_aeq() local 237 iwqp = rf->qp_table[info->qp_cq_id]; in irdma_process_aeq() 238 if (!iwqp) { in irdma_process_aeq() 250 irdma_qp_add_ref(&iwqp->ibqp); in irdma_process_aeq() 252 qp = &iwqp->sc_qp; in irdma_process_aeq() 253 spin_lock_irqsave(&iwqp->lock, flags); in irdma_process_aeq() 254 iwqp->hw_tcp_state = info->tcp_state; in irdma_process_aeq() 255 iwqp->hw_iwarp_state = info->iwarp_state; in irdma_process_aeq() 257 iwqp->last_aeq = info->ae_id; in irdma_process_aeq() 258 spin_unlock_irqrestore(&iwqp->lock, flags); in irdma_process_aeq() [all …]
|
D | main.h | 468 void irdma_free_lsmm_rsrc(struct irdma_qp *iwqp); 470 void irdma_flush_wqes(struct irdma_qp *iwqp, u32 flush_mask); 503 int irdma_hw_modify_qp(struct irdma_device *iwdev, struct irdma_qp *iwqp, 512 void irdma_free_qp_rsrc(struct irdma_qp *iwqp); 515 void irdma_next_iw_state(struct irdma_qp *iwqp, u8 state, u8 del_hash, u8 term, 532 int irdma_upload_qp_context(struct irdma_qp *iwqp, bool freeze, bool raw);
|
D | verbs.h | 140 struct irdma_qp *iwqp; member 239 void irdma_ib_qp_event(struct irdma_qp *iwqp, enum irdma_qp_event_type event); 240 void irdma_generate_flush_completions(struct irdma_qp *iwqp);
|
D | cm.h | 276 struct irdma_qp *iwqp; member
|