Lines Matching refs:num_queues
87 for (i = 0; i < priv->rx_cfg.num_queues; i++) { in gve_get_strings()
95 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_get_strings()
126 (priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS) + in gve_get_sset_count()
127 (priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS); in gve_get_sset_count()
157 rx_qid_to_stats_idx = kmalloc_array(priv->rx_cfg.num_queues, in gve_get_ethtool_stats()
161 tx_qid_to_stats_idx = kmalloc_array(priv->tx_cfg.num_queues, in gve_get_ethtool_stats()
169 ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
192 ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
230 base_stats_idx = GVE_TX_STATS_REPORT_NUM * priv->tx_cfg.num_queues + in gve_get_ethtool_stats()
231 GVE_RX_STATS_REPORT_NUM * priv->rx_cfg.num_queues; in gve_get_ethtool_stats()
232 max_stats_idx = NIC_RX_STATS_REPORT_NUM * priv->rx_cfg.num_queues + in gve_get_ethtool_stats()
250 for (ring = 0; ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
286 i += priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS; in gve_get_ethtool_stats()
291 max_stats_idx = NIC_TX_STATS_REPORT_NUM * priv->tx_cfg.num_queues + in gve_get_ethtool_stats()
309 for (ring = 0; ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
338 i += priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS; in gve_get_ethtool_stats()
370 cmd->rx_count = priv->rx_cfg.num_queues; in gve_get_channels()
371 cmd->tx_count = priv->tx_cfg.num_queues; in gve_get_channels()
396 priv->tx_cfg.num_queues = new_tx; in gve_set_channels()
397 priv->rx_cfg.num_queues = new_rx; in gve_set_channels()
401 new_tx_cfg.num_queues = new_tx; in gve_set_channels()
402 new_rx_cfg.num_queues = new_rx; in gve_set_channels()
498 priv->tx_cfg.num_queues; in gve_set_priv_flags()
500 priv->rx_cfg.num_queues; in gve_set_priv_flags()