Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/google/gve/
H A Dgve_main.c416 int num_vecs_requested = priv->num_ntfy_blks + 1; in gve_alloc_notify_blocks()
441 priv->num_ntfy_blks = new_num_ntfy_blks; in gve_alloc_notify_blocks()
442 priv->mgmt_msix_idx = priv->num_ntfy_blks; in gve_alloc_notify_blocks()
457 active_cpus = min_t(int, priv->num_ntfy_blks / 2, num_online_cpus()); in gve_alloc_notify_blocks()
470 priv->num_ntfy_blks * in gve_alloc_notify_blocks()
478 priv->ntfy_blocks = kvzalloc(priv->num_ntfy_blks * in gve_alloc_notify_blocks()
486 for (i = 0; i < priv->num_ntfy_blks; i++) { in gve_alloc_notify_blocks()
520 dma_free_coherent(&priv->pdev->dev, priv->num_ntfy_blks * in gve_alloc_notify_blocks()
542 for (i = 0; i < priv->num_ntfy_blks; i++) { in gve_free_notify_blocks()
554 dma_free_coherent(&priv->pdev->dev, priv->num_ntfy_blks * in gve_free_notify_blocks()
[all …]
H A Dgve_utils.c29 unsigned int active_cpus = min_t(int, priv->num_ntfy_blks / 2, in gve_tx_add_to_block()
H A Dgve.h751 u32 num_ntfy_blks; /* spilt between TX and RX so must be even */ member
1011 return (priv->num_ntfy_blks / 2) + queue_idx; in gve_rx_idx_to_ntfy()
H A Dgve_adminq.h604 u32 num_ntfy_blks);
H A Dgve_adminq.c638 u32 num_ntfy_blks) in gve_adminq_configure_device_resources() argument
649 .num_irq_dbs = cpu_to_be32(num_ntfy_blks), in gve_adminq_configure_device_resources()