Lines Matching refs:num_queues
105 for (i = 0; i < priv->rx_cfg.num_queues; i++) in gve_get_strings()
139 (priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS) + in gve_get_sset_count()
177 rx_qid_to_stats_idx = kmalloc_array(priv->rx_cfg.num_queues, in gve_get_ethtool_stats()
181 for (ring = 0; ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
202 ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
270 GVE_RX_STATS_REPORT_NUM * priv->rx_cfg.num_queues; in gve_get_ethtool_stats()
277 (priv->rx_cfg.num_queues - num_stopped_rxqs) + in gve_get_ethtool_stats()
291 if (queue_id < 0 || queue_id >= priv->rx_cfg.num_queues) { in gve_get_ethtool_stats()
299 for (ring = 0; ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
354 i += priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS; in gve_get_ethtool_stats()
470 cmd->rx_count = priv->rx_cfg.num_queues; in gve_get_channels()
471 cmd->tx_count = priv->tx_cfg.num_queues; in gve_get_channels()
509 if (new_rx != priv->rx_cfg.num_queues && in gve_set_channels()
513 new_tx_cfg.num_queues = new_tx; in gve_set_channels()
514 new_rx_cfg.num_queues = new_rx; in gve_set_channels()
704 priv->rx_cfg.num_queues; in gve_set_priv_flags()
764 for (idx = 0; idx < priv->tx_cfg.num_queues; idx++) { in gve_set_coalesce()
774 for (idx = 0; idx < priv->rx_cfg.num_queues; idx++) { in gve_set_coalesce()
819 cmd->data = priv->rx_cfg.num_queues; in gve_get_rxnfc()