Home
last modified time | relevance | path

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 Dgve_main.c210 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 Dgve.h187 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 Dgve_adminq.h255 u32 num_ntfy_blks);
H A Dgve_adminq.c289 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 Dgve_main.c333 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 Dgve_utils.c21 unsigned int active_cpus = min_t(int, priv->num_ntfy_blks / 2, in gve_tx_add_to_block()
H A Dgve.h637 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 Dgve_adminq.h421 u32 num_ntfy_blks);
H A Dgve_adminq.c475 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