Home
last modified time | relevance | path

Searched refs:msix_vectors (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/google/gve/
Dgve_main.c291 priv->msix_vectors = kvcalloc(num_vecs_requested, in gve_alloc_notify_blocks()
292 sizeof(*priv->msix_vectors), GFP_KERNEL); in gve_alloc_notify_blocks()
293 if (!priv->msix_vectors) in gve_alloc_notify_blocks()
296 priv->msix_vectors[i].entry = i; in gve_alloc_notify_blocks()
297 vecs_enabled = pci_enable_msix_range(priv->pdev, priv->msix_vectors, in gve_alloc_notify_blocks()
331 err = request_irq(priv->msix_vectors[priv->mgmt_msix_idx].vector, in gve_alloc_notify_blocks()
362 err = request_irq(priv->msix_vectors[msix_idx].vector, in gve_alloc_notify_blocks()
370 irq_set_affinity_hint(priv->msix_vectors[msix_idx].vector, in gve_alloc_notify_blocks()
380 irq_set_affinity_hint(priv->msix_vectors[msix_idx].vector, in gve_alloc_notify_blocks()
382 free_irq(priv->msix_vectors[msix_idx].vector, block); in gve_alloc_notify_blocks()
[all …]
Dgve.h502 struct msix_entry *msix_vectors; /* array of num_ntfy_blks + 1 */ member
/Linux-v6.1/drivers/scsi/megaraid/
Dmegaraid_sas_base.c64 static unsigned int msix_vectors; variable
65 module_param(msix_vectors, int, 0444);
66 MODULE_PARM_DESC(msix_vectors, "MSI-X max vector count. Default: Set by FW");
3192 map->nr_queues = instance->msix_vectors - offset; in megasas_map_queues()
4030 if (!instance->msix_vectors) in megasas_deplete_reply_queue()
5653 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_setup_irq_poll()
5715 for (i = 0; i < instance->msix_vectors; i++) { in megasas_setup_irqs_msix()
5733 instance->msix_vectors = 0; in megasas_setup_irqs_msix()
5759 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_destroy_irqs()
5767 if (instance->msix_vectors) in megasas_destroy_irqs()
[all …]
Dmegaraid_sas_fusion.c403 instance->msix_vectors)); in megasas_get_msix_index()
715 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_alloc_reply_fusion()
811 msix_count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_alloc_rdpq_fusion()
1163 IOCInitMessage->HostMSIxVectors = instance->msix_vectors + instance->iopoll_q_count; in megasas_ioc_init_fusion()
1237 cpu_to_le16(~(~0 << instance->msix_vectors/8)); in megasas_ioc_init_fusion()
1856 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_init_adapter_fusion()
3753 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_enable_irq_poll()
3772 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_sync_irqs()
3833 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_complete_cmd_dpc_fusion()
3862 if (!instance->msix_vectors) { in megasas_isr_fusion()
[all …]
Dmegaraid_sas.h2420 unsigned int msix_vectors; member
/Linux-v6.1/drivers/virtio/
Dvirtio_pci_common.c36 for (i = 0; i < vp_dev->msix_vectors; ++i) in vp_synchronize_vectors()
111 vp_dev->msix_vectors = nvectors; in vp_request_msix_vectors()
262 for (i = 0; i < vp_dev->msix_vectors; i++) in vp_del_vqs()
274 vp_dev->msix_vectors = 0; in vp_del_vqs()
Dvirtio_pci_common.h71 unsigned int msix_vectors; member
/Linux-v6.1/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c216 struct msix_entry *msix_vectors; member
2161 status = pci_enable_msix_range(pdev, mgp->msix_vectors, in myri10ge_request_irq()
2186 status = request_irq(mgp->msix_vectors[i].vector, in myri10ge_request_irq()
2194 free_irq(mgp->msix_vectors[i].vector, in myri10ge_request_irq()
2221 free_irq(mgp->msix_vectors[i].vector, &mgp->ss[i]); in myri10ge_free_irq()
3684 mgp->msix_vectors = kcalloc(mgp->num_slices, sizeof(*mgp->msix_vectors), in myri10ge_probe_slices()
3686 if (mgp->msix_vectors == NULL) in myri10ge_probe_slices()
3689 mgp->msix_vectors[i].entry = i; in myri10ge_probe_slices()
3697 mgp->msix_vectors, in myri10ge_probe_slices()
3715 if (mgp->msix_vectors != NULL) { in myri10ge_probe_slices()
[all …]
/Linux-v6.1/drivers/scsi/
Dhpsa.h186 unsigned int msix_vectors; member
495 if (unlikely(!(h->pdev->msi_enabled || h->msix_vectors))) { in SA5_performant_completed()
Dhpsa.c1056 if (unlikely(!h->msix_vectors)) in set_performant_mode()
7484 h->msix_vectors = 0; in hpsa_disable_interrupt_mode()
7492 for (queue = 0; queue < h->msix_vectors; queue++) { in hpsa_setup_reply_map()
7526 h->msix_vectors = ret; in hpsa_interrupt_mode()
8082 if (!h->msix_vectors || h->intr_mode != PERF_MODE_INT) { in hpsa_free_irqs()
8090 for (i = 0; i < h->msix_vectors; i++) { in hpsa_free_irqs()
8116 if (h->intr_mode == PERF_MODE_INT && h->msix_vectors > 0) { in hpsa_request_irqs()
8118 for (i = 0; i < h->msix_vectors; i++) { in hpsa_request_irqs()
8140 if (h->msix_vectors > 0 || h->pdev->msi_enabled) { in hpsa_request_irqs()
8142 h->msix_vectors ? "x" : ""); in hpsa_request_irqs()
[all …]
/Linux-v6.1/drivers/net/ethernet/brocade/bna/
Dbnad.c2542 bnad_q_num_adjust(struct bnad *bnad, int msix_vectors, int temp) in bnad_q_num_adjust() argument
2545 if ((msix_vectors >= (bnad->num_tx * bnad->num_txq_per_tx) + in bnad_q_num_adjust()
2548 bnad->num_rxp_per_rx = msix_vectors - in bnad_q_num_adjust()