• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/dev/ocs_fc/

Lines Matching defs:entry_count

344  * @param entry_count number of entries in the EQ
349 hw_new_eq(ocs_hw_t *hw, uint32_t entry_count)
356 eq->entry_count = entry_count;
366 if (sli_queue_alloc(&hw->sli, SLI_QTYPE_EQ, eq->queue, entry_count, NULL, 0)) {
375 eq->entry_count);
388 * @param entry_count number of entries in the CQ
393 hw_new_cq(hw_eq_t *eq, uint32_t entry_count)
402 cq->entry_count = entry_count;
407 if (sli_queue_alloc(&hw->sli, SLI_QTYPE_CQ, cq->queue, cq->entry_count, eq->queue, 0)) {
410 eq->entry_count);
417 cq->entry_count);
429 * @param entry_count number of entries in the CQ.
434 hw_new_cq_set(hw_eq_t *eqs[], hw_cq_t *cqs[], uint32_t num_cqs, uint32_t entry_count)
456 cq->entry_count = entry_count;
463 if (sli_cq_alloc_set(sli4, qs, num_cqs, entry_count, assocs)) {
492 * @param entry_count number of entries in the MQ
497 hw_new_mq(hw_cq_t *cq, uint32_t entry_count)
506 mq->entry_count = entry_count;
521 mq->entry_count);
533 * @param entry_count number of entries in the WQ
540 hw_new_wq(hw_cq_t *cq, uint32_t entry_count, uint32_t class, uint32_t ulp)
550 wq->entry_count = entry_count;
555 wq->free_count = wq->entry_count - 1;
559 if (sli_queue_alloc(&hw->sli, SLI_QTYPE_WQ, wq->queue, wq->entry_count, cq->queue, ulp)) {
567 wq->entry_count, wq->class, wq->ulp);
579 * @param entry_count number of entries in the RQs
585 hw_new_rq(hw_cq_t *cq, uint32_t entry_count, uint32_t ulp)
600 rq->entry_count = OCS_MIN(entry_count, OCS_MIN(max_hw_rq, OCS_HW_RQ_NUM_HDR));
608 rq->entry_count,
619 rq->instance, rq->hdr->id, rq->entry_count, rq->hdr_entry_size, rq->ulp);
627 rq->entry_count,
638 rq->data->id, rq->entry_count, rq->data_entry_size, rq->ulp);
644 rq->entry_count, OCS_M_ZERO | OCS_M_NOWAIT);
663 * @param entry_count number of entries in the RQs
669 hw_new_rq_set(hw_cq_t *cqs[], hw_rq_t *rqs[], uint32_t num_rq_pairs, uint32_t entry_count, uint32_t ulp)
693 rq->entry_count = OCS_MIN(entry_count, OCS_MIN(max_hw_rq, OCS_HW_RQ_NUM_HDR));
714 rqs[0]->entry_count,
727 rqs[i]->entry_count, OCS_M_ZERO | OCS_M_NOWAIT);
741 sizeof(ocs_hw_sequence_t*) * rq->entry_count);
869 ocs_free(hw->os, rq->rq_tracker, sizeof(ocs_hw_sequence_t*) * rq->entry_count);