Lines Matching refs:num_rings
929 cfg->num_rings = gve_num_tx_queues(priv); in gve_tx_get_curr_alloc_cfg()
933 static void gve_tx_stop_rings(struct gve_priv *priv, int start_id, int num_rings) in gve_tx_stop_rings() argument
940 for (i = start_id; i < start_id + num_rings; i++) { in gve_tx_stop_rings()
949 int num_rings) in gve_tx_start_rings() argument
953 for (i = start_id; i < start_id + num_rings; i++) { in gve_tx_start_rings()
971 cfg.num_rings = priv->num_xdp_queues; in gve_alloc_xdp_rings()
977 gve_tx_start_rings(priv, cfg.start_idx, cfg.num_rings); in gve_alloc_xdp_rings()
1063 cfg.num_rings = priv->num_xdp_queues; in gve_free_xdp_rings()
1066 gve_tx_stop_rings(priv, cfg.start_idx, cfg.num_rings); in gve_free_xdp_rings()
1305 static void gve_rx_start_rings(struct gve_priv *priv, int num_rings) in gve_rx_start_rings() argument
1309 for (i = 0; i < num_rings; i++) in gve_rx_start_rings()
1321 static void gve_rx_stop_rings(struct gve_priv *priv, int num_rings) in gve_rx_stop_rings() argument
1328 for (i = 0; i < num_rings; i++) in gve_rx_stop_rings()
1368 gve_tx_start_rings(priv, 0, tx_alloc_cfg->num_rings); in gve_queues_start()
1848 tx_alloc_cfg.num_rings = new_tx_config.num_queues; in gve_adjust_queues()