Searched refs:qmgr (Results 1 - 7 of 7) sorted by relevance

/freebsd-12-stable/sys/dev/ixl/
H A Dixl_pf_qmgr.c38 static int ixl_pf_qmgr_find_free_contiguous_block(struct ixl_pf_qmgr *qmgr, int num);
41 ixl_pf_qmgr_init(struct ixl_pf_qmgr *qmgr, u16 num_queues) argument
46 qmgr->num_queues = num_queues;
47 qmgr->qinfo = malloc(num_queues * sizeof(struct ixl_pf_qmgr_qinfo),
49 if (qmgr->qinfo == NULL)
56 ixl_pf_qmgr_alloc_contiguous(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag) argument
70 avail = ixl_pf_qmgr_get_num_free(qmgr);
74 block_start = ixl_pf_qmgr_find_free_contiguous_block(qmgr, alloc_size);
80 qmgr->qinfo[i].allocated = true;
83 qtag->qmgr
96 ixl_pf_qmgr_alloc_scattered(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag) argument
133 ixl_pf_qmgr_release(struct ixl_pf_qmgr *qmgr, struct ixl_pf_qtag *qtag) argument
156 ixl_pf_qmgr_get_num_queues(struct ixl_pf_qmgr *qmgr) argument
166 ixl_pf_qmgr_get_num_free(struct ixl_pf_qmgr *qmgr) argument
179 ixl_pf_qmgr_get_first_free(struct ixl_pf_qmgr *qmgr, u16 start) argument
198 ixl_pf_qmgr_destroy(struct ixl_pf_qmgr *qmgr) argument
209 struct ixl_pf_qmgr *qmgr = qtag->qmgr; local
222 struct ixl_pf_qmgr *qmgr = qtag->qmgr; local
235 struct ixl_pf_qmgr *qmgr = qtag->qmgr; local
248 struct ixl_pf_qmgr *qmgr = qtag->qmgr; local
261 struct ixl_pf_qmgr *qmgr = qtag->qmgr; local
274 struct ixl_pf_qmgr *qmgr = qtag->qmgr; local
299 ixl_pf_qmgr_find_free_contiguous_block(struct ixl_pf_qmgr *qmgr, int num) argument
[all...]
H A Dixl_pf_qmgr.h75 struct ixl_pf_qmgr *qmgr; member in struct:ixl_pf_qtag
86 int ixl_pf_qmgr_init(struct ixl_pf_qmgr *qmgr, u16 num_queues);
87 void ixl_pf_qmgr_destroy(struct ixl_pf_qmgr *qmgr);
89 int ixl_pf_qmgr_get_num_queues(struct ixl_pf_qmgr *qmgr);
90 int ixl_pf_qmgr_get_first_free(struct ixl_pf_qmgr *qmgr, u16 start);
91 int ixl_pf_qmgr_get_num_free(struct ixl_pf_qmgr *qmgr);
94 int ixl_pf_qmgr_alloc_scattered(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag);
96 int ixl_pf_qmgr_alloc_contiguous(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag);
98 int ixl_pf_qmgr_release(struct ixl_pf_qmgr *qmgr, struct ixl_pf_qtag *qtag);
H A Dixl_pf.h126 struct ixl_pf_qmgr qmgr; member in struct:ixl_pf
H A Dixl_pf_iov.c1730 ixl_pf_qmgr_release(&pf->qmgr, &pf->vfs[i].qtag);
1734 ixl_dbg_iov(pf, "Unallocated total: %d\n", ixl_pf_qmgr_get_num_free(&pf->qmgr));
1774 error = ixl_pf_qmgr_alloc_scattered(&pf->qmgr, num_queues, &vf->qtag);
1783 ixl_dbg_iov(pf, "Unallocated total: %d\n", ixl_pf_qmgr_get_num_free(&pf->qmgr));
H A Dixl_pf_iflib.c976 ixl_pf_qmgr_release(&pf->qmgr, &pf->qtag);
1022 error = ixl_pf_qmgr_alloc_contiguous(&pf->qmgr, vsi->num_tx_queues, &pf->qtag);
H A Dif_ixl.c729 error = ixl_pf_qmgr_init(&pf->qmgr, hw->func_caps.num_tx_qp);
736 error = ixl_pf_qmgr_alloc_contiguous(&pf->qmgr,
863 ixl_pf_qmgr_destroy(&pf->qmgr);
H A Dixl_pf_main.c448 ixl_pf_qmgr_release(&pf->qmgr, &pf->qtag);
2385 queues = (int)ixl_pf_qmgr_get_num_free(&pf->qmgr);

Completed in 57 milliseconds