in gve_adminq.c [217:229]
static int gve_adminq_execute_cmd(struct gve_priv *priv,
struct gve_adminq_command *cmd);
static int
gve_adminq_destroy_tx_queue(struct gve_priv *priv, uint32_t id)
{
struct gve_adminq_command cmd = (struct gve_adminq_command){};
cmd.opcode = htobe32(GVE_ADMINQ_DESTROY_TX_QUEUE);
cmd.destroy_tx_queue.queue_id = htobe32(id);
return (gve_adminq_execute_cmd(priv, &cmd));
}