Home
last modified time | relevance | path

Searched refs:q_params (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/qlogic/qed/
Dqed_fcoe.c157 DMA_REGPAIR_LE(p_data->q_params.glbl_q_params_addr, in qed_sp_fcoe_func_start()
161 p_data->q_params.cq_num_entries = tmp; in qed_sp_fcoe_func_start()
164 p_data->q_params.cmdq_num_entries = tmp; in qed_sp_fcoe_func_start()
166 p_data->q_params.num_queues = fcoe_pf_params->num_cqs; in qed_sp_fcoe_func_start()
169 p_data->q_params.queue_relative_offset = (__force u8)tmp; in qed_sp_fcoe_func_start()
173 p_data->q_params.cq_cmdq_sb_num_arr[i] = tmp; 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()
179 p_data->q_params.bdq_resource_id = (u8)RESC_START(p_hwfn, QED_BDQ); in qed_sp_fcoe_func_start()
181 DMA_REGPAIR_LE(p_data->q_params.bdq_pbl_base_address[BDQ_ID_RQ], in qed_sp_fcoe_func_start()
[all …]
Dqed_nvmetcp.c78 p_queue = &p_init->q_params; in qed_sp_nvmetcp_func_start()
Dqed_iscsi.c169 p_queue = &p_init->q_params; in qed_sp_iscsi_func_start()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c238 struct bnx2x_queue_state_params *q_params; in bnx2x_vf_queue_create() local
244 q_params = &qctor->qstate; in bnx2x_vf_queue_create()
245 q_params->q_obj = &bnx2x_vfq(vf, qid, sp_obj); in bnx2x_vf_queue_create()
246 set_bit(RAMROD_COMP_WAIT, &q_params->ramrod_flags); in bnx2x_vf_queue_create()
248 if (bnx2x_get_q_logical_state(bp, q_params->q_obj) == in bnx2x_vf_queue_create()
255 q_params->cmd = BNX2X_Q_CMD_INIT; in bnx2x_vf_queue_create()
256 rc = bnx2x_queue_state_change(bp, q_params); in bnx2x_vf_queue_create()
260 memcpy(&q_params->params.setup, &qctor->prep_qsetup, in bnx2x_vf_queue_create()
262 q_params->cmd = BNX2X_Q_CMD_SETUP; in bnx2x_vf_queue_create()
263 rc = bnx2x_queue_state_change(bp, q_params); in bnx2x_vf_queue_create()
[all …]
Dbnx2x_main.c8791 struct bnx2x_queue_state_params *q_params, in bnx2x_setup_tx_only() argument
8798 q_params->cmd = BNX2X_Q_CMD_SETUP_TX_ONLY; in bnx2x_setup_tx_only()
8814 tx_index, q_params->q_obj->cids[FIRST_TX_COS_INDEX], in bnx2x_setup_tx_only()
8815 q_params->q_obj->cids[tx_index], q_params->q_obj->cl_id, in bnx2x_setup_tx_only()
8819 return bnx2x_queue_state_change(bp, q_params); in bnx2x_setup_tx_only()
8836 struct bnx2x_queue_state_params q_params = {NULL}; in bnx2x_setup_queue() local
8838 &q_params.params.setup; in bnx2x_setup_queue()
8840 &q_params.params.tx_only; in bnx2x_setup_queue()
8851 q_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj; in bnx2x_setup_queue()
8853 __set_bit(RAMROD_COMP_WAIT, &q_params.ramrod_flags); in bnx2x_setup_queue()
[all …]
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c2245 struct qed_queue_start_common_params q_params; in qede_start_queues() local
2289 memset(&q_params, 0, sizeof(q_params)); in qede_start_queues()
2290 q_params.queue_id = rxq->rxq_id; in qede_start_queues()
2291 q_params.vport_id = 0; in qede_start_queues()
2292 q_params.p_sb = fp->sb_info; in qede_start_queues()
2293 q_params.sb_idx = RX_PI; in qede_start_queues()
2299 rc = edev->ops->q_rx_start(cdev, i, &q_params, in qede_start_queues()