Home
last modified time | relevance | path

Searched refs:cids (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c186 if (p_queue->cids[i].p_cid && !p_queue->cids[i].b_is_tx) in qed_iov_get_vf_rx_queue_cid()
187 return p_queue->cids[i].p_cid; in qed_iov_get_vf_rx_queue_cid()
213 p_qcid = &p_vf->vf_queues[qid].cids[i]; in qed_iov_validate_queue_mode()
988 u32 cids; in qed_iov_init_hw_for_vf() local
1036 qed_cxt_get_proto_cid_count(p_hwfn, PROTOCOLID_ETH, &cids); in qed_iov_init_hw_for_vf()
1040 vf->relative_vf_id, p_params->num_queues, (u16)cids); in qed_iov_init_hw_for_vf()
1041 num_irqs = min_t(u16, p_params->num_queues, ((u16)cids)); in qed_iov_init_hw_for_vf()
1367 if (!p_queue->cids[j].p_cid) in qed_iov_vf_cleanup()
1371 p_queue->cids[j].p_cid); in qed_iov_vf_cleanup()
1372 p_queue->cids[j].p_cid = NULL; in qed_iov_vf_cleanup()
[all …]
Dqed_sriov.h141 struct qed_vf_queue_cid cids[MAX_QUEUES_PER_QZONE]; member
Dqed_l2.c2218 u16 cids; in qed_fill_eth_dev_info() local
2220 cids = hwfn->pf_params.eth_pf_params.num_cons; in qed_fill_eth_dev_info()
2221 cids /= (2 + info->num_tc); in qed_fill_eth_dev_info()
2222 num_queues += min_t(u16, l2_queues, cids); in qed_fill_eth_dev_info()
2263 u8 queues, cids; in qed_fill_eth_dev_info() local
2265 qed_vf_get_num_cids(p_hwfn, &cids); in qed_fill_eth_dev_info()
2268 total_cids += cids; in qed_fill_eth_dev_info()
Dqed_cxt.c231 iids->cids += p_mngr->conn_cfg[type].cid_count; in qed_cxt_qm_iids()
253 iids->cids, iids->vf_cids, iids->tids, vf_tids); in qed_cxt_qm_iids()
635 total = qed_qm_pf_mem_size(qm_iids.cids, in qed_cxt_cfg_ilt_compute()
643 qm_iids.cids, in qed_cxt_cfg_ilt_compute()
1414 params.num_pf_cids = iids.cids; in qed_qm_init_pf()
Dqed.h207 u32 cids; member
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c4743 cmd, o->cids[BNX2X_PRIMARY_CID_INDEX], in bnx2x_queue_comp_cmd()
4757 cmd, o->cids[BNX2X_PRIMARY_CID_INDEX], o->next_state); in bnx2x_queue_comp_cmd()
4761 o->cids[BNX2X_PRIMARY_CID_INDEX], o->next_tx_only); in bnx2x_queue_comp_cmd()
4987 cmd_params->q_obj->cids[0], in bnx2x_q_fill_setup_tx_only()
5036 o->cids[cos], cos); in bnx2x_q_init()
5038 bnx2x_set_ctx_validation(bp, init->cxts[cos], o->cids[cos]); in bnx2x_q_init()
5070 return bnx2x_sp_post(bp, ramrod, o->cids[BNX2X_PRIMARY_CID_INDEX], in bnx2x_q_send_setup_e1x()
5097 return bnx2x_sp_post(bp, ramrod, o->cids[BNX2X_PRIMARY_CID_INDEX], in bnx2x_q_send_setup_e2()
5131 o->cids[cid_index], rdata->general.client_id, in bnx2x_q_send_setup_tx_only()
5140 return bnx2x_sp_post(bp, ramrod, o->cids[cid_index], in bnx2x_q_send_setup_tx_only()
[all …]
Dbnx2x_sp.h1050 u32 cids[BNX2X_MULTI_TX_COS]; member
1403 struct bnx2x_queue_sp_obj *obj, u8 cl_id, u32 *cids,
Dbnx2x_main.c6365 u32 cids[BNX2X_MULTI_TX_COS] = { 0 }; in bnx2x_init_eth_fp() local
6392 cids[cos] = fp->txdata_ptr[cos]->cid; in bnx2x_init_eth_fp()
6402 bnx2x_init_queue_obj(bp, &bnx2x_sp_obj(bp, fp).q_obj, fp->cl_id, cids, in bnx2x_init_eth_fp()
8813 tx_index, q_params->q_obj->cids[FIRST_TX_COS_INDEX], in bnx2x_setup_tx_only()
8814 q_params->q_obj->cids[tx_index], q_params->q_obj->cl_id, in bnx2x_setup_tx_only()