Home
last modified time | relevance | path

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

/drivers/net/ethernet/google/gve/
Dgve_main.c217 priv->msix_vectors = kvzalloc(num_vecs_requested * in gve_alloc_notify_blocks()
218 sizeof(*priv->msix_vectors), GFP_KERNEL); in gve_alloc_notify_blocks()
219 if (!priv->msix_vectors) in gve_alloc_notify_blocks()
222 priv->msix_vectors[i].entry = i; in gve_alloc_notify_blocks()
223 vecs_enabled = pci_enable_msix_range(priv->pdev, priv->msix_vectors, in gve_alloc_notify_blocks()
257 err = request_irq(priv->msix_vectors[priv->mgmt_msix_idx].vector, in gve_alloc_notify_blocks()
280 err = request_irq(priv->msix_vectors[msix_idx].vector, in gve_alloc_notify_blocks()
287 irq_set_affinity_hint(priv->msix_vectors[msix_idx].vector, in gve_alloc_notify_blocks()
296 irq_set_affinity_hint(priv->msix_vectors[msix_idx].vector, in gve_alloc_notify_blocks()
298 free_irq(priv->msix_vectors[msix_idx].vector, block); in gve_alloc_notify_blocks()
[all …]
Dgve.h189 struct msix_entry *msix_vectors; /* array of num_ntfy_blks + 1 */ member
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c63 static unsigned int msix_vectors; variable
64 module_param(msix_vectors, int, 0444);
65 MODULE_PARM_DESC(msix_vectors, "MSI-X max vector count. Default: Set by FW");
3975 if (!instance->msix_vectors) in megasas_deplete_reply_queue()
5599 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_setup_irq_poll()
5661 for (i = 0; i < instance->msix_vectors; i++) { in megasas_setup_irqs_msix()
5679 instance->msix_vectors = 0; in megasas_setup_irqs_msix()
5705 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_destroy_irqs()
5713 if (instance->msix_vectors) in megasas_destroy_irqs()
5714 for (i = 0; i < instance->msix_vectors; i++) { in megasas_destroy_irqs()
[all …]
Dmegaraid_sas_fusion.c376 instance->msix_vectors)); in megasas_get_msix_index()
682 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_alloc_reply_fusion()
776 msix_count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_alloc_rdpq_fusion()
1129 IOCInitMessage->HostMSIxVectors = instance->msix_vectors; in megasas_ioc_init_fusion()
1203 cpu_to_le16(~(~0 << instance->msix_vectors/8)); in megasas_ioc_init_fusion()
1822 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_init_adapter_fusion()
3642 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_enable_irq_poll()
3661 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_sync_irqs()
3722 count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_complete_cmd_dpc_fusion()
3751 if (!instance->msix_vectors) { in megasas_isr_fusion()
[all …]
Dmegaraid_sas.h2417 unsigned int msix_vectors; member
/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()
256 for (i = 0; i < vp_dev->msix_vectors; i++) in vp_del_vqs()
268 vp_dev->msix_vectors = 0; in vp_del_vqs()
Dvirtio_pci_common.h90 unsigned msix_vectors; member
/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c216 struct msix_entry *msix_vectors; member
2153 status = pci_enable_msix_range(pdev, mgp->msix_vectors, in myri10ge_request_irq()
2178 status = request_irq(mgp->msix_vectors[i].vector, in myri10ge_request_irq()
2186 free_irq(mgp->msix_vectors[i].vector, in myri10ge_request_irq()
2213 free_irq(mgp->msix_vectors[i].vector, &mgp->ss[i]); in myri10ge_free_irq()
3676 mgp->msix_vectors = kcalloc(mgp->num_slices, sizeof(*mgp->msix_vectors), in myri10ge_probe_slices()
3678 if (mgp->msix_vectors == NULL) in myri10ge_probe_slices()
3681 mgp->msix_vectors[i].entry = i; in myri10ge_probe_slices()
3689 mgp->msix_vectors, in myri10ge_probe_slices()
3707 if (mgp->msix_vectors != NULL) { in myri10ge_probe_slices()
[all …]
/drivers/scsi/
Dhpsa.h186 unsigned int msix_vectors; member
495 if (unlikely(!(h->pdev->msi_enabled || h->msix_vectors))) { in SA5_performant_completed()
Dhpsa.c1053 if (unlikely(!h->msix_vectors)) in set_performant_mode()
7457 h->msix_vectors = 0; in hpsa_disable_interrupt_mode()
7465 for (queue = 0; queue < h->msix_vectors; queue++) { in hpsa_setup_reply_map()
7499 h->msix_vectors = ret; in hpsa_interrupt_mode()
8057 if (!h->msix_vectors || h->intr_mode != PERF_MODE_INT) { in hpsa_free_irqs()
8065 for (i = 0; i < h->msix_vectors; i++) { in hpsa_free_irqs()
8091 if (h->intr_mode == PERF_MODE_INT && h->msix_vectors > 0) { in hpsa_request_irqs()
8093 for (i = 0; i < h->msix_vectors; i++) { in hpsa_request_irqs()
8115 if (h->msix_vectors > 0 || h->pdev->msi_enabled) { in hpsa_request_irqs()
8117 h->msix_vectors ? "x" : ""); in hpsa_request_irqs()
[all …]
/drivers/net/ethernet/brocade/bna/
Dbnad.c2543 bnad_q_num_adjust(struct bnad *bnad, int msix_vectors, int temp) in bnad_q_num_adjust() argument
2546 if ((msix_vectors >= (bnad->num_tx * bnad->num_txq_per_tx) + in bnad_q_num_adjust()
2549 bnad->num_rxp_per_rx = msix_vectors - in bnad_q_num_adjust()