| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_sriov.c | 186 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 …]
|
| H A D | qed_sriov.h | 141 struct qed_vf_queue_cid cids[MAX_QUEUES_PER_QZONE]; member
|
| H A D | qed_cxt.c | 172 /* Timers is a special case -> we don't count how many cids require in qed_cxt_tm_iids() 231 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() 642 "QM ILT Info, (cids=%d, vf_cids=%d, tids=%d, num_pqs=%d, num_vf_pqs=%d, memory_size=%d)\n", in qed_cxt_cfg_ilt_compute() 643 qm_iids.cids, in qed_cxt_cfg_ilt_compute() 660 * database. Thus sum the PF searcher cids and all the VFs searcher in qed_cxt_cfg_ilt_compute() 661 * cids. in qed_cxt_cfg_ilt_compute() 1184 /* Allocate and initialize the acquired cids bitmaps */ in qed_cxt_tables_alloc() 1216 /* Reset acquired cids */ in qed_cxt_mngr_setup() [all...] |
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_sp.c | 4743 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 …]
|
| H A D | bnx2x_sp.h | 1050 u32 cids[BNX2X_MULTI_TX_COS]; member 1403 struct bnx2x_queue_sp_obj *obj, u8 cl_id, u32 *cids,
|
| H A D | bnx2x_main.c | 6368 u32 cids[BNX2X_MULTI_TX_COS] = { 0 }; in bnx2x_init_eth_fp() local 6395 cids[cos] = fp->txdata_ptr[cos]->cid; in bnx2x_init_eth_fp() 6405 bnx2x_init_queue_obj(bp, &bnx2x_sp_obj(bp, fp).q_obj, fp->cl_id, cids, in bnx2x_init_eth_fp() 7993 /* since BNX2X_FIRST_VF_CID > 0 the PF L2 cids precedes in bnx2x_init_hw_func() 8815 tx_index, q_params->q_obj->cids[FIRST_TX_COS_INDEX], in bnx2x_setup_tx_only() 8816 q_params->q_obj->cids[tx_index], q_params->q_obj->cl_id, in bnx2x_setup_tx_only()
|
| /linux/kernel/sched/ext/ |
| H A D | sub.c | 413 * Seed the root's caps fully. Root owns all cids on all caps at enable time. 982 static void caps_updated_record(struct scx_pshard *ps, const struct scx_cmask *cids, u64 caps, in scx_process_sync_ecaps() 988 scx_cmask_or(&cu->cmask, cids); in scx_process_sync_ecaps() 2851 * scx_bpf_sub_grant - Grant @caps on a cmask's cids to a direct child 2855 * @denied_out__arena__nullable: optional cmask accumulating refused cids 2859 * requested cap on it. Refused cids are OR'd into the denied mask when 2927 * Narrow granted_cids to cids the parent holds every 2934 * For each requested cap, fold the newly-set cids into 2969 /* record cids that didn't make it into the denied mask */ 2989 * scx_bpf_sub_revoke - Revoke @caps on a cmask's cids fro 820 caps_updated_record(struct scx_pshard * ps,const struct scx_cmask * cids,u64 caps,struct list_head * to_deliver) caps_updated_record() argument [all...] |