Lines Matching refs:num_queues

90 		for (i = 0; i < priv->rx_cfg.num_queues; i++) {  in gve_get_strings()
98 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_get_strings()
129 (priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS) + in gve_get_sset_count()
130 (priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS); in gve_get_sset_count()
160 rx_qid_to_stats_idx = kmalloc_array(priv->rx_cfg.num_queues, in gve_get_ethtool_stats()
164 tx_qid_to_stats_idx = kmalloc_array(priv->tx_cfg.num_queues, in gve_get_ethtool_stats()
172 ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
195 ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
233 base_stats_idx = GVE_TX_STATS_REPORT_NUM * priv->tx_cfg.num_queues + in gve_get_ethtool_stats()
234 GVE_RX_STATS_REPORT_NUM * priv->rx_cfg.num_queues; in gve_get_ethtool_stats()
235 max_stats_idx = NIC_RX_STATS_REPORT_NUM * priv->rx_cfg.num_queues + in gve_get_ethtool_stats()
253 for (ring = 0; ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
292 i += priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS; in gve_get_ethtool_stats()
297 max_stats_idx = NIC_TX_STATS_REPORT_NUM * priv->tx_cfg.num_queues + in gve_get_ethtool_stats()
315 for (ring = 0; ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
352 i += priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS; in gve_get_ethtool_stats()
384 cmd->rx_count = priv->rx_cfg.num_queues; in gve_get_channels()
385 cmd->tx_count = priv->tx_cfg.num_queues; in gve_get_channels()
410 priv->tx_cfg.num_queues = new_tx; in gve_set_channels()
411 priv->rx_cfg.num_queues = new_rx; in gve_set_channels()
415 new_tx_cfg.num_queues = new_tx; in gve_set_channels()
416 new_rx_cfg.num_queues = new_rx; in gve_set_channels()
517 priv->tx_cfg.num_queues; in gve_set_priv_flags()
519 priv->rx_cfg.num_queues; in gve_set_priv_flags()