Searched refs:iwqp (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.10/drivers/infiniband/hw/i40iw/ |
| D | i40iw_verbs.c | 344 void i40iw_free_qp_resources(struct i40iw_qp *iwqp) in i40iw_free_qp_resources() argument 346 struct i40iw_pbl *iwpbl = &iwqp->iwpbl; in i40iw_free_qp_resources() 347 struct i40iw_device *iwdev = iwqp->iwdev; in i40iw_free_qp_resources() 348 u32 qp_num = iwqp->ibqp.qp_num; in i40iw_free_qp_resources() 350 i40iw_ieq_cleanup_qp(iwdev->vsi.ieq, &iwqp->sc_qp); in i40iw_free_qp_resources() 351 i40iw_dealloc_push_page(iwdev, &iwqp->sc_qp); in i40iw_free_qp_resources() 356 i40iw_free_dma_mem(iwdev->sc_dev.hw, &iwqp->q2_ctx_mem); in i40iw_free_qp_resources() 357 i40iw_free_dma_mem(iwdev->sc_dev.hw, &iwqp->kqp.dma_mem); in i40iw_free_qp_resources() 358 kfree(iwqp->kqp.wrid_mem); in i40iw_free_qp_resources() 359 iwqp->kqp.wrid_mem = NULL; in i40iw_free_qp_resources() [all …]
|
| D | i40iw_hw.c | 245 void i40iw_next_iw_state(struct i40iw_qp *iwqp, in i40iw_next_iw_state() argument 266 if (iwqp->sc_qp.term_flags && (state == I40IW_QP_STATE_ERROR)) in i40iw_next_iw_state() 268 iwqp->hw_iwarp_state = state; in i40iw_next_iw_state() 269 i40iw_hw_modify_qp(iwqp->iwdev, iwqp, &info, 0); in i40iw_next_iw_state() 284 struct i40iw_qp *iwqp = NULL; in i40iw_process_aeq() local 308 iwqp = iwdev->qp_table[info->qp_cq_id]; in i40iw_process_aeq() 309 if (!iwqp) { in i40iw_process_aeq() 316 i40iw_qp_add_ref(&iwqp->ibqp); in i40iw_process_aeq() 318 qp = &iwqp->sc_qp; in i40iw_process_aeq() 319 spin_lock_irqsave(&iwqp->lock, flags); in i40iw_process_aeq() [all …]
|
| D | i40iw_cm.c | 609 struct i40iw_qp *iwqp; in i40iw_event_connect_error() local 616 iwqp = cm_id->provider_data; in i40iw_event_connect_error() 618 if (!iwqp || !iwqp->iwdev) in i40iw_event_connect_error() 621 iwqp->cm_id = NULL; in i40iw_event_connect_error() 1158 struct i40iw_qp *iwqp; in i40iw_handle_close_entry() local 1163 iwqp = (struct i40iw_qp *)close_entry->sqbuf; in i40iw_handle_close_entry() 1164 if (iwqp) { in i40iw_handle_close_entry() 1165 spin_lock_irqsave(&iwqp->lock, flags); in i40iw_handle_close_entry() 1166 if (iwqp->cm_id) { in i40iw_handle_close_entry() 1167 iwqp->hw_tcp_state = I40IW_TCP_STATE_CLOSED; in i40iw_handle_close_entry() [all …]
|
| D | i40iw_utils.c | 605 struct i40iw_qp *iwqp = (struct i40iw_qp *)ibqp; in i40iw_qp_add_ref() local 607 refcount_inc(&iwqp->refcount); in i40iw_qp_add_ref() 616 struct i40iw_qp *iwqp; in i40iw_qp_rem_ref() local 621 iwqp = to_iwqp(ibqp); in i40iw_qp_rem_ref() 622 iwdev = iwqp->iwdev; in i40iw_qp_rem_ref() 624 if (!refcount_dec_and_test(&iwqp->refcount)) { in i40iw_qp_rem_ref() 629 qp_num = iwqp->ibqp.qp_num; in i40iw_qp_rem_ref() 632 complete(&iwqp->free_qp); in i40iw_qp_rem_ref() 851 struct i40iw_qp *iwqp; in i40iw_term_modify_qp() local 853 iwqp = (struct i40iw_qp *)qp->back_qp; in i40iw_term_modify_qp() [all …]
|
| D | i40iw.h | 526 void i40iw_cm_disconn(struct i40iw_qp *iwqp); 543 void i40iw_hw_modify_qp(struct i40iw_device *iwdev, struct i40iw_qp *iwqp, 557 void i40iw_free_qp_resources(struct i40iw_qp *iwqp); 569 void i40iw_next_iw_state(struct i40iw_qp *iwqp,
|
| D | i40iw_verbs.h | 120 struct i40iw_qp *iwqp; member
|
| D | i40iw_cm.h | 323 struct i40iw_qp *iwqp; member
|