Home
last modified time | relevance | path

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

/linux-5.19.10/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()
533 static void gve_remove_napi(struct gve_priv *priv, int ntfy_idx) in gve_remove_napi() argument
535 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_remove_napi()
636 int ntfy_idx = gve_tx_idx_to_ntfy(priv, i); in add_napi_init_sync_stats() local
639 priv->tx[i].ntfy_id = ntfy_idx; in add_napi_init_sync_stats()
640 gve_add_napi(priv, ntfy_idx, napi_poll); in add_napi_init_sync_stats()
644 int ntfy_idx = gve_rx_idx_to_ntfy(priv, i); in add_napi_init_sync_stats() local
647 priv->rx[i].ntfy_id = ntfy_idx; in add_napi_init_sync_stats()
648 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()