Home
last modified time | relevance | path

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

/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c208 if (p_queue->cids[i].p_cid && !p_queue->cids[i].b_is_tx) in qed_iov_get_vf_rx_queue_cid()
209 return p_queue->cids[i].p_cid; in qed_iov_get_vf_rx_queue_cid()
235 p_qcid = &p_vf->vf_queues[qid].cids[i]; in qed_iov_validate_queue_mode()
1006 u32 cids; in qed_iov_init_hw_for_vf() local
1054 qed_cxt_get_proto_cid_count(p_hwfn, PROTOCOLID_ETH, &cids); in qed_iov_init_hw_for_vf()
1058 vf->relative_vf_id, p_params->num_queues, (u16)cids); in qed_iov_init_hw_for_vf()
1059 num_irqs = min_t(u16, p_params->num_queues, ((u16)cids)); in qed_iov_init_hw_for_vf()
1385 if (!p_queue->cids[j].p_cid) in qed_iov_vf_cleanup()
1389 p_queue->cids[j].p_cid); in qed_iov_vf_cleanup()
1390 p_queue->cids[j].p_cid = NULL; in qed_iov_vf_cleanup()
[all …]
Dqed_sriov.h166 struct qed_vf_queue_cid cids[MAX_QUEUES_PER_QZONE]; member
Dqed_l2.c2224 u16 cids; in qed_fill_eth_dev_info() local
2226 cids = hwfn->pf_params.eth_pf_params.num_cons; in qed_fill_eth_dev_info()
2227 cids /= (2 + info->num_tc); in qed_fill_eth_dev_info()
2228 num_queues += min_t(u16, l2_queues, cids); in qed_fill_eth_dev_info()
2269 u8 queues, cids; in qed_fill_eth_dev_info() local
2271 qed_vf_get_num_cids(p_hwfn, &cids); in qed_fill_eth_dev_info()
2274 total_cids += cids; in qed_fill_eth_dev_info()
Dqed_cxt.c382 iids->cids += p_mngr->conn_cfg[type].cid_count; in qed_cxt_qm_iids()
404 iids->cids, iids->vf_cids, iids->tids, vf_tids); in qed_cxt_qm_iids()
745 total = qed_qm_pf_mem_size(qm_iids.cids, in qed_cxt_cfg_ilt_compute()
753 qm_iids.cids, in qed_cxt_cfg_ilt_compute()
1515 params.num_pf_cids = iids.cids; in qed_qm_init_pf()
Dqed.h237 u32 cids; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c4741 cmd, o->cids[BNX2X_PRIMARY_CID_INDEX], in bnx2x_queue_comp_cmd()
4755 cmd, o->cids[BNX2X_PRIMARY_CID_INDEX], o->next_state); in bnx2x_queue_comp_cmd()
4759 o->cids[BNX2X_PRIMARY_CID_INDEX], o->next_tx_only); in bnx2x_queue_comp_cmd()
4985 cmd_params->q_obj->cids[0], in bnx2x_q_fill_setup_tx_only()
5034 o->cids[cos], cos); in bnx2x_q_init()
5036 bnx2x_set_ctx_validation(bp, init->cxts[cos], o->cids[cos]); in bnx2x_q_init()
5068 return bnx2x_sp_post(bp, ramrod, o->cids[BNX2X_PRIMARY_CID_INDEX], in bnx2x_q_send_setup_e1x()
5095 return bnx2x_sp_post(bp, ramrod, o->cids[BNX2X_PRIMARY_CID_INDEX], in bnx2x_q_send_setup_e2()
5129 o->cids[cid_index], rdata->general.client_id, in bnx2x_q_send_setup_tx_only()
5138 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.c6345 u32 cids[BNX2X_MULTI_TX_COS] = { 0 }; in bnx2x_init_eth_fp() local
6372 cids[cos] = fp->txdata_ptr[cos]->cid; in bnx2x_init_eth_fp()
6382 bnx2x_init_queue_obj(bp, &bnx2x_sp_obj(bp, fp).q_obj, fp->cl_id, cids, in bnx2x_init_eth_fp()
8793 tx_index, q_params->q_obj->cids[FIRST_TX_COS_INDEX], in bnx2x_setup_tx_only()
8794 q_params->q_obj->cids[tx_index], q_params->q_obj->cl_id, in bnx2x_setup_tx_only()
/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.h266 int bnxt_qplib_map_tc2cos(struct bnxt_qplib_res *res, u16 *cids);
Dqplib_sp.c773 int bnxt_qplib_map_tc2cos(struct bnxt_qplib_res *res, u16 *cids) in bnxt_qplib_map_tc2cos() argument
781 req.cos0 = cpu_to_le16(cids[0]); in bnxt_qplib_map_tc2cos()
782 req.cos1 = cpu_to_le16(cids[1]); in bnxt_qplib_map_tc2cos()