Lines Matching defs:queues
391 * Size the queues. Since the reply queues always need one free
458 * Figure out the number of MSIx-based queues. If the firmware or
460 * the queues to be useful then don't enable multi-queue.
472 mpr_dprint(sc, MPR_INIT, "Sized queues to q=%d reqs=%d replies=%d\n",
677 "Failed to alloc queues with error %d\n", error);
682 /* Always initialize the queues */
705 * IOC treats the queues as full if both are set to the same value.
823 free(sc->queues, M_MPR);
824 sc->queues = NULL;
1295 mpr_dprint(sc, MPR_INIT|MPR_XINFO, "Allocating %d I/O queues\n", nq);
1297 sc->queues = malloc(sizeof(struct mpr_queue) * nq, M_MPR,
1299 if (sc->queues == NULL)
1303 q = &sc->queues[i];
1315 uint8_t *queues;
1327 * These two queues are allocated together for simplicity.
1346 mpr_dprint(sc, MPR_ERROR, "Cannot allocate queues DMA tag\n");
1349 if (bus_dmamem_alloc(sc->queues_dmat, (void **)&queues, BUS_DMA_NOWAIT,
1351 mpr_dprint(sc, MPR_ERROR, "Cannot allocate queues memory\n");
1354 bzero(queues, qsize);
1355 bus_dmamap_load(sc->queues_dmat, sc->queues_map, queues, qsize,
1358 sc->free_queue = (uint32_t *)queues;
1360 sc->post_queue = (MPI2_REPLY_DESCRIPTORS_UNION *)(queues + fqsize);
1845 "User-defined maximum number of MSIX queues");
1849 "Negotiated number of MSIX queues");