Home
last modified time | relevance | path

Searched refs:max_queues (Results 1 – 23 of 23) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_vf.c40 for (i = 0; i < hw->mac.max_queues; i++) { in fm10k_stop_hw_vf()
126 hw->mac.max_queues = i; in fm10k_init_hw_vf()
142 hw->mac.max_queues = 0; in fm10k_init_hw_vf()
449 fm10k_update_hw_stats_q(hw, stats->q, 0, hw->mac.max_queues); in fm10k_update_hw_stats_vf()
463 fm10k_unbind_hw_stats_q(stats->q, 0, hw->mac.max_queues); in fm10k_rebind_hw_stats_vf()
Dfm10k_ethtool.c170 for (i = 0; i < interface->hw.mac.max_queues; i++) { in fm10k_get_stat_strings()
207 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()
1104 unsigned int max_combined = interface->hw.mac.max_queues; in fm10k_max_channels()
Dfm10k_common.c241 return fm10k_disable_queues_generic(hw, hw->mac.max_queues); in fm10k_stop_hw_generic()
Dfm10k_pf.c174 hw->mac.max_queues = FM10K_MAX_QUEUES_PF; in fm10k_init_hw_pf()
1488 fm10k_update_hw_stats_q(hw, stats->q, 0, hw->mac.max_queues); in fm10k_update_hw_stats_pf()
1513 fm10k_unbind_hw_stats_q(stats->q, 0, hw->mac.max_queues); in fm10k_rebind_hw_stats_pf()
Dfm10k_type.h544 u16 max_queues; member
Dfm10k_main.c1507 rss_i = interface->hw.mac.max_queues / pcs; in fm10k_set_qos_queues()
1540 rss_i = min_t(u16, interface->hw.mac.max_queues, f->limit); in fm10k_set_rss_queues()
Dfm10k_pci.c610 for (i = 0; i < hw->mac.max_queues; i++) { in fm10k_update_stats()
/Linux-v4.19/arch/mips/cavium-octeon/executive/
Dcvmx-pko.c215 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-v4.19/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c713 channel->max_rx = nic->max_queues; in nicvf_get_channels()
714 channel->max_tx = nic->max_queues; in nicvf_get_channels()
731 if (channel->rx_count > nic->max_queues) in nicvf_set_channels()
733 if (channel->tx_count > nic->max_queues) in nicvf_set_channels()
737 ((channel->tx_count + channel->rx_count) > nic->max_queues)) { in nicvf_set_channels()
740 nic->max_queues); in nicvf_set_channels()
Dnic.h313 u8 max_queues; member
Dnicvf_main.c1802 if ((nic->rx_queues + nic->tx_queues) > nic->max_queues) { in nicvf_xdp_setup()
1805 nic->max_queues); in nicvf_xdp_setup()
2112 nic->max_queues = qcount; in nicvf_probe()
2117 nic->max_queues *= 2; in nicvf_probe()
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_process_queue_manager.c150 unsigned int max_queues = 127; /* HWS limit */ in pqm_create_queue() local
168 max_queues = dev->device_info->max_no_of_hqd/2; in pqm_create_queue()
170 if (pdd->qpd.queue_count >= max_queues) in pqm_create_queue()
/Linux-v4.19/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_common.h197 #define SXGBE_FOR_EACH_QUEUE(max_queues, queue_num) \ argument
198 for (queue_num = 0; queue_num < max_queues; queue_num++)
/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_netdev.c2374 if ((get_feat_ctx->max_queues.max_cq_num < adapter->num_queues) || in ena_device_validate_params()
2375 (get_feat_ctx->max_queues.max_sq_num < adapter->num_queues)) { in ena_device_validate_params()
2959 io_sq_num = get_feat_ctx->max_queues.max_llq_num; in ena_calc_io_queue_num()
2967 io_sq_num = get_feat_ctx->max_queues.max_sq_num; in ena_calc_io_queue_num()
2970 io_sq_num = get_feat_ctx->max_queues.max_sq_num; in ena_calc_io_queue_num()
2976 get_feat_ctx->max_queues.max_cq_num); in ena_calc_io_queue_num()
2995 if (has_mem_bar && (get_feat_ctx->max_queues.max_llq_num > 0)) in ena_set_push_mode()
3125 get_feat_ctx->max_queues.max_cq_depth); in ena_calc_queue_size()
3127 get_feat_ctx->max_queues.max_sq_depth); in ena_calc_queue_size()
3131 get_feat_ctx->max_queues.max_llq_depth); in ena_calc_queue_size()
[all …]
Dena_com.h340 struct ena_admin_queue_feature_desc max_queues; member
Dena_com.c1717 memcpy(&get_feat_ctx->max_queues, &get_resp.u.max_queue, in ena_com_get_dev_attr_feat()
/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.h129 u16 num_queues, u16 max_queues);
Dhinic_hw_qp.c85 u16 num_queues, u16 max_queues) in hinic_qp_prepare_header() argument
87 u16 max_sqs = max_queues; in hinic_qp_prepare_header()
88 u16 max_rqs = max_queues; in hinic_qp_prepare_header()
/Linux-v4.19/drivers/net/
Dxen-netfront.c62 module_param_named(max_queues, xennet_max_queues, uint, 0644);
63 MODULE_PARM_DESC(max_queues,
1808 unsigned int max_queues = 0; in talk_to_netback() local
1815 max_queues = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
1817 num_queues = min(max_queues, xennet_max_queues); in talk_to_netback()
/Linux-v4.19/drivers/net/xen-netback/
Dnetback.c72 module_param_named(max_queues, xenvif_max_queues, uint, 0644);
73 MODULE_PARM_DESC(max_queues,
/Linux-v4.19/drivers/block/xen-blkback/
Dblkback.c103 module_param_named(max_queues, xenblk_max_queues, uint, 0644);
104 MODULE_PARM_DESC(max_queues,
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c3013 int max_queues = min_t(int, adapter->num_rx_queues, in ixgbe_set_rxfh() local
3018 (max_queues < 2)) in ixgbe_set_rxfh()
3019 max_queues = 2; in ixgbe_set_rxfh()
3023 if (indir[i] >= max_queues) in ixgbe_set_rxfh()
/Linux-v4.19/drivers/block/
Dxen-blkfront.c140 module_param_named(max_queues, xen_blkif_max_queues, uint, 0444);
141 MODULE_PARM_DESC(max_queues, "Maximum number of hardware queues/rings used per virtual disk");