Home
last modified time | relevance | path

Searched refs:num_ntfy_blks (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/google/gve/
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 …]
Dgve_utils.c21 unsigned int active_cpus = min_t(int, priv->num_ntfy_blks / 2, in gve_tx_add_to_block()
Dgve.h662 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()
Dgve_adminq.h421 u32 num_ntfy_blks);
Dgve_adminq.c475 u32 num_ntfy_blks) in gve_adminq_configure_device_resources() argument
486 .num_irq_dbs = cpu_to_be32(num_ntfy_blks), in gve_adminq_configure_device_resources()