Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_utils.c23 int ntfy_idx = gve_tx_idx_to_ntfy(priv, queue_idx); in gve_tx_add_to_block() local
24 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_tx_add_to_block()
28 tx->ntfy_id = ntfy_idx; in gve_tx_add_to_block()
29 netif_set_xps_queue(priv->dev, get_cpu_mask(ntfy_idx % active_cpus), in gve_tx_add_to_block()
43 u32 ntfy_idx = gve_rx_idx_to_ntfy(priv, queue_idx); in gve_rx_add_to_block() local
44 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_rx_add_to_block()
48 rx->ntfy_id = ntfy_idx; in gve_rx_add_to_block()
Dgve_main.c524 static void gve_add_napi(struct gve_priv *priv, int ntfy_idx, in gve_add_napi() argument
527 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_add_napi()
532 static void gve_remove_napi(struct gve_priv *priv, int ntfy_idx) in gve_remove_napi() argument
534 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_remove_napi()
635 int ntfy_idx = gve_tx_idx_to_ntfy(priv, i); in add_napi_init_sync_stats() local
638 priv->tx[i].ntfy_id = ntfy_idx; in add_napi_init_sync_stats()
639 gve_add_napi(priv, ntfy_idx, napi_poll); in add_napi_init_sync_stats()
643 int ntfy_idx = gve_rx_idx_to_ntfy(priv, i); in add_napi_init_sync_stats() local
646 priv->rx[i].ntfy_id = ntfy_idx; in add_napi_init_sync_stats()
647 gve_add_napi(priv, ntfy_idx, napi_poll); in add_napi_init_sync_stats()
[all …]
Dgve_ethtool.c580 int ntfy_idx = gve_tx_idx_to_ntfy(priv, idx); in gve_set_coalesce() local
581 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_set_coalesce()
590 int ntfy_idx = gve_rx_idx_to_ntfy(priv, idx); in gve_set_coalesce() local
591 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_set_coalesce()