/linux-6.14.4/drivers/accel/habanalabs/common/ |
D | hw_queue.c | 53 if (!hdev->asic_prop.max_queues || q->queue_type == QUEUE_TYPE_HW) in hl_hw_queue_update_ci() 61 for (i = 0 ; i < hdev->asic_prop.max_queues ; i++, q++) { in hl_hw_queue_update_ci() 646 u32 max_queues; in hl_hw_queue_schedule_cs() local 661 max_queues = hdev->asic_prop.max_queues; in hl_hw_queue_schedule_cs() 664 for (i = 0, cq_cnt = 0 ; i < max_queues ; i++, q++) { in hl_hw_queue_schedule_cs() 795 for (i = 0 ; (i < max_queues) && (cq_cnt > 0) ; i++, q++) { in hl_hw_queue_schedule_cs() 1085 hdev->kernel_queues = kcalloc(asic->max_queues, in hl_hw_queues_create() 1095 i < asic->max_queues ; i++, q_ready_cnt++, q++) { in hl_hw_queues_create() 1129 u32 max_queues = hdev->asic_prop.max_queues; in hl_hw_queues_destroy() local 1132 for (i = 0, q = hdev->kernel_queues ; i < max_queues ; i++, q++) in hl_hw_queues_destroy() [all …]
|
D | command_submission.c | 950 cs->jobs_in_queue_cnt = kcalloc(hdev->asic_prop.max_queues, in allocate_cs() 953 cs->jobs_in_queue_cnt = kcalloc(hdev->asic_prop.max_queues, in allocate_cs() 1214 if (chunk->queue_index >= asic->max_queues) { in validate_queue_index() 2024 if (q_idx >= hdev->asic_prop.max_queues) { in cs_ioctl_reserve_signals() 2232 if (chunk->queue_index >= hdev->asic_prop.max_queues) { in cs_ioctl_signal_wait()
|
/linux-6.14.4/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_vf.c | 41 for (i = 0; i < hw->mac.max_queues; i++) { in fm10k_stop_hw_vf() 127 hw->mac.max_queues = i; in fm10k_init_hw_vf() 142 hw->mac.max_queues = 0; in fm10k_init_hw_vf() 454 fm10k_update_hw_stats_q(hw, stats->q, 0, hw->mac.max_queues); in fm10k_update_hw_stats_vf() 468 fm10k_unbind_hw_stats_q(stats->q, 0, hw->mac.max_queues); in fm10k_rebind_hw_stats_vf()
|
D | fm10k_ethtool.c | 171 for (i = 0; i < interface->hw.mac.max_queues; i++) { in fm10k_get_stat_strings() 208 stats_len += hw->mac.max_queues * 2 * FM10K_QUEUE_STATS_LEN; in fm10k_get_sset_count() 283 for (i = 0; i < interface->hw.mac.max_queues; i++) { in fm10k_get_ethtool_stats() 412 if (i < hw->mac.max_queues) in fm10k_get_regs() 1112 unsigned int max_combined = interface->hw.mac.max_queues; in fm10k_max_channels()
|
D | fm10k_common.c | 241 return fm10k_disable_queues_generic(hw, hw->mac.max_queues); in fm10k_stop_hw_generic()
|
D | fm10k_pf.c | 175 hw->mac.max_queues = FM10K_MAX_QUEUES_PF; in fm10k_init_hw_pf() 1367 fm10k_update_hw_stats_q(hw, stats->q, 0, hw->mac.max_queues); in fm10k_update_hw_stats_pf() 1392 fm10k_unbind_hw_stats_q(stats->q, 0, hw->mac.max_queues); in fm10k_rebind_hw_stats_pf()
|
D | fm10k_type.h | 546 u16 max_queues; member
|
/linux-6.14.4/arch/mips/cavium-octeon/executive/ |
D | cvmx-pko.c | 215 int max_queues = in cvmx_pko_initialize_global() local 219 if (max_queues <= 32) in cvmx_pko_initialize_global() 221 else if (max_queues <= 64) in cvmx_pko_initialize_global() 224 if (max_queues <= 64) in cvmx_pko_initialize_global() 226 else if (max_queues <= 128) in cvmx_pko_initialize_global()
|
/linux-6.14.4/drivers/net/ethernet/google/gve/ |
D | gve_main.c | 451 priv->tx_cfg.max_queues = min_t(int, priv->tx_cfg.max_queues, in gve_alloc_notify_blocks() 453 priv->rx_cfg.max_queues = min_t(int, priv->rx_cfg.max_queues, in gve_alloc_notify_blocks() 457 vecs_enabled, priv->tx_cfg.max_queues, in gve_alloc_notify_blocks() 458 priv->rx_cfg.max_queues); in gve_alloc_notify_blocks() 459 if (priv->tx_cfg.num_queues > priv->tx_cfg.max_queues) in gve_alloc_notify_blocks() 460 priv->tx_cfg.num_queues = priv->tx_cfg.max_queues; in gve_alloc_notify_blocks() 461 if (priv->rx_cfg.num_queues > priv->rx_cfg.max_queues) in gve_alloc_notify_blocks() 462 priv->rx_cfg.num_queues = priv->rx_cfg.max_queues; in gve_alloc_notify_blocks() 1758 (2 * priv->tx_cfg.num_queues > priv->tx_cfg.max_queues)) { in verify_xdp_configuration() 1762 priv->tx_cfg.max_queues); in verify_xdp_configuration() [all …]
|
D | gve.h | 629 u16 max_queues; member 1062 return priv->tx_cfg.max_queues + rx_qid; in gve_rx_qpl_id() 1067 return tx_cfg->max_queues + rx_qid; in gve_get_rx_qpl_id()
|
D | gve_ethtool.c | 468 cmd->max_rx = priv->rx_cfg.max_queues; in gve_get_channels() 469 cmd->max_tx = priv->tx_cfg.max_queues; in gve_get_channels() 498 (new_tx != new_rx || (2 * new_tx > priv->tx_cfg.max_queues))) { in gve_set_channels()
|
/linux-6.14.4/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 716 channel->max_rx = nic->max_queues; in nicvf_get_channels() 717 channel->max_tx = nic->max_queues; in nicvf_get_channels() 734 if (channel->rx_count > nic->max_queues) in nicvf_set_channels() 736 if (channel->tx_count > nic->max_queues) in nicvf_set_channels() 739 if (channel->tx_count + channel->rx_count > nic->max_queues) { in nicvf_set_channels() 743 nic->max_queues); in nicvf_set_channels()
|
D | nicvf_main.c | 1856 if ((nic->rx_queues + nic->tx_queues) > nic->max_queues) { in nicvf_xdp_setup() 1859 nic->max_queues); in nicvf_xdp_setup() 2151 nic->max_queues = qcount; in nicvf_probe() 2156 nic->max_queues *= 2; in nicvf_probe() 2222 nic->rx_queues + nic->tx_queues <= nic->max_queues) in nicvf_probe()
|
D | nic.h | 310 u8 max_queues; member
|
/linux-6.14.4/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_common.h | 194 #define SXGBE_FOR_EACH_QUEUE(max_queues, queue_num) \ argument 195 for (queue_num = 0; queue_num < max_queues; queue_num++)
|
/linux-6.14.4/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process_queue_manager.c | 325 unsigned int max_queues = 127; /* HWS limit */ in pqm_create_queue() local 334 max_queues = 255; in pqm_create_queue() 352 max_queues = dev->kfd->device_info.max_no_of_hqd/2; in pqm_create_queue() 354 if (pdd->qpd.queue_count >= max_queues) in pqm_create_queue()
|
/linux-6.14.4/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_qp.c | 74 u16 num_queues, u16 max_queues) in hinic_qp_prepare_header() argument 76 u16 max_sqs = max_queues; in hinic_qp_prepare_header() 77 u16 max_rqs = max_queues; in hinic_qp_prepare_header()
|
D | hinic_hw_qp.h | 130 u16 num_queues, u16 max_queues);
|
/linux-6.14.4/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 2950 struct ena_admin_queue_feature_desc *max_queues = in ena_calc_io_queue_size() local 2951 &get_feat_ctx->max_queues; in ena_calc_io_queue_size() 2952 max_rx_queue_size = min_t(u32, max_queues->max_cq_depth, in ena_calc_io_queue_size() 2953 max_queues->max_sq_depth); in ena_calc_io_queue_size() 2954 max_tx_queue_size = max_queues->max_cq_depth; in ena_calc_io_queue_size() 2961 max_queues->max_sq_depth); in ena_calc_io_queue_size() 2964 max_queues->max_packet_tx_descs); in ena_calc_io_queue_size() 2966 max_queues->max_packet_rx_descs); in ena_calc_io_queue_size() 3746 struct ena_admin_queue_feature_desc *max_queues = in ena_calc_max_io_queue_num() local 3747 &get_feat_ctx->max_queues; in ena_calc_max_io_queue_num() [all …]
|
D | ena_com.h | 344 struct ena_admin_queue_feature_desc max_queues; member
|
/linux-6.14.4/drivers/net/ethernet/microsoft/mana/ |
D | mana_en.c | 2594 u32 max_txq, max_rxq, max_queues; in mana_init_port() local 2614 max_queues = min_t(u32, max_txq, max_rxq); in mana_init_port() 2615 if (apc->max_queues > max_queues) in mana_init_port() 2616 apc->max_queues = max_queues; in mana_init_port() 2618 if (apc->num_queues > apc->max_queues) in mana_init_port() 2619 apc->num_queues = apc->max_queues; in mana_init_port() 2830 apc->max_queues = gc->max_num_queues; in mana_probe_port()
|
D | mana_ethtool.c | 319 channel->max_combined = apc->max_queues; in mana_get_channels()
|
/linux-6.14.4/drivers/net/ethernet/cisco/enic/ |
D | enic_main.c | 2522 unsigned int max_queues; in enic_adjust_resources() local 2563 max_queues = min(enic->cq_avail, in enic_adjust_resources() 2565 if (wq_avail + rq_avail <= max_queues) { in enic_adjust_resources() 2571 enic->rq_count = min(rq_avail, max_queues / 2); in enic_adjust_resources() 2572 enic->wq_count = max_queues - enic->rq_count; in enic_adjust_resources() 2574 enic->wq_count = min(wq_avail, max_queues / 2); in enic_adjust_resources() 2575 enic->rq_count = max_queues - enic->wq_count; in enic_adjust_resources()
|
/linux-6.14.4/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_vf.c | 522 num_vec += NIX_LF_CINT_VEC_START + hw->max_queues; in otx2vf_realloc_msix_vectors() 586 hw->max_queues = qcount; in otx2vf_probe()
|
/linux-6.14.4/drivers/net/ |
D | xen-netfront.c | 65 module_param_named(max_queues, xennet_max_queues, uint, 0644); 66 MODULE_PARM_DESC(max_queues, 2262 unsigned int max_queues = 0; in talk_to_netback() local 2274 max_queues = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback() 2276 num_queues = min(max_queues, xennet_max_queues); in talk_to_netback()
|