Lines Matching defs:queues
387 * Size the queues. Since the reply queues always need one free
454 * Figure out the number of MSIx-based queues. If the firmware or
456 * the queues to be useful then don't enable multi-queue.
468 mpr_dprint(sc, MPR_INIT, "Sized queues to q=%d reqs=%d replies=%d\n",
679 "Failed to alloc queues with error %d\n", error);
684 /* Always initialize the queues */
707 * IOC treats the queues as full if both are set to the same value.
825 free(sc->queues, M_MPR);
826 sc->queues = NULL;
1332 mpr_dprint(sc, MPR_INIT|MPR_XINFO, "Allocating %d I/O queues\n", nq);
1334 sc->queues = malloc(sizeof(struct mpr_queue) * nq, M_MPR,
1336 if (sc->queues == NULL)
1340 q = &sc->queues[i];
1353 uint8_t *queues;
1365 * These two queues are allocated together for simplicity.
1378 mpr_dprint(sc, MPR_ERROR, "Cannot allocate queues DMA tag\n");
1381 if (bus_dmamem_alloc(sc->queues_dmat, (void **)&queues, BUS_DMA_NOWAIT,
1383 mpr_dprint(sc, MPR_ERROR, "Cannot allocate queues memory\n");
1386 bzero(queues, qsize);
1387 bus_dmamap_load(sc->queues_dmat, sc->queues_map, queues, qsize,
1390 sc->free_queue = (uint32_t *)queues;
1392 sc->post_queue = (MPI2_REPLY_DESCRIPTORS_UNION *)(queues + fqsize);
1844 "User-defined maximum number of MSIX queues");
1848 "Negotiated number of MSIX queues");