Searched refs:ntfy_blocks (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/ |
H A D | gve_utils.c | 14 &priv->ntfy_blocks[gve_tx_idx_to_ntfy(priv, queue_idx)]; in gve_tx_remove_from_block() 24 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_tx_add_to_block() 36 &priv->ntfy_blocks[gve_rx_idx_to_ntfy(priv, queue_idx)]; in gve_rx_remove_from_block() 44 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_rx_add_to_block()
|
H A D | gve_main.c | 395 priv->ntfy_blocks = kvzalloc(priv->num_ntfy_blks * in gve_alloc_notify_blocks() 396 sizeof(*priv->ntfy_blocks), GFP_KERNEL); in gve_alloc_notify_blocks() 397 if (!priv->ntfy_blocks) { in gve_alloc_notify_blocks() 404 struct gve_notify_block *block = &priv->ntfy_blocks[i]; in gve_alloc_notify_blocks() 425 struct gve_notify_block *block = &priv->ntfy_blocks[j]; in gve_alloc_notify_blocks() 432 kvfree(priv->ntfy_blocks); in gve_alloc_notify_blocks() 433 priv->ntfy_blocks = NULL; in gve_alloc_notify_blocks() 458 struct gve_notify_block *block = &priv->ntfy_blocks[i]; in gve_free_notify_blocks() 466 kvfree(priv->ntfy_blocks); in gve_free_notify_blocks() 467 priv->ntfy_blocks in gve_free_notify_blocks() [all...] |
H A D | gve_ethtool.c | 636 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_set_coalesce() 646 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_set_coalesce()
|
H A D | gve_rx.c | 730 struct napi_struct *napi = &priv->ntfy_blocks[rx->ntfy_id].napi; in gve_rx() 951 struct napi_struct *napi = &priv->ntfy_blocks[rx->ntfy_id].napi; in gve_clean_rx_done()
|
H A D | gve.h | 637 struct gve_notify_block *ntfy_blocks; /* array of num_ntfy_blks */ member 886 /* Returns the address of the ntfy_blocks irq doorbell 894 /* Returns the index into ntfy_blocks of the given tx ring's block 901 /* Returns the index into ntfy_blocks of the given rx ring's block
|
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
H A D | gve_main.c | 263 priv->ntfy_blocks = in gve_alloc_notify_blocks() 266 sizeof(*priv->ntfy_blocks), in gve_alloc_notify_blocks() 268 if (!priv->ntfy_blocks) { in gve_alloc_notify_blocks() 274 struct gve_notify_block *block = &priv->ntfy_blocks[i]; in gve_alloc_notify_blocks() 293 struct gve_notify_block *block = &priv->ntfy_blocks[j]; in gve_alloc_notify_blocks() 301 sizeof(*priv->ntfy_blocks), in gve_alloc_notify_blocks() 302 priv->ntfy_blocks, priv->ntfy_block_bus); in gve_alloc_notify_blocks() 303 priv->ntfy_blocks = NULL; in gve_alloc_notify_blocks() 323 struct gve_notify_block *block = &priv->ntfy_blocks[i]; in gve_free_notify_blocks() 332 priv->num_ntfy_blks * sizeof(*priv->ntfy_blocks), in gve_free_notify_blocks() [all...] |
H A D | gve_rx.c | 14 &priv->ntfy_blocks[gve_rx_idx_to_ntfy(priv, queue_idx)]; in gve_rx_remove_from_block() 90 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_rx_add_to_block() 286 struct napi_struct *napi = &priv->ntfy_blocks[rx->ntfy_id].napi; in gve_rx()
|
H A D | gve_tx.c | 137 &priv->ntfy_blocks[gve_tx_idx_to_ntfy(priv, queue_idx)]; in gve_tx_remove_from_block() 178 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_tx_add_to_block()
|
H A D | gve.h | 187 struct gve_notify_block *ntfy_blocks; /* array of num_ntfy_blks */ member 415 /* Returns the address of the ntfy_blocks irq doorbell 423 /* Returns the index into ntfy_blocks of the given tx ring's block 430 /* Returns the index into ntfy_blocks of the given rx ring's block
|
H A D | gve_adminq.c | 301 .irq_db_stride = cpu_to_be32(sizeof(priv->ntfy_blocks[0])), in gve_adminq_configure_device_resources()
|
Completed in 12 milliseconds