Lines Matching refs:num_queues

91 		for (i = 0; i < priv->rx_cfg.num_queues; i++) {  in gve_get_strings()
99 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_get_strings()
130 (priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS) + in gve_get_sset_count()
131 (priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS); in gve_get_sset_count()
162 rx_qid_to_stats_idx = kmalloc_array(priv->rx_cfg.num_queues, in gve_get_ethtool_stats()
166 tx_qid_to_stats_idx = kmalloc_array(priv->tx_cfg.num_queues, in gve_get_ethtool_stats()
174 ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
197 ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
234 base_stats_idx = GVE_TX_STATS_REPORT_NUM * priv->tx_cfg.num_queues + in gve_get_ethtool_stats()
235 GVE_RX_STATS_REPORT_NUM * priv->rx_cfg.num_queues; in gve_get_ethtool_stats()
236 max_stats_idx = NIC_RX_STATS_REPORT_NUM * priv->rx_cfg.num_queues + in gve_get_ethtool_stats()
254 for (ring = 0; ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
294 i += priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS; in gve_get_ethtool_stats()
299 max_stats_idx = NIC_TX_STATS_REPORT_NUM * priv->tx_cfg.num_queues + in gve_get_ethtool_stats()
317 for (ring = 0; ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
356 i += priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS; in gve_get_ethtool_stats()
388 cmd->rx_count = priv->rx_cfg.num_queues; in gve_get_channels()
389 cmd->tx_count = priv->tx_cfg.num_queues; in gve_get_channels()
414 priv->tx_cfg.num_queues = new_tx; in gve_set_channels()
415 priv->rx_cfg.num_queues = new_rx; in gve_set_channels()
419 new_tx_cfg.num_queues = new_tx; in gve_set_channels()
420 new_rx_cfg.num_queues = new_rx; in gve_set_channels()
523 priv->tx_cfg.num_queues; in gve_set_priv_flags()
525 priv->rx_cfg.num_queues; in gve_set_priv_flags()
579 for (idx = 0; idx < priv->tx_cfg.num_queues; idx++) { in gve_set_coalesce()
589 for (idx = 0; idx < priv->rx_cfg.num_queues; idx++) { in gve_set_coalesce()