Lines Matching refs:num_queues
89 for (i = 0; i < priv->rx_cfg.num_queues; i++) { in gve_get_strings()
97 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_get_strings()
128 (priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS) + in gve_get_sset_count()
129 (priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS); in gve_get_sset_count()
159 rx_qid_to_stats_idx = kmalloc_array(priv->rx_cfg.num_queues, in gve_get_ethtool_stats()
163 tx_qid_to_stats_idx = kmalloc_array(priv->tx_cfg.num_queues, in gve_get_ethtool_stats()
171 ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
194 ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
232 base_stats_idx = GVE_TX_STATS_REPORT_NUM * priv->tx_cfg.num_queues + in gve_get_ethtool_stats()
233 GVE_RX_STATS_REPORT_NUM * priv->rx_cfg.num_queues; in gve_get_ethtool_stats()
234 max_stats_idx = NIC_RX_STATS_REPORT_NUM * priv->rx_cfg.num_queues + in gve_get_ethtool_stats()
252 for (ring = 0; ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
288 i += priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS; in gve_get_ethtool_stats()
293 max_stats_idx = NIC_TX_STATS_REPORT_NUM * priv->tx_cfg.num_queues + in gve_get_ethtool_stats()
311 for (ring = 0; ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
349 i += priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS; in gve_get_ethtool_stats()
381 cmd->rx_count = priv->rx_cfg.num_queues; in gve_get_channels()
382 cmd->tx_count = priv->tx_cfg.num_queues; in gve_get_channels()
407 priv->tx_cfg.num_queues = new_tx; in gve_set_channels()
408 priv->rx_cfg.num_queues = new_rx; in gve_set_channels()
412 new_tx_cfg.num_queues = new_tx; in gve_set_channels()
413 new_rx_cfg.num_queues = new_rx; in gve_set_channels()
514 priv->tx_cfg.num_queues; in gve_set_priv_flags()
516 priv->rx_cfg.num_queues; in gve_set_priv_flags()