Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_main.c284 int num_vecs_requested = priv->num_ntfy_blks + 1; in gve_alloc_notify_blocks()
310 priv->num_ntfy_blks = new_num_ntfy_blks; in gve_alloc_notify_blocks()
311 priv->mgmt_msix_idx = priv->num_ntfy_blks; in gve_alloc_notify_blocks()
326 active_cpus = min_t(int, priv->num_ntfy_blks / 2, num_online_cpus()); in gve_alloc_notify_blocks()
339 priv->num_ntfy_blks * in gve_alloc_notify_blocks()
347 priv->ntfy_blocks = kvzalloc(priv->num_ntfy_blks * in gve_alloc_notify_blocks()
355 for (i = 0; i < priv->num_ntfy_blks; i++) { in gve_alloc_notify_blocks()
387 dma_free_coherent(&priv->pdev->dev, priv->num_ntfy_blks * in gve_alloc_notify_blocks()
409 for (i = 0; i < priv->num_ntfy_blks; i++) { in gve_free_notify_blocks()
420 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.h521 u32 num_ntfy_blks; /* spilt between TX and RX so must be even */ member
763 return (priv->num_ntfy_blks / 2) + queue_idx; in gve_rx_idx_to_ntfy()
Dgve_adminq.h363 u32 num_ntfy_blks);
Dgve_adminq.c453 u32 num_ntfy_blks) in gve_adminq_configure_device_resources() argument
464 .num_irq_dbs = cpu_to_be32(num_ntfy_blks), in gve_adminq_configure_device_resources()