Lines Matching refs:pcmdinfo

4982 			      struct cqp_cmds_info *pcmdinfo)  in irdma_exec_cqp_cmd()  argument
4988 dev->cqp_cmd_stats[pcmdinfo->cqp_cmd]++; in irdma_exec_cqp_cmd()
4989 switch (pcmdinfo->cqp_cmd) { in irdma_exec_cqp_cmd()
4991 status = irdma_sc_ceq_destroy(pcmdinfo->in.u.ceq_destroy.ceq, in irdma_exec_cqp_cmd()
4992 pcmdinfo->in.u.ceq_destroy.scratch, in irdma_exec_cqp_cmd()
4993 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
4996 status = irdma_sc_aeq_destroy(pcmdinfo->in.u.aeq_destroy.aeq, in irdma_exec_cqp_cmd()
4997 pcmdinfo->in.u.aeq_destroy.scratch, in irdma_exec_cqp_cmd()
4998 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5002 status = irdma_sc_ceq_create(pcmdinfo->in.u.ceq_create.ceq, in irdma_exec_cqp_cmd()
5003 pcmdinfo->in.u.ceq_create.scratch, in irdma_exec_cqp_cmd()
5004 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5007 status = irdma_sc_aeq_create(pcmdinfo->in.u.aeq_create.aeq, in irdma_exec_cqp_cmd()
5008 pcmdinfo->in.u.aeq_create.scratch, in irdma_exec_cqp_cmd()
5009 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5012 status = irdma_sc_qp_upload_context(pcmdinfo->in.u.qp_upload_context.dev, in irdma_exec_cqp_cmd()
5013 &pcmdinfo->in.u.qp_upload_context.info, in irdma_exec_cqp_cmd()
5014 pcmdinfo->in.u.qp_upload_context.scratch, in irdma_exec_cqp_cmd()
5015 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5018 status = irdma_sc_cq_create(pcmdinfo->in.u.cq_create.cq, in irdma_exec_cqp_cmd()
5019 pcmdinfo->in.u.cq_create.scratch, in irdma_exec_cqp_cmd()
5020 pcmdinfo->in.u.cq_create.check_overflow, in irdma_exec_cqp_cmd()
5021 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5024 status = irdma_sc_cq_modify(pcmdinfo->in.u.cq_modify.cq, in irdma_exec_cqp_cmd()
5025 &pcmdinfo->in.u.cq_modify.info, in irdma_exec_cqp_cmd()
5026 pcmdinfo->in.u.cq_modify.scratch, in irdma_exec_cqp_cmd()
5027 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5030 status = irdma_sc_cq_destroy(pcmdinfo->in.u.cq_destroy.cq, in irdma_exec_cqp_cmd()
5031 pcmdinfo->in.u.cq_destroy.scratch, in irdma_exec_cqp_cmd()
5032 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5035 status = irdma_sc_qp_flush_wqes(pcmdinfo->in.u.qp_flush_wqes.qp, in irdma_exec_cqp_cmd()
5036 &pcmdinfo->in.u.qp_flush_wqes.info, in irdma_exec_cqp_cmd()
5037 pcmdinfo->in.u.qp_flush_wqes.scratch, in irdma_exec_cqp_cmd()
5038 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5041 status = irdma_sc_gen_ae(pcmdinfo->in.u.gen_ae.qp, in irdma_exec_cqp_cmd()
5042 &pcmdinfo->in.u.gen_ae.info, in irdma_exec_cqp_cmd()
5043 pcmdinfo->in.u.gen_ae.scratch, in irdma_exec_cqp_cmd()
5044 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5047 status = irdma_sc_manage_push_page(pcmdinfo->in.u.manage_push_page.cqp, in irdma_exec_cqp_cmd()
5048 &pcmdinfo->in.u.manage_push_page.info, in irdma_exec_cqp_cmd()
5049 pcmdinfo->in.u.manage_push_page.scratch, in irdma_exec_cqp_cmd()
5050 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5053 status = irdma_update_pe_sds(pcmdinfo->in.u.update_pe_sds.dev, in irdma_exec_cqp_cmd()
5054 &pcmdinfo->in.u.update_pe_sds.info, in irdma_exec_cqp_cmd()
5055 pcmdinfo->in.u.update_pe_sds.scratch); in irdma_exec_cqp_cmd()
5060 irdma_sc_manage_hmc_pm_func_table(pcmdinfo->in.u.manage_hmc_pm.dev->cqp, in irdma_exec_cqp_cmd()
5061 &pcmdinfo->in.u.manage_hmc_pm.info, in irdma_exec_cqp_cmd()
5062 pcmdinfo->in.u.manage_hmc_pm.scratch, in irdma_exec_cqp_cmd()
5066 status = irdma_sc_suspend_qp(pcmdinfo->in.u.suspend_resume.cqp, in irdma_exec_cqp_cmd()
5067 pcmdinfo->in.u.suspend_resume.qp, in irdma_exec_cqp_cmd()
5068 pcmdinfo->in.u.suspend_resume.scratch); in irdma_exec_cqp_cmd()
5071 status = irdma_sc_resume_qp(pcmdinfo->in.u.suspend_resume.cqp, in irdma_exec_cqp_cmd()
5072 pcmdinfo->in.u.suspend_resume.qp, in irdma_exec_cqp_cmd()
5073 pcmdinfo->in.u.suspend_resume.scratch); in irdma_exec_cqp_cmd()
5076 val_mem.pa = pcmdinfo->in.u.query_fpm_val.fpm_val_pa; in irdma_exec_cqp_cmd()
5077 val_mem.va = pcmdinfo->in.u.query_fpm_val.fpm_val_va; in irdma_exec_cqp_cmd()
5078 status = irdma_sc_query_fpm_val(pcmdinfo->in.u.query_fpm_val.cqp, in irdma_exec_cqp_cmd()
5079 pcmdinfo->in.u.query_fpm_val.scratch, in irdma_exec_cqp_cmd()
5080 pcmdinfo->in.u.query_fpm_val.hmc_fn_id, in irdma_exec_cqp_cmd()
5084 val_mem.pa = pcmdinfo->in.u.commit_fpm_val.fpm_val_pa; in irdma_exec_cqp_cmd()
5085 val_mem.va = pcmdinfo->in.u.commit_fpm_val.fpm_val_va; in irdma_exec_cqp_cmd()
5086 status = irdma_sc_commit_fpm_val(pcmdinfo->in.u.commit_fpm_val.cqp, in irdma_exec_cqp_cmd()
5087 pcmdinfo->in.u.commit_fpm_val.scratch, in irdma_exec_cqp_cmd()
5088 pcmdinfo->in.u.commit_fpm_val.hmc_fn_id, in irdma_exec_cqp_cmd()
5097 status = irdma_sc_manage_stats_inst(pcmdinfo->in.u.stats_manage.cqp, in irdma_exec_cqp_cmd()
5098 &pcmdinfo->in.u.stats_manage.info, in irdma_exec_cqp_cmd()
5100 pcmdinfo->in.u.stats_manage.scratch); in irdma_exec_cqp_cmd()
5103 status = irdma_sc_gather_stats(pcmdinfo->in.u.stats_gather.cqp, in irdma_exec_cqp_cmd()
5104 &pcmdinfo->in.u.stats_gather.info, in irdma_exec_cqp_cmd()
5105 pcmdinfo->in.u.stats_gather.scratch); in irdma_exec_cqp_cmd()
5108 status = irdma_sc_manage_ws_node(pcmdinfo->in.u.ws_node.cqp, in irdma_exec_cqp_cmd()
5109 &pcmdinfo->in.u.ws_node.info, in irdma_exec_cqp_cmd()
5111 pcmdinfo->in.u.ws_node.scratch); in irdma_exec_cqp_cmd()
5114 status = irdma_sc_manage_ws_node(pcmdinfo->in.u.ws_node.cqp, in irdma_exec_cqp_cmd()
5115 &pcmdinfo->in.u.ws_node.info, in irdma_exec_cqp_cmd()
5117 pcmdinfo->in.u.ws_node.scratch); in irdma_exec_cqp_cmd()
5120 status = irdma_sc_manage_ws_node(pcmdinfo->in.u.ws_node.cqp, in irdma_exec_cqp_cmd()
5121 &pcmdinfo->in.u.ws_node.info, in irdma_exec_cqp_cmd()
5123 pcmdinfo->in.u.ws_node.scratch); in irdma_exec_cqp_cmd()
5126 status = irdma_sc_set_up_map(pcmdinfo->in.u.up_map.cqp, in irdma_exec_cqp_cmd()
5127 &pcmdinfo->in.u.up_map.info, in irdma_exec_cqp_cmd()
5128 pcmdinfo->in.u.up_map.scratch); in irdma_exec_cqp_cmd()
5131 status = irdma_sc_query_rdma_features(pcmdinfo->in.u.query_rdma.cqp, in irdma_exec_cqp_cmd()
5132 &pcmdinfo->in.u.query_rdma.query_buff_mem, in irdma_exec_cqp_cmd()
5133 pcmdinfo->in.u.query_rdma.scratch); in irdma_exec_cqp_cmd()
5136 status = irdma_sc_del_arp_cache_entry(pcmdinfo->in.u.del_arp_cache_entry.cqp, in irdma_exec_cqp_cmd()
5137 pcmdinfo->in.u.del_arp_cache_entry.scratch, in irdma_exec_cqp_cmd()
5138 pcmdinfo->in.u.del_arp_cache_entry.arp_index, in irdma_exec_cqp_cmd()
5139 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5142 status = irdma_sc_manage_apbvt_entry(pcmdinfo->in.u.manage_apbvt_entry.cqp, in irdma_exec_cqp_cmd()
5143 &pcmdinfo->in.u.manage_apbvt_entry.info, in irdma_exec_cqp_cmd()
5144 pcmdinfo->in.u.manage_apbvt_entry.scratch, in irdma_exec_cqp_cmd()
5145 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5148 status = irdma_sc_manage_qhash_table_entry(pcmdinfo->in.u.manage_qhash_table_entry.cqp, in irdma_exec_cqp_cmd()
5149 &pcmdinfo->in.u.manage_qhash_table_entry.info, in irdma_exec_cqp_cmd()
5150 pcmdinfo->in.u.manage_qhash_table_entry.scratch, in irdma_exec_cqp_cmd()
5151 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5154 status = irdma_sc_qp_modify(pcmdinfo->in.u.qp_modify.qp, in irdma_exec_cqp_cmd()
5155 &pcmdinfo->in.u.qp_modify.info, in irdma_exec_cqp_cmd()
5156 pcmdinfo->in.u.qp_modify.scratch, in irdma_exec_cqp_cmd()
5157 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5160 status = irdma_sc_qp_create(pcmdinfo->in.u.qp_create.qp, in irdma_exec_cqp_cmd()
5161 &pcmdinfo->in.u.qp_create.info, in irdma_exec_cqp_cmd()
5162 pcmdinfo->in.u.qp_create.scratch, in irdma_exec_cqp_cmd()
5163 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5166 status = irdma_sc_qp_destroy(pcmdinfo->in.u.qp_destroy.qp, in irdma_exec_cqp_cmd()
5167 pcmdinfo->in.u.qp_destroy.scratch, in irdma_exec_cqp_cmd()
5168 pcmdinfo->in.u.qp_destroy.remove_hash_idx, in irdma_exec_cqp_cmd()
5169 pcmdinfo->in.u.qp_destroy.ignore_mw_bnd, in irdma_exec_cqp_cmd()
5170 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5173 status = irdma_sc_alloc_stag(pcmdinfo->in.u.alloc_stag.dev, in irdma_exec_cqp_cmd()
5174 &pcmdinfo->in.u.alloc_stag.info, in irdma_exec_cqp_cmd()
5175 pcmdinfo->in.u.alloc_stag.scratch, in irdma_exec_cqp_cmd()
5176 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5179 status = irdma_sc_mr_reg_non_shared(pcmdinfo->in.u.mr_reg_non_shared.dev, in irdma_exec_cqp_cmd()
5180 &pcmdinfo->in.u.mr_reg_non_shared.info, in irdma_exec_cqp_cmd()
5181 pcmdinfo->in.u.mr_reg_non_shared.scratch, in irdma_exec_cqp_cmd()
5182 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5185 status = irdma_sc_dealloc_stag(pcmdinfo->in.u.dealloc_stag.dev, in irdma_exec_cqp_cmd()
5186 &pcmdinfo->in.u.dealloc_stag.info, in irdma_exec_cqp_cmd()
5187 pcmdinfo->in.u.dealloc_stag.scratch, in irdma_exec_cqp_cmd()
5188 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5191 status = irdma_sc_mw_alloc(pcmdinfo->in.u.mw_alloc.dev, in irdma_exec_cqp_cmd()
5192 &pcmdinfo->in.u.mw_alloc.info, in irdma_exec_cqp_cmd()
5193 pcmdinfo->in.u.mw_alloc.scratch, in irdma_exec_cqp_cmd()
5194 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5197 status = irdma_sc_add_arp_cache_entry(pcmdinfo->in.u.add_arp_cache_entry.cqp, in irdma_exec_cqp_cmd()
5198 &pcmdinfo->in.u.add_arp_cache_entry.info, in irdma_exec_cqp_cmd()
5199 pcmdinfo->in.u.add_arp_cache_entry.scratch, in irdma_exec_cqp_cmd()
5200 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5203 status = irdma_sc_alloc_local_mac_entry(pcmdinfo->in.u.alloc_local_mac_entry.cqp, in irdma_exec_cqp_cmd()
5204 pcmdinfo->in.u.alloc_local_mac_entry.scratch, in irdma_exec_cqp_cmd()
5205 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5208 status = irdma_sc_add_local_mac_entry(pcmdinfo->in.u.add_local_mac_entry.cqp, in irdma_exec_cqp_cmd()
5209 &pcmdinfo->in.u.add_local_mac_entry.info, in irdma_exec_cqp_cmd()
5210 pcmdinfo->in.u.add_local_mac_entry.scratch, in irdma_exec_cqp_cmd()
5211 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5214 status = irdma_sc_del_local_mac_entry(pcmdinfo->in.u.del_local_mac_entry.cqp, in irdma_exec_cqp_cmd()
5215 pcmdinfo->in.u.del_local_mac_entry.scratch, in irdma_exec_cqp_cmd()
5216 pcmdinfo->in.u.del_local_mac_entry.entry_idx, in irdma_exec_cqp_cmd()
5217 pcmdinfo->in.u.del_local_mac_entry.ignore_ref_count, in irdma_exec_cqp_cmd()
5218 pcmdinfo->post_sq); in irdma_exec_cqp_cmd()
5221 status = irdma_sc_create_ah(pcmdinfo->in.u.ah_create.cqp, in irdma_exec_cqp_cmd()
5222 &pcmdinfo->in.u.ah_create.info, in irdma_exec_cqp_cmd()
5223 pcmdinfo->in.u.ah_create.scratch); in irdma_exec_cqp_cmd()
5226 status = irdma_sc_destroy_ah(pcmdinfo->in.u.ah_destroy.cqp, in irdma_exec_cqp_cmd()
5227 &pcmdinfo->in.u.ah_destroy.info, in irdma_exec_cqp_cmd()
5228 pcmdinfo->in.u.ah_destroy.scratch); in irdma_exec_cqp_cmd()
5231 status = irdma_sc_create_mcast_grp(pcmdinfo->in.u.mc_create.cqp, in irdma_exec_cqp_cmd()
5232 &pcmdinfo->in.u.mc_create.info, in irdma_exec_cqp_cmd()
5233 pcmdinfo->in.u.mc_create.scratch); in irdma_exec_cqp_cmd()
5236 status = irdma_sc_destroy_mcast_grp(pcmdinfo->in.u.mc_destroy.cqp, in irdma_exec_cqp_cmd()
5237 &pcmdinfo->in.u.mc_destroy.info, in irdma_exec_cqp_cmd()
5238 pcmdinfo->in.u.mc_destroy.scratch); in irdma_exec_cqp_cmd()
5241 status = irdma_sc_modify_mcast_grp(pcmdinfo->in.u.mc_modify.cqp, in irdma_exec_cqp_cmd()
5242 &pcmdinfo->in.u.mc_modify.info, in irdma_exec_cqp_cmd()
5243 pcmdinfo->in.u.mc_modify.scratch); in irdma_exec_cqp_cmd()
5259 struct cqp_cmds_info *pcmdinfo) in irdma_process_cqp_cmd() argument
5266 status = irdma_exec_cqp_cmd(dev, pcmdinfo); in irdma_process_cqp_cmd()
5268 list_add_tail(&pcmdinfo->cqp_cmd_entry, &dev->cqp_cmd_head); in irdma_process_cqp_cmd()
5280 struct cqp_cmds_info *pcmdinfo; in irdma_process_bh() local
5286 pcmdinfo = (struct cqp_cmds_info *)irdma_remove_cqp_head(dev); in irdma_process_bh()
5287 status = irdma_exec_cqp_cmd(dev, pcmdinfo); in irdma_process_bh()