Lines Matching refs:ntfy_idx
524 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()
743 int ntfy_idx; in gve_free_rings() local
748 ntfy_idx = gve_tx_idx_to_ntfy(priv, i); in gve_free_rings()
749 gve_remove_napi(priv, ntfy_idx); in gve_free_rings()
757 ntfy_idx = gve_rx_idx_to_ntfy(priv, i); in gve_free_rings()
758 gve_remove_napi(priv, ntfy_idx); in gve_free_rings()
1078 int ntfy_idx = gve_tx_idx_to_ntfy(priv, idx); in gve_turndown() local
1079 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_turndown()
1084 int ntfy_idx = gve_rx_idx_to_ntfy(priv, idx); in gve_turndown() local
1085 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_turndown()
1106 int ntfy_idx = gve_tx_idx_to_ntfy(priv, idx); in gve_turnup() local
1107 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_turnup()
1118 int ntfy_idx = gve_rx_idx_to_ntfy(priv, idx); in gve_turnup() local
1119 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_turnup()
1140 u32 ntfy_idx; in gve_tx_timeout() local
1147 ntfy_idx = gve_tx_idx_to_ntfy(priv, txqueue); in gve_tx_timeout()
1148 if (ntfy_idx >= priv->num_ntfy_blks) in gve_tx_timeout()
1151 block = &priv->ntfy_blocks[ntfy_idx]; in gve_tx_timeout()