Home
last modified time | relevance | path

Searched refs:qmgr (Results 1 – 8 of 8) sorted by relevance

/freebsd-13-stable/sys/dev/ixl/
HDixl_pf_qmgr.c37 static int ixl_pf_qmgr_find_free_contiguous_block(struct ixl_pf_qmgr *qmgr, int num);
40 ixl_pf_qmgr_init(struct ixl_pf_qmgr *qmgr, u16 num_queues) in ixl_pf_qmgr_init() argument
45 qmgr->num_queues = num_queues; in ixl_pf_qmgr_init()
46 qmgr->qinfo = malloc(num_queues * sizeof(struct ixl_pf_qmgr_qinfo), in ixl_pf_qmgr_init()
48 if (qmgr->qinfo == NULL) in ixl_pf_qmgr_init()
55 ixl_pf_qmgr_alloc_contiguous(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag) in ixl_pf_qmgr_alloc_contiguous() argument
69 avail = ixl_pf_qmgr_get_num_free(qmgr); in ixl_pf_qmgr_alloc_contiguous()
73 block_start = ixl_pf_qmgr_find_free_contiguous_block(qmgr, alloc_size); in ixl_pf_qmgr_alloc_contiguous()
79 qmgr->qinfo[i].allocated = true; in ixl_pf_qmgr_alloc_contiguous()
82 qtag->qmgr = qmgr; in ixl_pf_qmgr_alloc_contiguous()
[all …]
HDixl_pf_qmgr.h74 struct ixl_pf_qmgr *qmgr; member
85 int ixl_pf_qmgr_init(struct ixl_pf_qmgr *qmgr, u16 num_queues);
86 void ixl_pf_qmgr_destroy(struct ixl_pf_qmgr *qmgr);
88 int ixl_pf_qmgr_get_num_queues(struct ixl_pf_qmgr *qmgr);
89 int ixl_pf_qmgr_get_first_free(struct ixl_pf_qmgr *qmgr, u16 start);
90 int ixl_pf_qmgr_get_num_free(struct ixl_pf_qmgr *qmgr);
93 int ixl_pf_qmgr_alloc_scattered(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag);
95 int ixl_pf_qmgr_alloc_contiguous(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag);
97 int ixl_pf_qmgr_release(struct ixl_pf_qmgr *qmgr, struct ixl_pf_qtag *qtag);
HDixl_pf.h129 struct ixl_pf_qmgr qmgr; member
HDixl_pf_iov.c1718 ixl_pf_qmgr_release(&pf->qmgr, &pf->vfs[i].qtag); in ixl_if_iov_uninit()
1722 ixl_dbg_iov(pf, "Unallocated total: %d\n", ixl_pf_qmgr_get_num_free(&pf->qmgr)); in ixl_if_iov_uninit()
1762 error = ixl_pf_qmgr_alloc_scattered(&pf->qmgr, num_queues, &vf->qtag); in ixl_vf_reserve_queues()
1771 ixl_dbg_iov(pf, "Unallocated total: %d\n", ixl_pf_qmgr_get_num_free(&pf->qmgr)); in ixl_vf_reserve_queues()
HDixl_pf_iflib.c945 ixl_pf_qmgr_release(&pf->qmgr, &pf->qtag); in ixl_prepare_for_reset()
991 error = ixl_pf_qmgr_alloc_contiguous(&pf->qmgr, vsi->num_tx_queues, &pf->qtag); in ixl_rebuild_hw_structs_after_reset()
HDif_ixl.c747 error = ixl_pf_qmgr_init(&pf->qmgr, hw->func_caps.num_tx_qp); in ixl_if_attach_post()
754 error = ixl_pf_qmgr_alloc_contiguous(&pf->qmgr, in ixl_if_attach_post()
904 ixl_pf_qmgr_destroy(&pf->qmgr); in ixl_if_detach()
HDixl_pf_main.c518 ixl_pf_qmgr_release(&pf->qmgr, &pf->qtag); in ixl_teardown_hw_structs()
2712 queues = (int)ixl_pf_qmgr_get_num_free(&pf->qmgr); in ixl_sysctl_unallocated_queues()
/freebsd-13-stable/sys/contrib/device-tree/src/arm/
HDintel-ixp4xx.dtsi17 qmgr: queue-manager@60000000 { label