Home
last modified time | relevance | path

Searched refs:tx_alloc_cfg (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/google/gve/
H A Dgve_main.c619 struct gve_tx_alloc_rings_cfg *tx_alloc_cfg, in gve_free_notify_blocks()
622 gve_tx_get_curr_alloc_cfg(priv, tx_alloc_cfg); in gve_free_notify_blocks()
641 struct gve_tx_alloc_rings_cfg tx_alloc_cfg = {0}; in gve_setup_device_resources()
644 gve_get_curr_alloc_cfgs(priv, &tx_alloc_cfg, &rx_alloc_cfg); in gve_setup_device_resources()
645 gve_queues_mem_free(priv, &tx_alloc_cfg, &rx_alloc_cfg); in gve_setup_device_resources()
1034 struct gve_tx_alloc_rings_cfg *tx_alloc_cfg) in gve_update_num_qpl_pages()
1050 tx_num_queues = tx_alloc_cfg->qcfg->num_queues; in gve_queues_mem_alloc()
1053 ideal_tx_pages = tx_alloc_cfg->ring_size * tx_num_queues / 2; in gve_queues_mem_alloc()
1060 tx_alloc_cfg->pages_per_qpl = div_u64(tx_pages, tx_num_queues); in gve_queues_mem_alloc()
1067 struct gve_tx_alloc_rings_cfg *tx_alloc_cfg,
1004 gve_update_num_qpl_pages(struct gve_priv * priv,struct gve_rx_alloc_rings_cfg * rx_alloc_cfg,struct gve_tx_alloc_rings_cfg * tx_alloc_cfg) gve_update_num_qpl_pages() argument
1037 gve_queues_mem_alloc(struct gve_priv * priv,struct gve_tx_alloc_rings_cfg * tx_alloc_cfg,struct gve_rx_alloc_rings_cfg * rx_alloc_cfg) gve_queues_mem_alloc() argument
1341 gve_get_curr_alloc_cfgs(struct gve_priv * priv,struct gve_tx_alloc_rings_cfg * tx_alloc_cfg,struct gve_rx_alloc_rings_cfg * rx_alloc_cfg) gve_get_curr_alloc_cfgs() argument
1385 struct gve_tx_alloc_rings_cfg tx_alloc_cfg = {0}; gve_queues_mem_remove() local
1398 gve_queues_start(struct gve_priv * priv,struct gve_tx_alloc_rings_cfg * tx_alloc_cfg,struct gve_rx_alloc_rings_cfg * rx_alloc_cfg) gve_queues_start() argument
1478 struct gve_tx_alloc_rings_cfg tx_alloc_cfg = {0}; gve_open() local
1569 struct gve_tx_alloc_rings_cfg tx_alloc_cfg = {0}; gve_configure_rings_xdp() local
1854 gve_adjust_config(struct gve_priv * priv,struct gve_tx_alloc_rings_cfg * tx_alloc_cfg,struct gve_rx_alloc_rings_cfg * rx_alloc_cfg) gve_adjust_config() argument
1896 struct gve_tx_alloc_rings_cfg tx_alloc_cfg = {0}; gve_adjust_queues() local
2173 struct gve_tx_alloc_rings_cfg tx_alloc_cfg = {0}; gve_set_features() local
[all...]
H A Dgve_ethtool.c586 struct gve_tx_alloc_rings_cfg *tx_alloc_cfg, in gve_set_ring_sizes_config() argument
601 tx_alloc_cfg->ring_size = new_tx_desc_cnt; in gve_set_ring_sizes_config()
611 struct gve_tx_alloc_rings_cfg tx_alloc_cfg = {0}; in gve_set_ringparam() local
616 gve_get_curr_alloc_cfgs(priv, &tx_alloc_cfg, &rx_alloc_cfg); in gve_set_ringparam()
629 &tx_alloc_cfg, &rx_alloc_cfg); in gve_set_ringparam()
634 err = gve_adjust_config(priv, &tx_alloc_cfg, &rx_alloc_cfg); in gve_set_ringparam()
642 priv->tx_desc_cnt = tx_alloc_cfg.ring_size; in gve_set_ringparam()
H A Dgve.h1390 struct gve_tx_alloc_rings_cfg *tx_alloc_cfg,
1394 struct gve_tx_alloc_rings_cfg *tx_alloc_cfg);
1396 struct gve_tx_alloc_rings_cfg *tx_alloc_cfg,