Searched refs:ioq_vector (Results 1 – 10 of 10) sorted by relevance
50 struct octep_ioq_vector *ioq_vector; in octep_alloc_ioq_vectors() local53 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 …]
66 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
828 struct octeon_ioq_vector *ioq_vector; in octeon_allocate_ioq_vector() local835 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 …]
472 static void cn23xx_handle_vf_mbox_intr(struct octeon_ioq_vector *ioq_vector) in cn23xx_handle_vf_mbox_intr() argument474 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() local490 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()
890 octeon_dev->ioq_vector) { in liquidio_setup_io_queues()891 struct octeon_ioq_vector *ioq_vector; in liquidio_setup_io_queues() local893 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() local932 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 …]
944 struct octeon_ioq_vector *ioq_vector = (struct octeon_ioq_vector *)dev; in cn23xx_pf_msix_interrupt_handler() local945 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()
576 struct octeon_ioq_vector *ioq_vector; member
191 &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()
562 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()
1028 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()