Lines Matching refs:queue_index
669 static int gve_adminq_create_tx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_create_tx_queue() argument
671 struct gve_tx_ring *tx = &priv->tx[queue_index]; in gve_adminq_create_tx_queue()
677 .queue_id = cpu_to_be32(queue_index), in gve_adminq_create_tx_queue()
723 u32 queue_index) in gve_adminq_get_create_rx_queue_cmd() argument
725 struct gve_rx_ring *rx = &priv->rx[queue_index]; in gve_adminq_get_create_rx_queue_cmd()
730 .queue_id = cpu_to_be32(queue_index), in gve_adminq_get_create_rx_queue_cmd()
744 cmd->create_rx_queue.index = cpu_to_be32(queue_index); in gve_adminq_get_create_rx_queue_cmd()
771 static int gve_adminq_create_rx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_create_rx_queue() argument
775 gve_adminq_get_create_rx_queue_cmd(priv, &cmd, queue_index); in gve_adminq_create_rx_queue()
780 int gve_adminq_create_single_rx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_create_single_rx_queue() argument
784 gve_adminq_get_create_rx_queue_cmd(priv, &cmd, queue_index); in gve_adminq_create_single_rx_queue()
802 static int gve_adminq_destroy_tx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_destroy_tx_queue() argument
810 .queue_id = cpu_to_be32(queue_index), in gve_adminq_destroy_tx_queue()
835 u32 queue_index) in gve_adminq_make_destroy_rx_queue_cmd() argument
840 .queue_id = cpu_to_be32(queue_index), in gve_adminq_make_destroy_rx_queue_cmd()
844 static int gve_adminq_destroy_rx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_destroy_rx_queue() argument
848 gve_adminq_make_destroy_rx_queue_cmd(&cmd, queue_index); in gve_adminq_destroy_rx_queue()
853 int gve_adminq_destroy_single_rx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_destroy_single_rx_queue() argument
857 gve_adminq_make_destroy_rx_queue_cmd(&cmd, queue_index); in gve_adminq_destroy_single_rx_queue()