Lines Matching defs:vectors
104 * Enable mbuf vectors for compressing long mbuf chains
4842 ** vectors (will be 1 for a legacy interrupt and MSI).
4898 * Assign the MSI-X vectors.
6446 int msgs, queuemsgs, queues, rx_queues, tx_queues, vectors;
6535 vectors = rx_queues + admincnt;
6536 if (msgs < vectors) {
6538 "insufficient number of MSI-X vectors "
6539 "(supported %d, need %d)\n", msgs, vectors);
6545 msgs = vectors;
6546 if ((err = pci_alloc_msix(dev, &vectors)) == 0) {
6547 if (vectors != msgs) {
6549 "Unable to allocate sufficient MSI-X vectors "
6550 "(got %d, need %d)\n", vectors, msgs);
6559 device_printf(dev, "Using MSI-X interrupts with %d vectors\n",
6560 vectors);
6561 scctx->isc_vectors = vectors;
6566 return (vectors);
6569 "failed to allocate %d MSI-X vectors, err: %d\n", vectors,
6579 vectors = pci_msi_count(dev);
6582 scctx->isc_vectors = vectors;
6583 if (vectors == 1 && pci_alloc_msi(dev, &vectors) == 0) {
6592 return (vectors);