Searched refs:iwqp (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/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() 481 static void irdma_clean_cqes(struct irdma_qp *iwqp, struct irdma_cq *iwcq) in irdma_clean_cqes() argument 487 irdma_uk_clean_cq(&iwqp->sc_qp.qp_uk, ukcq); in irdma_clean_cqes() 491 static void irdma_remove_push_mmap_entries(struct irdma_qp *iwqp) in irdma_remove_push_mmap_entries() argument 493 if (iwqp->push_db_mmap_entry) { in irdma_remove_push_mmap_entries() 494 rdma_user_mmap_entry_remove(iwqp->push_db_mmap_entry); in irdma_remove_push_mmap_entries() 495 iwqp->push_db_mmap_entry = NULL; in irdma_remove_push_mmap_entries() 497 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 | 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() 873 struct irdma_qp *iwqp; in irdma_term_modify_qp() local 875 iwqp = qp->qp_uk.back_qp; in irdma_term_modify_qp() 876 irdma_next_iw_state(iwqp, next_state, 0, term, term_len); in irdma_term_modify_qp() [all …]
|
D | hw.c | 219 struct irdma_qp *iwqp = NULL; in irdma_process_aeq() local 246 iwqp = rf->qp_table[info->qp_cq_id]; in irdma_process_aeq() 247 if (!iwqp) { in irdma_process_aeq() 259 irdma_qp_add_ref(&iwqp->ibqp); in irdma_process_aeq() 261 qp = &iwqp->sc_qp; in irdma_process_aeq() 262 spin_lock_irqsave(&iwqp->lock, flags); in irdma_process_aeq() 263 iwqp->hw_tcp_state = info->tcp_state; in irdma_process_aeq() 264 iwqp->hw_iwarp_state = info->iwarp_state; in irdma_process_aeq() 266 iwqp->last_aeq = info->ae_id; in irdma_process_aeq() 267 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
|