Lines Matching refs:queues
389 * Size the queues. Since the reply queues always need one free
456 * Figure out the number of MSIx-based queues. If the firmware or
458 * the queues to be useful then don't enable multi-queue.
470 mpr_dprint(sc, MPR_INIT, "Sized queues to q=%d reqs=%d replies=%d\n",
681 "Failed to alloc queues with error %d\n", error);
686 /* Always initialize the queues */
709 * IOC treats the queues as full if both are set to the same value.
827 free(sc->queues, M_MPR);
828 sc->queues = NULL;
1333 mpr_dprint(sc, MPR_INIT|MPR_XINFO, "Allocating %d I/O queues\n", nq);
1335 sc->queues = malloc(sizeof(struct mpr_queue) * nq, M_MPR,
1337 if (sc->queues == NULL)
1341 q = &sc->queues[i];
1354 uint8_t *queues;
1366 * These two queues are allocated together for simplicity.
1379 mpr_dprint(sc, MPR_ERROR, "Cannot allocate queues DMA tag\n");
1382 if (bus_dmamem_alloc(sc->queues_dmat, (void **)&queues, BUS_DMA_NOWAIT,
1384 mpr_dprint(sc, MPR_ERROR, "Cannot allocate queues memory\n");
1387 bzero(queues, qsize);
1388 bus_dmamap_load(sc->queues_dmat, sc->queues_map, queues, qsize,
1391 sc->free_queue = (uint32_t *)queues;
1393 sc->post_queue = (MPI2_REPLY_DESCRIPTORS_UNION *)(queues + fqsize);
1843 "User-defined maximum number of MSIX queues");
1847 "Negotiated number of MSIX queues");