Home
last modified time | relevance | path

Searched refs:ioq_vector (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_main.c50 struct octep_ioq_vector *ioq_vector; in octep_alloc_ioq_vectors() local
53 oct->ioq_vector[i] = vzalloc(sizeof(*oct->ioq_vector[i])); in octep_alloc_ioq_vectors()
54 if (!oct->ioq_vector[i]) in octep_alloc_ioq_vectors()
57 ioq_vector = oct->ioq_vector[i]; in octep_alloc_ioq_vectors()
58 ioq_vector->iq = oct->iq[i]; in octep_alloc_ioq_vectors()
59 ioq_vector->oq = oct->oq[i]; in octep_alloc_ioq_vectors()
60 ioq_vector->octep_dev = oct; in octep_alloc_ioq_vectors()
69 vfree(oct->ioq_vector[i]); in octep_alloc_ioq_vectors()
70 oct->ioq_vector[i] = NULL; in octep_alloc_ioq_vectors()
85 if (oct->ioq_vector[i]) { in octep_free_ioq_vectors()
[all …]
Doctep_main.h66 irqreturn_t (*non_ioq_intr_handler)(void *ioq_vector);
67 irqreturn_t (*ioq_intr_handler)(void *ioq_vector);
247 struct octep_ioq_vector *ioq_vector[OCTEP_MAX_QUEUES]; member
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/
Docteon_device.c828 struct octeon_ioq_vector *ioq_vector; in octeon_allocate_ioq_vector() local
835 oct->ioq_vector = vzalloc(size); in octeon_allocate_ioq_vector()
836 if (!oct->ioq_vector) in octeon_allocate_ioq_vector()
839 ioq_vector = &oct->ioq_vector[i]; in octeon_allocate_ioq_vector()
840 ioq_vector->oct_dev = oct; in octeon_allocate_ioq_vector()
841 ioq_vector->iq_index = i; in octeon_allocate_ioq_vector()
842 ioq_vector->droq_index = i; in octeon_allocate_ioq_vector()
843 ioq_vector->mbox = oct->mbox[i]; in octeon_allocate_ioq_vector()
846 cpumask_set_cpu(cpu_num, &ioq_vector->affinity_mask); in octeon_allocate_ioq_vector()
849 ioq_vector->ioq_num = i + oct->sriov_info.pf_srn; in octeon_allocate_ioq_vector()
[all …]
Dcn23xx_vf_device.c472 static void cn23xx_handle_vf_mbox_intr(struct octeon_ioq_vector *ioq_vector) in cn23xx_handle_vf_mbox_intr() argument
474 struct octeon_device *oct = ioq_vector->oct_dev; in cn23xx_handle_vf_mbox_intr()
477 if (!ioq_vector->droq_index) { in cn23xx_handle_vf_mbox_intr()
489 struct octeon_ioq_vector *ioq_vector = (struct octeon_ioq_vector *)dev; in cn23xx_vf_msix_interrupt_handler() local
490 struct octeon_device *oct = ioq_vector->oct_dev; in cn23xx_vf_msix_interrupt_handler()
491 struct octeon_droq *droq = oct->droq[ioq_vector->droq_index]; in cn23xx_vf_msix_interrupt_handler()
517 cn23xx_handle_vf_mbox_intr(ioq_vector); in cn23xx_vf_msix_interrupt_handler()
Dlio_core.c890 octeon_dev->ioq_vector) { in liquidio_setup_io_queues()
891 struct octeon_ioq_vector *ioq_vector; in liquidio_setup_io_queues() local
893 ioq_vector = &octeon_dev->ioq_vector[q]; in liquidio_setup_io_queues()
895 &ioq_vector->affinity_mask, in liquidio_setup_io_queues()
896 ioq_vector->iq_index); in liquidio_setup_io_queues()
931 struct octeon_ioq_vector *ioq_vector = (struct octeon_ioq_vector *)dev; in liquidio_msix_intr_handler() local
932 struct octeon_device *oct = ioq_vector->oct_dev; in liquidio_msix_intr_handler()
933 struct octeon_droq *droq = oct->droq[ioq_vector->droq_index]; in liquidio_msix_intr_handler()
936 ret = oct->fn_list.msix_interrupt_handler(ioq_vector); in liquidio_msix_intr_handler()
1122 &oct->ioq_vector[i]); in octeon_setup_interrupt()
[all …]
Dcn23xx_pf_device.c944 struct octeon_ioq_vector *ioq_vector = (struct octeon_ioq_vector *)dev; in cn23xx_pf_msix_interrupt_handler() local
945 struct octeon_device *oct = ioq_vector->oct_dev; in cn23xx_pf_msix_interrupt_handler()
948 struct octeon_droq *droq = oct->droq[ioq_vector->droq_index]; in cn23xx_pf_msix_interrupt_handler()
954 oct->pf_num, ioq_vector->ioq_num); in cn23xx_pf_msix_interrupt_handler()
Docteon_device.h576 struct octeon_ioq_vector *ioq_vector; member
Dlio_vf_main.c191 &oct->ioq_vector[i]); in stop_pci_io()
513 if (oct->ioq_vector[i].vector) { in octeon_destroy_resources()
518 &oct->ioq_vector[i]); in octeon_destroy_resources()
519 oct->ioq_vector[i].vector = 0; in octeon_destroy_resources()
Dlio_ethtool.c562 if (oct->ioq_vector[i].vector) { in lio_irq_reallocate_irqs()
567 &oct->ioq_vector[i]); in lio_irq_reallocate_irqs()
568 oct->ioq_vector[i].vector = 0; in lio_irq_reallocate_irqs()
Dlio_main.c1028 if (oct->ioq_vector[i].vector) { in octeon_destroy_resources()
1034 &oct->ioq_vector[i]); in octeon_destroy_resources()
1035 oct->ioq_vector[i].vector = 0; in octeon_destroy_resources()