Home
last modified time | relevance | path

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

/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.c511 static void gve_add_napi(struct gve_priv *priv, int ntfy_idx, in gve_add_napi() argument
514 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_add_napi()
519 static void gve_remove_napi(struct gve_priv *priv, int ntfy_idx) in gve_remove_napi() argument
521 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_remove_napi()
622 int ntfy_idx = gve_tx_idx_to_ntfy(priv, i); in add_napi_init_sync_stats() local
625 priv->tx[i].ntfy_id = ntfy_idx; in add_napi_init_sync_stats()
626 gve_add_napi(priv, ntfy_idx, napi_poll); in add_napi_init_sync_stats()
630 int ntfy_idx = gve_rx_idx_to_ntfy(priv, i); in add_napi_init_sync_stats() local
633 priv->rx[i].ntfy_id = ntfy_idx; in add_napi_init_sync_stats()
634 gve_add_napi(priv, ntfy_idx, napi_poll); in add_napi_init_sync_stats()
[all …]
Dgve_ethtool.c586 int ntfy_idx = gve_tx_idx_to_ntfy(priv, idx); in gve_set_coalesce() local
587 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_set_coalesce()
596 int ntfy_idx = gve_rx_idx_to_ntfy(priv, idx); in gve_set_coalesce() local
597 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_set_coalesce()