Home
last modified time | relevance | path

Searched refs:nmsix (Results 1 – 7 of 7) sorted by relevance

/openbsd/sys/dev/pci/
H A Dif_igc.c718 int nmsix; in igc_setup_msix() local
720 nmsix = pci_intr_msix_count(pa); in igc_setup_msix()
721 if (nmsix <= 1) in igc_setup_msix()
725 nmsix--; in igc_setup_msix()
727 sc->sc_intrmap = intrmap_create(&sc->sc_dev, nmsix, IGC_MAX_VECTORS, in igc_setup_msix()
H A Dif_ix.c1821 int nmsix; in ixgbe_setup_msix() local
1827 nmsix = pci_intr_msix_count(pa); in ixgbe_setup_msix()
1828 if (nmsix <= 1) in ixgbe_setup_msix()
1832 nmsix--; in ixgbe_setup_msix()
1837 sc->sc_intrmap = intrmap_create(&sc->dev, nmsix, maxq, 0); in ixgbe_setup_msix()
H A Dif_ngbe.c1066 int nmsix; in ngbe_setup_msix() local
1068 nmsix = pci_intr_msix_count(pa); in ngbe_setup_msix()
1069 if (nmsix <= 1) { in ngbe_setup_msix()
1075 nmsix--; in ngbe_setup_msix()
1077 sc->sc_intrmap = intrmap_create(&sc->sc_dev, nmsix, NGBE_MAX_VECTORS, in ngbe_setup_msix()
H A Dif_bnxt.c539 int nmsix; in bnxt_attach() local
544 nmsix = pci_intr_msix_count(pa); in bnxt_attach()
545 if (nmsix > 1) { in bnxt_attach()
549 nmsix - 1, BNXT_MAX_QUEUES, INTRMAP_POWEROF2); in bnxt_attach()
H A Dif_aq_pci.c1284 int nmsix = pci_intr_msix_count(pa); in aq_attach() local
1286 if (aqp->aq_hwtype == HWTYPE_AQ1 && nmsix > 1) { in aq_attach()
1287 nmsix--; in aq_attach()
1289 nmsix, AQ_MAXQ, INTRMAP_POWEROF2); in aq_attach()
H A Dif_ixl.c1825 int nmsix = pci_intr_msix_count(pa); in ixl_attach() local
1826 if (nmsix > 1) { /* we used 1 (the 0th) for the adminq */ in ixl_attach()
1827 nmsix--; in ixl_attach()
1830 nmsix, IXL_MAX_VECTORS, INTRMAP_POWEROF2); in ixl_attach()
H A Dif_ice.c27236 unsigned nmsix, nqueues_max, nqueues; in ice_attach_hook() local
27280 nmsix = MIN(sc->sc_nmsix_max, in ice_attach_hook()
27282 if (nmsix < 2) { in ice_attach_hook()
27287 sc->sc_nmsix = nmsix; in ice_attach_hook()
27554 unsigned int nmsix = pci_intr_msix_count(pa); in ice_attach() local
27560 if (nmsix < 2) { in ice_attach()
27564 sc->sc_nmsix_max = nmsix; in ice_attach()