/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_sriov.c | 184 if (p_queue->cids[i].p_cid && !p_queue->cids[i].b_is_tx) in qed_iov_get_vf_rx_queue_cid() 185 return p_queue->cids[i].p_cid; in qed_iov_get_vf_rx_queue_cid() 211 p_qcid = &p_vf->vf_queues[qid].cids[i]; in qed_iov_validate_queue_mode() 986 u32 cids; in qed_iov_init_hw_for_vf() local 1034 qed_cxt_get_proto_cid_count(p_hwfn, PROTOCOLID_ETH, &cids); in qed_iov_init_hw_for_vf() 1038 vf->relative_vf_id, p_params->num_queues, (u16)cids); in qed_iov_init_hw_for_vf() 1039 num_irqs = min_t(u16, p_params->num_queues, ((u16)cids)); in qed_iov_init_hw_for_vf() 1365 if (!p_queue->cids[j].p_cid) in qed_iov_vf_cleanup() 1369 p_queue->cids[ 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_l2.c | 2208 u16 cids; in qed_fill_eth_dev_info() local 2210 cids = hwfn->pf_params.eth_pf_params.num_cons; in qed_fill_eth_dev_info() 2211 cids /= (2 + info->num_tc); in qed_fill_eth_dev_info() 2212 num_queues += min_t(u16, l2_queues, cids); in qed_fill_eth_dev_info() 2253 u8 queues, cids; in qed_fill_eth_dev_info() local 2255 qed_vf_get_num_cids(p_hwfn, &cids); in qed_fill_eth_dev_info() 2258 total_cids += cids; in qed_fill_eth_dev_info()
|
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() 1189 /* Allocate and initialize the acquired cids bitmaps */ in qed_cxt_tables_alloc() 1222 /* Reset acquired cids */ in qed_cxt_mngr_setup() [all...] |
H A D | qed.h | 211 u32 cids; member
|
/kernel/linux/linux-6.6/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[ 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_l2.c | 2218 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()
|
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...] |
H A D | qed.h | 207 u32 cids; member
|
/kernel/linux/linux-5.10/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_inde in bnx2x_q_send_setup_tx_only() 5660 bnx2x_init_queue_obj(struct bnx2x *bp, struct bnx2x_queue_sp_obj *obj, u8 cl_id, u32 *cids, u8 cid_cnt, u8 func_id, void *rdata, dma_addr_t rdata_mapping, unsigned long type) bnx2x_init_queue_obj() argument [all...] |
H A D | bnx2x_sp.h | 903 /* index within the tx_only cids of this queue object */ 908 /* index within the tx_only cids of this queue object */ 917 /* index within the tx_only cids of this queue object */ 1019 /* index within the tx_only cids of this queue object */ 1050 u32 cids[BNX2X_MULTI_TX_COS]; member 1059 * Therefore max_cos is also a number of valid entries in the cids 1403 struct bnx2x_queue_sp_obj *obj, u8 cl_id, u32 *cids,
|
H A D | bnx2x_main.c | 6367 u32 cids[BNX2X_MULTI_TX_COS] = { 0 }; in bnx2x_init_eth_fp() local 6394 cids[cos] = fp->txdata_ptr[cos]->cid; in bnx2x_init_eth_fp() 6404 bnx2x_init_queue_obj(bp, &bnx2x_sp_obj(bp, fp).q_obj, fp->cl_id, cids, in bnx2x_init_eth_fp() 7992 /* 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()
|
/kernel/linux/linux-6.6/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_inde in bnx2x_q_send_setup_tx_only() 5660 bnx2x_init_queue_obj(struct bnx2x *bp, struct bnx2x_queue_sp_obj *obj, u8 cl_id, u32 *cids, u8 cid_cnt, u8 func_id, void *rdata, dma_addr_t rdata_mapping, unsigned long type) bnx2x_init_queue_obj() argument [all...] |
H A D | bnx2x_sp.h | 903 /* index within the tx_only cids of this queue object */ 908 /* index within the tx_only cids of this queue object */ 917 /* index within the tx_only cids of this queue object */ 1019 /* index within the tx_only cids of this queue object */ 1050 u32 cids[BNX2X_MULTI_TX_COS]; member 1059 * Therefore max_cos is also a number of valid entries in the cids 1403 struct bnx2x_queue_sp_obj *obj, u8 cl_id, u32 *cids,
|
H A D | bnx2x_main.c | 6365 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() 7990 /* since BNX2X_FIRST_VF_CID > 0 the PF L2 cids precedes in bnx2x_init_hw_func() 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_sp.c | 776 int bnxt_qplib_map_tc2cos(struct bnxt_qplib_res *res, u16 *cids) in bnxt_qplib_map_tc2cos() argument 784 req.cos0 = cpu_to_le16(cids[0]); in bnxt_qplib_map_tc2cos() 785 req.cos1 = cpu_to_le16(cids[1]); in bnxt_qplib_map_tc2cos()
|
H A D | qplib_sp.h | 265 int bnxt_qplib_map_tc2cos(struct bnxt_qplib_res *res, u16 *cids);
|