Lines Matching refs:fcoe_pf_params
90 struct qed_fcoe_pf_params *fcoe_pf_params = NULL; in qed_sp_fcoe_func_start() local
117 fcoe_pf_params = &p_hwfn->pf_params.fcoe_pf_params; in qed_sp_fcoe_func_start()
120 if (fcoe_pf_params->num_cqs > p_hwfn->hw_info.feat_num[QED_FCOE_CQ]) { in qed_sp_fcoe_func_start()
123 fcoe_pf_params->num_cqs, in qed_sp_fcoe_func_start()
129 p_data->mtu = cpu_to_le16(fcoe_pf_params->mtu); in qed_sp_fcoe_func_start()
130 tmp = cpu_to_le16(fcoe_pf_params->sq_num_pbl_pages); in qed_sp_fcoe_func_start()
150 fcoe_pf_params->dummy_icid = (u16)dummy_cid; in qed_sp_fcoe_func_start()
152 tmp = cpu_to_le16(fcoe_pf_params->num_tasks); in qed_sp_fcoe_func_start()
154 p_data->func_params.log_page_size = fcoe_pf_params->log_page_size; in qed_sp_fcoe_func_start()
155 p_data->func_params.debug_mode = fcoe_pf_params->debug_mode; in qed_sp_fcoe_func_start()
158 fcoe_pf_params->glbl_q_params_addr); in qed_sp_fcoe_func_start()
160 tmp = cpu_to_le16(fcoe_pf_params->cq_num_entries); in qed_sp_fcoe_func_start()
163 tmp = cpu_to_le16(fcoe_pf_params->cmdq_num_entries); in qed_sp_fcoe_func_start()
166 p_data->q_params.num_queues = fcoe_pf_params->num_cqs; in qed_sp_fcoe_func_start()
171 for (i = 0; i < fcoe_pf_params->num_cqs; i++) { in qed_sp_fcoe_func_start()
176 p_data->q_params.cq_sb_pi = fcoe_pf_params->gl_rq_pi; in qed_sp_fcoe_func_start()
177 p_data->q_params.cmdq_sb_pi = fcoe_pf_params->gl_cmd_pi; in qed_sp_fcoe_func_start()
182 fcoe_pf_params->bdq_pbl_base_addr[BDQ_ID_RQ]); in qed_sp_fcoe_func_start()
184 fcoe_pf_params->bdq_pbl_num_entries[BDQ_ID_RQ]; in qed_sp_fcoe_func_start()
185 tmp = cpu_to_le16(fcoe_pf_params->bdq_xoff_threshold[BDQ_ID_RQ]); in qed_sp_fcoe_func_start()
187 tmp = cpu_to_le16(fcoe_pf_params->bdq_xon_threshold[BDQ_ID_RQ]); in qed_sp_fcoe_func_start()
191 fcoe_pf_params->bdq_pbl_base_addr[BDQ_ID_IMM_DATA]); in qed_sp_fcoe_func_start()
193 fcoe_pf_params->bdq_pbl_num_entries[BDQ_ID_IMM_DATA]; in qed_sp_fcoe_func_start()
194 tmp = cpu_to_le16(fcoe_pf_params->bdq_xoff_threshold[BDQ_ID_IMM_DATA]); in qed_sp_fcoe_func_start()
196 tmp = cpu_to_le16(fcoe_pf_params->bdq_xon_threshold[BDQ_ID_IMM_DATA]); in qed_sp_fcoe_func_start()
198 tmp = cpu_to_le16(fcoe_pf_params->rq_buffer_size); in qed_sp_fcoe_func_start()
201 if (fcoe_pf_params->is_target) { in qed_sp_fcoe_func_start()
347 init_data.cid = p_hwfn->pf_params.fcoe_pf_params.dummy_icid; in qed_sp_fcoe_func_stop()
556 for (i = 0; i < p_hwfn->pf_params.fcoe_pf_params.num_tasks; i++) { in qed_fcoe_setup()