Home
last modified time | relevance | path

Searched refs:cqp_request (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
H A Di40iw_utils.c362 struct i40iw_cqp_request *cqp_request = NULL; in i40iw_get_cqp_request() local
367 cqp_request = list_entry(cqp->cqp_avail_reqs.next, in i40iw_get_cqp_request()
369 list_del_init(&cqp_request->list); in i40iw_get_cqp_request()
372 if (!cqp_request) { in i40iw_get_cqp_request()
373 cqp_request = kzalloc(sizeof(*cqp_request), GFP_ATOMIC); in i40iw_get_cqp_request()
374 if (cqp_request) { in i40iw_get_cqp_request()
375 cqp_request->dynamic = true; in i40iw_get_cqp_request()
376 INIT_LIST_HEAD(&cqp_request->list); in i40iw_get_cqp_request()
377 init_waitqueue_head(&cqp_request in i40iw_get_cqp_request()
399 i40iw_free_cqp_request(struct i40iw_cqp *cqp, struct i40iw_cqp_request *cqp_request) i40iw_free_cqp_request() argument
423 i40iw_put_cqp_request(struct i40iw_cqp *cqp, struct i40iw_cqp_request *cqp_request) i40iw_put_cqp_request() argument
435 i40iw_free_pending_cqp_request(struct i40iw_cqp *cqp, struct i40iw_cqp_request *cqp_request) i40iw_free_pending_cqp_request() argument
459 struct i40iw_cqp_request *cqp_request = NULL; i40iw_cleanup_pending_cqp_op() local
485 i40iw_wait_event(struct i40iw_device *iwdev, struct i40iw_cqp_request *cqp_request) i40iw_wait_event() argument
531 i40iw_handle_cqp_op(struct i40iw_device *iwdev, struct i40iw_cqp_request *cqp_request) i40iw_handle_cqp_op() argument
794 struct i40iw_cqp_request *cqp_request; i40iw_cqp_sds_cmd() local
823 struct i40iw_cqp_request *cqp_request; i40iw_qp_suspend_resume() local
969 struct i40iw_cqp_request *cqp_request = i40iw_cqp_manage_hmc_fcn_worker() local
994 i40iw_cqp_manage_hmc_fcn_callback(struct i40iw_cqp_request *cqp_request, u32 unused) i40iw_cqp_manage_hmc_fcn_callback() argument
1026 struct i40iw_cqp_request *cqp_request; i40iw_cqp_manage_hmc_fcn_cmd() local
1060 struct i40iw_cqp_request *cqp_request; i40iw_cqp_query_fpm_values_cmd() local
1093 struct i40iw_cqp_request *cqp_request; i40iw_cqp_commit_fpm_values_cmd() local
1152 struct i40iw_cqp_request *cqp_request; i40iw_cqp_cq_create_cmd() local
1182 struct i40iw_cqp_request *cqp_request; i40iw_cqp_qp_create_cmd() local
1230 struct i40iw_cqp_request *cqp_request; i40iw_cqp_qp_destroy_cmd() local
[all...]
H A Di40iw_hw.c124 struct i40iw_cqp_request *cqp_request; in i40iw_cqp_ce_handler() local
135 cqp_request = (struct i40iw_cqp_request *)(unsigned long)info.scratch; in i40iw_cqp_ce_handler()
139 if (cqp_request) { in i40iw_cqp_ce_handler()
140 cqp_request->compl_info.maj_err_code = info.maj_err_code; in i40iw_cqp_ce_handler()
141 cqp_request->compl_info.min_err_code = info.min_err_code; in i40iw_cqp_ce_handler()
142 cqp_request->compl_info.op_ret_val = info.op_ret_val; in i40iw_cqp_ce_handler()
143 cqp_request->compl_info.error = info.error; in i40iw_cqp_ce_handler()
145 if (cqp_request->waiting) { in i40iw_cqp_ce_handler()
146 cqp_request->request_done = true; in i40iw_cqp_ce_handler()
147 wake_up(&cqp_request in i40iw_cqp_ce_handler()
448 struct i40iw_cqp_request *cqp_request; i40iw_cqp_manage_abvpt_cmd() local
531 struct i40iw_cqp_request *cqp_request; i40iw_manage_arp_cache() local
571 i40iw_send_syn_cqp_callback(struct i40iw_cqp_request *cqp_request, u32 send_ack) i40iw_send_syn_cqp_callback() argument
598 struct i40iw_cqp_request *cqp_request; i40iw_manage_qhash() local
675 struct i40iw_cqp_request *cqp_request; i40iw_hw_flush_wqes() local
731 struct i40iw_cqp_request *cqp_request; i40iw_gen_ae() local
763 struct i40iw_cqp_request *cqp_request; i40iw_hw_manage_vf_pble_bp() local
[all...]
H A Di40iw_verbs.c189 struct i40iw_cqp_request *cqp_request; in i40iw_alloc_push_page() local
196 cqp_request = i40iw_get_cqp_request(&iwdev->cqp, true); in i40iw_alloc_push_page()
197 if (!cqp_request) in i40iw_alloc_push_page()
200 atomic_inc(&cqp_request->refcount); in i40iw_alloc_push_page()
202 cqp_info = &cqp_request->info; in i40iw_alloc_push_page()
209 cqp_info->in.u.manage_push_page.scratch = (uintptr_t)cqp_request; in i40iw_alloc_push_page()
211 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_alloc_push_page()
213 qp->push_idx = cqp_request->compl_info.op_ret_val; in i40iw_alloc_push_page()
216 i40iw_put_cqp_request(&iwdev->cqp, cqp_request); in i40iw_alloc_push_page()
226 struct i40iw_cqp_request *cqp_request; in i40iw_dealloc_push_page() local
525 struct i40iw_cqp_request *cqp_request; i40iw_create_qp() local
778 struct i40iw_cqp_request *cqp_request; i40iw_hw_modify_qp() local
1020 struct i40iw_cqp_request *cqp_request; i40iw_cq_wq_destroy() local
1077 struct i40iw_cqp_request *cqp_request; i40iw_create_cq() local
1501 struct i40iw_cqp_request *cqp_request; i40iw_hw_alloc_stag() local
1671 struct i40iw_cqp_request *cqp_request; i40iw_hwreg_mr() local
1979 struct i40iw_cqp_request *cqp_request; i40iw_dereg_mr() local
[all...]
H A Di40iw_main.c1043 struct i40iw_cqp_request *cqp_request; in i40iw_del_macip_entry() local
1047 cqp_request = i40iw_get_cqp_request(iwcqp, true); in i40iw_del_macip_entry()
1048 if (!cqp_request) { in i40iw_del_macip_entry()
1049 i40iw_pr_err("cqp_request memory failed\n"); in i40iw_del_macip_entry()
1052 cqp_info = &cqp_request->info; in i40iw_del_macip_entry()
1056 cqp_info->in.u.del_local_mac_ipaddr_entry.scratch = (uintptr_t)cqp_request; in i40iw_del_macip_entry()
1059 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_del_macip_entry()
1076 struct i40iw_cqp_request *cqp_request; in i40iw_add_mac_ipaddr_entry() local
1080 cqp_request = i40iw_get_cqp_request(iwcqp, true); in i40iw_add_mac_ipaddr_entry()
1081 if (!cqp_request) { in i40iw_add_mac_ipaddr_entry()
1115 struct i40iw_cqp_request *cqp_request; i40iw_alloc_local_mac_ipaddr_entry() local
[all...]
H A Di40iw.h224 struct i40iw_cqp_request *cqp_request; member
429 void i40iw_free_cqp_request(struct i40iw_cqp *cqp, struct i40iw_cqp_request *cqp_request);
430 void i40iw_put_cqp_request(struct i40iw_cqp *cqp, struct i40iw_cqp_request *cqp_request);
531 struct i40iw_cqp_request *cqp_request);
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Dutils.c432 struct irdma_cqp_request *cqp_request = NULL; in irdma_alloc_and_get_cqp_request() local
437 cqp_request = list_first_entry(&cqp->cqp_avail_reqs, in irdma_alloc_and_get_cqp_request()
439 list_del_init(&cqp_request->list); in irdma_alloc_and_get_cqp_request()
442 if (!cqp_request) { in irdma_alloc_and_get_cqp_request()
443 cqp_request = kzalloc(sizeof(*cqp_request), GFP_ATOMIC); in irdma_alloc_and_get_cqp_request()
444 if (cqp_request) { in irdma_alloc_and_get_cqp_request()
445 cqp_request->dynamic = true; in irdma_alloc_and_get_cqp_request()
447 init_waitqueue_head(&cqp_request->waitq); in irdma_alloc_and_get_cqp_request()
450 if (!cqp_request) { in irdma_alloc_and_get_cqp_request()
466 irdma_get_cqp_request(struct irdma_cqp_request *cqp_request) irdma_get_cqp_request() argument
476 irdma_free_cqp_request(struct irdma_cqp *cqp, struct irdma_cqp_request *cqp_request) irdma_free_cqp_request() argument
500 irdma_put_cqp_request(struct irdma_cqp *cqp, struct irdma_cqp_request *cqp_request) irdma_put_cqp_request() argument
513 irdma_free_pending_cqp_request(struct irdma_cqp *cqp, struct irdma_cqp_request *cqp_request) irdma_free_pending_cqp_request() argument
535 struct irdma_cqp_request *cqp_request = NULL; irdma_cleanup_pending_cqp_op() local
563 irdma_wait_event(struct irdma_pci_f *rf, struct irdma_cqp_request *cqp_request) irdma_wait_event() argument
696 irdma_handle_cqp_op(struct irdma_pci_f *rf, struct irdma_cqp_request *cqp_request) irdma_handle_cqp_op() argument
835 struct irdma_cqp_request *cqp_request; irdma_cqp_sds_cmd() local
866 struct irdma_cqp_request *cqp_request; irdma_cqp_qp_suspend_resume() local
983 struct irdma_cqp_request *cqp_request; irdma_cqp_query_fpm_val_cmd() local
1017 struct irdma_cqp_request *cqp_request; irdma_cqp_commit_fpm_val_cmd() local
1051 struct irdma_cqp_request *cqp_request; irdma_cqp_cq_create_cmd() local
1080 struct irdma_cqp_request *cqp_request; irdma_cqp_qp_create_cmd() local
1113 struct irdma_cqp_request *cqp_request; irdma_dealloc_push_page() local
1176 struct irdma_cqp_request *cqp_request; irdma_cq_wq_destroy() local
1197 irdma_hw_modify_qp_callback(struct irdma_cqp_request *cqp_request) irdma_hw_modify_qp_callback() argument
1220 struct irdma_cqp_request *cqp_request; irdma_hw_modify_qp() local
1309 struct irdma_cqp_request *cqp_request; irdma_cqp_qp_destroy_cmd() local
1744 irdma_process_cqp_stats(struct irdma_cqp_request *cqp_request) irdma_process_cqp_stats() argument
1763 struct irdma_cqp_request *cqp_request; irdma_cqp_gather_stats_cmd() local
1800 struct irdma_cqp_request *cqp_request; irdma_cqp_stats_inst_cmd() local
1835 struct irdma_cqp_request *cqp_request; irdma_cqp_ceq_cmd() local
1865 struct irdma_cqp_request *cqp_request; irdma_cqp_aeq_cmd() local
1898 struct irdma_cqp_request *cqp_request; irdma_cqp_ws_node_cmd() local
1957 struct irdma_cqp_request *cqp_request; irdma_ah_cqp_op() local
2001 irdma_ieq_ah_cb(struct irdma_cqp_request *cqp_request) irdma_ieq_ah_cb() argument
2022 irdma_ilq_ah_cb(struct irdma_cqp_request *cqp_request) irdma_ilq_ah_cb() argument
2106 irdma_gsi_ud_qp_ah_cb(struct irdma_cqp_request *cqp_request) irdma_gsi_ud_qp_ah_cb() argument
[all...]
H A Dhw.c2077 struct irdma_cqp_request *cqp_request; in irdma_cqp_ce_handler() local
2092 cqp_request = (struct irdma_cqp_request *) in irdma_cqp_ce_handler()
2094 if (info.error && irdma_cqp_crit_err(dev, cqp_request->info.cqp_cmd, in irdma_cqp_ce_handler()
2099 if (cqp_request) { in irdma_cqp_ce_handler()
2100 cqp_request->compl_info.maj_err_code = info.maj_err_code; in irdma_cqp_ce_handler()
2101 cqp_request->compl_info.min_err_code = info.min_err_code; in irdma_cqp_ce_handler()
2102 cqp_request->compl_info.op_ret_val = info.op_ret_val; in irdma_cqp_ce_handler()
2103 cqp_request->compl_info.error = info.error; in irdma_cqp_ce_handler()
2105 if (cqp_request->waiting) { in irdma_cqp_ce_handler()
2106 WRITE_ONCE(cqp_request in irdma_cqp_ce_handler()
2199 struct irdma_cqp_request *cqp_request; irdma_del_local_mac_entry() local
2229 struct irdma_cqp_request *cqp_request; irdma_add_local_mac_entry() local
2265 struct irdma_cqp_request *cqp_request; irdma_alloc_local_mac_entry() local
2297 struct irdma_cqp_request *cqp_request; irdma_cqp_manage_apbvt_cmd() local
2400 struct irdma_cqp_request *cqp_request; irdma_manage_arp_cache() local
2440 irdma_send_syn_cqp_callback(struct irdma_cqp_request *cqp_request) irdma_send_syn_cqp_callback() argument
2464 struct irdma_cqp_request *cqp_request; irdma_manage_qhash() local
2545 irdma_hw_flush_wqes_callback(struct irdma_cqp_request *cqp_request) irdma_hw_flush_wqes_callback() argument
2590 struct irdma_cqp_request *cqp_request; irdma_hw_flush_wqes() local
2698 struct irdma_cqp_request *cqp_request; irdma_gen_ae() local
[all...]
H A Dverbs.c231 struct irdma_cqp_request *cqp_request; in irdma_alloc_push_page() local
237 cqp_request = irdma_alloc_and_get_cqp_request(&iwdev->rf->cqp, true); in irdma_alloc_push_page()
238 if (!cqp_request) in irdma_alloc_push_page()
241 cqp_info = &cqp_request->info; in irdma_alloc_push_page()
250 cqp_info->in.u.manage_push_page.scratch = (uintptr_t)cqp_request; in irdma_alloc_push_page()
252 status = irdma_handle_cqp_op(iwdev->rf, cqp_request); in irdma_alloc_push_page()
253 if (!status && cqp_request->compl_info.op_ret_val < in irdma_alloc_push_page()
255 qp->push_idx = cqp_request->compl_info.op_ret_val; in irdma_alloc_push_page()
259 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_alloc_push_page()
734 struct irdma_cqp_request *cqp_request; in irdma_cqp_create_qp_cmd() local
1889 struct irdma_cqp_request *cqp_request; irdma_resize_cq() local
2054 struct irdma_cqp_request *cqp_request; irdma_create_cq() local
2541 struct irdma_cqp_request *cqp_request; irdma_hw_alloc_mw() local
2607 struct irdma_cqp_request *cqp_request; irdma_dealloc_mw() local
2644 struct irdma_cqp_request *cqp_request; irdma_hw_alloc_stag() local
2790 struct irdma_cqp_request *cqp_request; irdma_hwreg_mr() local
3228 struct irdma_cqp_request *cqp_request; irdma_dereg_mr() local
3982 struct irdma_cqp_request *cqp_request; irdma_mcast_cqp_op() local
[all...]
H A Dmain.h161 void (*callback_fcn)(struct irdma_cqp_request *cqp_request);
485 struct irdma_cqp_request *cqp_request);
487 struct irdma_cqp_request *cqp_request);
499 struct irdma_cqp_request *cqp_request);
543 void (*callback_fcn)(struct irdma_cqp_request *cqp_request),
545 void irdma_gsi_ud_qp_ah_cb(struct irdma_cqp_request *cqp_request);

Completed in 16 milliseconds