Home
last modified time | relevance | path

Searched refs:msix (Results 1 – 25 of 33) sorted by relevance

12

/NextBSD/sys/amd64/vmm/io/
HDppt.c107 } msix; member
265 rid = ppt->msix.startrid + idx; in ppt_teardown_msix_intr()
266 res = ppt->msix.res[idx]; in ppt_teardown_msix_intr()
267 cookie = ppt->msix.cookie[idx]; in ppt_teardown_msix_intr()
275 ppt->msix.res[idx] = NULL; in ppt_teardown_msix_intr()
276 ppt->msix.cookie[idx] = NULL; in ppt_teardown_msix_intr()
284 if (ppt->msix.num_msgs == 0) in ppt_teardown_msix()
287 for (i = 0; i < ppt->msix.num_msgs; i++) in ppt_teardown_msix()
290 if (ppt->msix.msix_table_res) { in ppt_teardown_msix()
292 ppt->msix.msix_table_rid, in ppt_teardown_msix()
[all …]
/NextBSD/sys/dev/pci/
HDpci.c785 cfg->msix.msix_location = ptr; in pci_read_cap()
786 cfg->msix.msix_ctrl = REG(ptr + PCIR_MSIX_CTRL, 2); in pci_read_cap()
787 cfg->msix.msix_msgnum = (cfg->msix.msix_ctrl & in pci_read_cap()
790 cfg->msix.msix_table_bar = PCIR_BAR(val & in pci_read_cap()
792 cfg->msix.msix_table_offset = val & ~PCIM_MSIX_BIR_MASK; in pci_read_cap()
794 cfg->msix.msix_pba_bar = PCIR_BAR(val & in pci_read_cap()
796 cfg->msix.msix_pba_offset = val & ~PCIM_MSIX_BIR_MASK; in pci_read_cap()
1400 struct pcicfg_msix *msix = &dinfo->cfg.msix; in pci_enable_msix_method() local
1403 KASSERT(msix->msix_table_len > index, ("bogus index")); in pci_enable_msix_method()
1404 offset = msix->msix_table_offset + index * 16; in pci_enable_msix_method()
[all …]
HDpcivar.h204 struct pcicfg_msix msix; /* PCI MSI-X */ member
/NextBSD/sys/dev/ixgbe/
HDif_ixv.c833 ixv_enable_queue(adapter, que->msix); in ixv_handle_que()
853 ixv_disable_queue(adapter, que->msix); in ixv_msix_que()
886 IXGBE_VTEITR(que->msix), in ixv_msix_que()
926 ixv_enable_queue(adapter, que->msix); in ixv_msix_que()
1298 que->msix = vector; in ixv_allocate_msix()
1299 adapter->active_queues |= (u64)(1 << que->msix); in ixv_allocate_msix()
1443 adapter->msix = ixv_setup_msix(adapter); in ixv_allocate_pci_resources()
1444 if (adapter->msix == ENXIO) in ixv_allocate_pci_resources()
1474 rid = que->msix + 1; in ixv_free_pci_resources()
1488 (adapter->msix != 0) ? (rid = 1):(rid = 0); in ixv_free_pci_resources()
[all …]
HDif_ix.c571 if ((adapter->msix > 1) && (ixgbe_enable_msix)) in ixgbe_attach()
600 if ((hw->mac.type != ixgbe_mac_82598EB) && (adapter->msix > 1)) { in ixgbe_attach()
1321 if (adapter->msix > 1) { in ixgbe_config_gpie()
1446 ixgbe_enable_queue(adapter, que->msix); in ixgbe_handle_que()
1538 ixgbe_disable_queue(adapter, que->msix); in ixgbe_msix_que()
1566 IXGBE_EITR(que->msix), que->eitr_setting); in ixgbe_msix_que()
1608 ixgbe_enable_queue(adapter, que->msix); in ixgbe_msix_que()
2368 if (adapter->msix == 1) in ixgbe_allocate_legacy()
2484 que->msix = vector; in ixgbe_allocate_msix()
2485 adapter->active_queues |= (u64)(1 << que->msix); in ixgbe_allocate_msix()
[all …]
HDixgbe.h417 u32 msix; /* This queue's MSIX vector */ member
479 int msix; member
HDif_ixgbe.c2444 ixgbe_if_msix_intr_assign(if_ctx_t ctx, int msix) in ixgbe_if_msix_intr_assign() argument
2475 que->msix = vector; in ixgbe_if_msix_intr_assign()
2476 adapter->active_queues |= (u64)(1 << que->msix); in ixgbe_if_msix_intr_assign()
2535 ixgbe_disable_queue(adapter, que->msix); in ixgbe_msix_que()
2547 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EITR(que->msix), que->eitr_setting); in ixgbe_msix_que()
2916 reg = IXGBE_READ_REG(&que->adapter->hw, IXGBE_EITR(que->msix)); in ixgbe_sysctl_interrupt_rate_handler()
2933 IXGBE_WRITE_REG(&que->adapter->hw, IXGBE_EITR(que->msix), reg); in ixgbe_sysctl_interrupt_rate_handler()
3608 ixgbe_set_ivar(adapter, rxr->me, que->msix, 0); in ixgbe_configure_ivars()
3610 ixgbe_set_ivar(adapter, txr->me, que->msix, 1); in ixgbe_configure_ivars()
3613 IXGBE_EITR(que->msix), newitr); in ixgbe_configure_ivars()
[all …]
/NextBSD/sys/dev/e1000/
HDif_em.h324 u32 msix; member
358 u32 msix; member
408 int msix; member
HDif_igb.h332 u32 msix; /* This queue's MSIX vector */ member
441 int msix; member
HDif_igb.c647 if ((adapter->msix > 1) && (igb_enable_msix)) in igb_attach()
1322 if (adapter->msix > 1) /* Set up queue routing */ in igb_init_locked()
1591 E1000_EITR(que->msix), que->eitr_setting); in igb_msix_que()
2322 adapter->msix = igb_setup_msix(adapter); in igb_allocate_pci_resources()
2347 if (adapter->msix == 1) in igb_allocate_legacy()
2451 que->msix = vector; in igb_allocate_msix()
2585 ivar |= (que->msix | E1000_IVAR_VALID) << 16; in igb_configure_queues()
2588 ivar |= que->msix | E1000_IVAR_VALID; in igb_configure_queues()
2599 ivar |= (que->msix | E1000_IVAR_VALID) << 24; in igb_configure_queues()
2602 ivar |= (que->msix | E1000_IVAR_VALID) << 8; in igb_configure_queues()
[all …]
HDif_lem.h308 struct resource *msix; member
HDif_em.c591 adapter->msix = em_setup_msix(adapter); in em_attach()
741 if (adapter->msix > 1) /* Do MSIX */ in em_attach()
2523 if (adapter->msix == 1) /* using MSI */ in em_allocate_legacy()
2606 rxr->msix = vector; in em_allocate_msix()
2626 adapter->ivars |= (8 | rxr->msix) << (i * 4); in em_allocate_msix()
2651 txr->msix = vector; in em_allocate_msix()
2671 adapter->ivars |= (8 | txr->msix) << (8 + (i * 4)); in em_allocate_msix()
2722 rid = txr->msix +1; in em_free_pci_resources()
2735 rid = rxr->msix +1; in em_free_pci_resources()
2748 (adapter->msix != 0) ? (rid = 1):(rid = 0); in em_free_pci_resources()
[all …]
/NextBSD/sys/dev/ixl/
HDixl_pf.h83 int msix; member
HDixlv.h117 int msix; member
HDixlvc.c472 q = sc->msix - 1; in ixlv_map_queues()
475 (sc->msix * sizeof(struct i40e_virtchnl_vector_map)); in ixlv_map_queues()
483 vm->num_vectors = sc->msix; in ixlv_map_queues()
HDixl.h438 u32 msix; /* This queue's MSIX vector */ member
HDif_ixlv.c87 static int ixlv_if_msix_intr_assign(if_ctx_t ctx, int msix);
1199 ixlv_if_msix_intr_assign(if_ctx_t ctx, int msix) in ixlv_if_msix_intr_assign() argument
1234 que->msix = vector; in ixlv_if_msix_intr_assign()
/NextBSD/sys/dev/netmap/
HDif_em_netmap.h46 if (adapter->msix > 1) { /* MSIX */ in em_netmap_block_tasks()
68 if (adapter->msix > 1) { in em_netmap_unblock_tasks()
/NextBSD/sys/compat/linuxkpi/common/include/linux/
HDpci.h188 if (irq >= pdev->dev.msix && irq < pdev->dev.msix_max) in _pci_find_irq_dev()
463 pdev->dev.msix = rle->start; in pci_enable_msix()
466 entries[i].vector = pdev->dev.msix + i; in pci_enable_msix()
HDinterrupt.h61 return irq - dev->msix + 1; in linux_irq_rid()
HDdevice.h72 unsigned int msix; member
/NextBSD/sys/dev/tws/
HDtws.h242 struct tws_msix_info msix; /* msix info */ member
/NextBSD/sys/arm64/arm64/
HDgic_v3_var.h315 cfg->msix.msix_msgnum; \
/NextBSD/sys/net/
HDiflib.c2919 int err, rid, msix, msix_bar; in iflib_device_register() local
2954 msix = scctx->isc_vectors; in iflib_device_register()
2956 msix = iflib_msix_init(ctx); in iflib_device_register()
2961 msix = 0; in iflib_device_register()
2974 if (msix > 1 && (err = IFDI_MSIX_INTR_ASSIGN(ctx, msix)) != 0) { in iflib_device_register()
2978 if (msix <= 1) { in iflib_device_register()
2981 MPASS(msix == 1); in iflib_device_register()
HDifdi_if.m169 int msix;

12