Lines Matching defs:vectors

259 	 * vectors manually instead of relying on iflib code to do this.
369 * sysctl value is when setting up MSI-X vectors.
594 /* Allocate MSI-X vectors (due to isc_flags IFLIB_SKIP_MSIX) */
648 * We still need to allocate MSI-X vectors since we need one vector to
834 /* If the irqvs array is NULL, then there are no vectors to free */
838 /* Free the IRQ vectors */
1128 /* Release MSI-X IRQ vectors, if not yet released in ice_if_detach */
1271 * ice_allocate_msix - Allocate MSI-X vectors for the interface
1274 * Map the MSI-X bar, and then request MSI-X vectors in a two-stage process.
1276 * First, determine a suitable total number of vectors based on the number
1280 * Request the desired amount of vectors, and see how many we obtain. If we
1286 * IFLIB_SKIP_MSIX flag indicating that the driver will manage MSI-X vectors
1289 * @remark This driver will only use MSI-X vectors. If this is not possible,
1304 int bar, queues, vectors, requested;
1352 * Determine the number of vectors to request. Note that we also need
1357 vectors = requested;
1359 err = pci_alloc_msix(dev, &vectors);
1361 device_printf(dev, "Failed to allocate %d MSI-X vectors, err %s\n",
1362 vectors, ice_err_str(err));
1366 /* If we don't receive enough vectors, reduce demands */
1367 if (vectors < requested) {
1368 int diff = requested - vectors;
1370 device_printf(dev, "Requested %d MSI-X vectors, but got only %d\n",
1371 requested, vectors);
1381 device_printf(dev, "Unable to allocate sufficient MSI-X vectors\n");
1390 device_printf(dev, "Using MSI-X interrupts with %d vectors\n",
1391 vectors);
1393 scctx->isc_vectors = vectors;
1405 sc->lan_vectors = vectors;
1429 * ice_if_msix_intr_assign - Assign MSI-X interrupt vectors to queues
1431 * @msix: the number of vectors we were assigned
1433 * Called by iflib to assign MSI-X vectors to queues. Currently requires that
1434 * we get at least the same number of vectors as we have queues, and that we
1457 "Not enough MSI-X vectors to assign one vector to each queue pair\n");
1461 /* Save the number of vectors for future use */