Searched refs:num_ntfy_blks (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
H A D | gve_main.c | 210 int num_vecs_requested = priv->num_ntfy_blks + 1; in gve_alloc_notify_blocks() 236 priv->num_ntfy_blks = new_num_ntfy_blks; in gve_alloc_notify_blocks() 237 priv->mgmt_msix_idx = priv->num_ntfy_blks; in gve_alloc_notify_blocks() 252 active_cpus = min_t(int, priv->num_ntfy_blks / 2, num_online_cpus()); in gve_alloc_notify_blocks() 265 priv->num_ntfy_blks * in gve_alloc_notify_blocks() 273 for (i = 0; i < priv->num_ntfy_blks; i++) { in gve_alloc_notify_blocks() 300 dma_free_coherent(&priv->pdev->dev, priv->num_ntfy_blks * in gve_alloc_notify_blocks() 322 for (i = 0; i < priv->num_ntfy_blks; i++) { in gve_free_notify_blocks() 332 priv->num_ntfy_blks * sizeof(*priv->ntfy_blocks), in gve_free_notify_blocks() 357 priv->num_ntfy_blks); in gve_setup_device_resources() [all...] |
H A D | gve.h | 187 struct gve_notify_block *ntfy_blocks; /* array of num_ntfy_blks */ 189 struct msix_entry *msix_vectors; /* array of num_ntfy_blks + 1 */ 208 u32 num_ntfy_blks; /* spilt between TX and RX so must be even */ member 434 return (priv->num_ntfy_blks / 2) + queue_idx; in gve_rx_idx_to_ntfy()
|
H A D | gve_adminq.h | 255 u32 num_ntfy_blks);
|
H A D | gve_adminq.c | 289 u32 num_ntfy_blks) in gve_adminq_configure_device_resources() 300 .num_irq_dbs = cpu_to_be32(num_ntfy_blks), in gve_adminq_configure_device_resources() 285 gve_adminq_configure_device_resources(struct gve_priv *priv, dma_addr_t counter_array_bus_addr, u32 num_counters, dma_addr_t db_array_bus_addr, u32 num_ntfy_blks) gve_adminq_configure_device_resources() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/ |
H A D | gve_main.c | 333 int num_vecs_requested = priv->num_ntfy_blks + 1; in gve_alloc_notify_blocks() 358 priv->num_ntfy_blks = new_num_ntfy_blks; in gve_alloc_notify_blocks() 359 priv->mgmt_msix_idx = priv->num_ntfy_blks; in gve_alloc_notify_blocks() 374 active_cpus = min_t(int, priv->num_ntfy_blks / 2, num_online_cpus()); in gve_alloc_notify_blocks() 387 priv->num_ntfy_blks * in gve_alloc_notify_blocks() 395 priv->ntfy_blocks = kvzalloc(priv->num_ntfy_blks * in gve_alloc_notify_blocks() 403 for (i = 0; i < priv->num_ntfy_blks; i++) { in gve_alloc_notify_blocks() 435 dma_free_coherent(&priv->pdev->dev, priv->num_ntfy_blks * in gve_alloc_notify_blocks() 457 for (i = 0; i < priv->num_ntfy_blks; i++) { in gve_free_notify_blocks() 468 dma_free_coherent(&priv->pdev->dev, priv->num_ntfy_blks * in gve_free_notify_blocks() [all...] |
H A D | gve_utils.c | 21 unsigned int active_cpus = min_t(int, priv->num_ntfy_blks / 2, in gve_tx_add_to_block()
|
H A D | gve.h | 637 struct gve_notify_block *ntfy_blocks; /* array of num_ntfy_blks */ 638 struct gve_irq_db *irq_db_indices; /* array of num_ntfy_blks */ 640 struct msix_entry *msix_vectors; /* array of num_ntfy_blks + 1 */ 662 u32 num_ntfy_blks; /* spilt between TX and RX so must be even */ member 905 return (priv->num_ntfy_blks / 2) + queue_idx; in gve_rx_idx_to_ntfy()
|
H A D | gve_adminq.h | 421 u32 num_ntfy_blks);
|
H A D | gve_adminq.c | 475 u32 num_ntfy_blks) in gve_adminq_configure_device_resources() 486 .num_irq_dbs = cpu_to_be32(num_ntfy_blks), in gve_adminq_configure_device_resources() 471 gve_adminq_configure_device_resources(struct gve_priv *priv, dma_addr_t counter_array_bus_addr, u32 num_counters, dma_addr_t db_array_bus_addr, u32 num_ntfy_blks) gve_adminq_configure_device_resources() argument
|
Completed in 11 milliseconds