Searched refs:msix_cnt (Results 1 – 5 of 5) sorted by relevance
| /dragonfly/sys/dev/netif/ix/ |
| HD | if_ix.c | 4670 int msix_enable, msix_cnt, msix_ring, alloc_cnt; in ix_alloc_msix() local 4687 msix_cnt = pci_msix_count(sc->dev); in ix_alloc_msix() 4689 msix_cnt = device_getenv_int(sc->dev, "msix.count", msix_cnt); in ix_alloc_msix() 4691 if (msix_cnt <= 1) { in ix_alloc_msix() 4701 if (msix_cnt > IX_MAX_MSIX_82598) in ix_alloc_msix() 4702 msix_cnt = IX_MAX_MSIX_82598; in ix_alloc_msix() 4704 if (msix_cnt > IX_MAX_MSIX) in ix_alloc_msix() 4705 msix_cnt = IX_MAX_MSIX; in ix_alloc_msix() 4708 device_printf(sc->dev, "MSI-X count %d\n", msix_cnt); in ix_alloc_msix() 4709 msix_ring = msix_cnt - 1; /* -1 for status */ in ix_alloc_msix()
|
| /dragonfly/sys/dev/netif/mxge/ |
| HD | if_mxge.c | 4009 int msix_cnt, msix_enable, multi_tx; in mxge_slice_probe() local 4028 msix_cnt = pci_msix_count(sc->dev); in mxge_slice_probe() 4029 if (msix_cnt < 2) in mxge_slice_probe() 4032 device_printf(sc->dev, "MSI-X count %d\n", msix_cnt); in mxge_slice_probe() 4091 if (max_slices > msix_cnt) in mxge_slice_probe() 4092 max_slices = msix_cnt; in mxge_slice_probe()
|
| /dragonfly/sys/dev/netif/igb/ |
| HD | if_igb.c | 4463 int msix_enable, msix_cnt, msix_ring, alloc_cnt; in igb_alloc_msix() local 4485 msix_cnt = pci_msix_count(sc->dev); in igb_alloc_msix() 4487 msix_cnt = device_getenv_int(sc->dev, "msix.count", msix_cnt); in igb_alloc_msix() 4489 if (msix_cnt <= 1) { in igb_alloc_msix() 4494 device_printf(sc->dev, "MSI-X count %d\n", msix_cnt); in igb_alloc_msix() 4495 msix_ring = msix_cnt - 1; /* -1 for status */ in igb_alloc_msix()
|
| /dragonfly/sys/dev/netif/bce/ |
| HD | if_bce.c | 6857 int msix_enable, msix_cnt, msix_ring; in bce_setup_ring_cnt() local 6878 msix_cnt = pci_msix_count(sc->bce_dev); in bce_setup_ring_cnt() 6879 if (msix_cnt <= 2) in bce_setup_ring_cnt() 6881 msix_ring = msix_cnt - 1; in bce_setup_ring_cnt() 7052 bce_teardown_msix(struct bce_softc *sc, int msix_cnt) in bce_teardown_msix() argument 7056 for (i = 0; i < msix_cnt; ++i) { in bce_teardown_msix()
|
| /dragonfly/sys/dev/netif/bnx/ |
| HD | if_bnx.c | 5737 int msix_enable, msix_cnt, msix_ring, ring_max, ring_cnt; in bnx_setup_ring_cnt() local 5754 msix_cnt = pci_msix_count(sc->bnx_dev); in bnx_setup_ring_cnt() 5755 if (msix_cnt <= 1) in bnx_setup_ring_cnt() 5758 device_printf(sc->bnx_dev, "MSI-X count %d\n", msix_cnt); in bnx_setup_ring_cnt() 5759 msix_ring = msix_cnt - 1; in bnx_setup_ring_cnt()
|