/freebsd/sys/dev/ixl/ |
H A D | ixl_pf_qmgr.c | 37 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 …]
|
H A D | ixl_pf_qmgr.h | 74 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);
|
H A D | ixl_pf.h | 129 struct ixl_pf_qmgr qmgr; member
|
H A D | ixl_pf_iov.c | 1712 ixl_pf_qmgr_release(&pf->qmgr, &pf->vfs[i].qtag); in ixl_if_iov_uninit() 1716 ixl_dbg_iov(pf, "Unallocated total: %d\n", ixl_pf_qmgr_get_num_free(&pf->qmgr)); in ixl_if_iov_uninit() 1756 error = ixl_pf_qmgr_alloc_scattered(&pf->qmgr, num_queues, &vf->qtag); in ixl_vf_reserve_queues() 1765 ixl_dbg_iov(pf, "Unallocated total: %d\n", ixl_pf_qmgr_get_num_free(&pf->qmgr)); in ixl_vf_reserve_queues()
|
H A D | ixl_pf_iflib.c | 945 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()
|
H A D | if_ixl.c | 742 error = ixl_pf_qmgr_init(&pf->qmgr, hw->func_caps.num_tx_qp); in ixl_if_attach_post() 749 error = ixl_pf_qmgr_alloc_contiguous(&pf->qmgr, in ixl_if_attach_post() 899 ixl_pf_qmgr_destroy(&pf->qmgr); in ixl_if_detach()
|
H A D | ixl_pf_main.c | 520 ixl_pf_qmgr_release(&pf->qmgr, &pf->qtag); in ixl_teardown_hw_structs() 2808 queues = (int)ixl_pf_qmgr_get_num_free(&pf->qmgr); in ixl_sysctl_unallocated_queues()
|
/freebsd/sys/contrib/device-tree/src/arm/intel/ixp/ |
H A D | intel-ixp42x-goramo-multilink.dts | 121 intel,queue-chl-rxtrig = <&qmgr 12>; 122 intel,queue-chl-txready = <&qmgr 34>; 123 intel,queue-pkt-rx = <&qmgr 13>; 124 intel,queue-pkt-tx = <&qmgr 14>, <&qmgr 15>, <&qmgr 16>, <&qmgr 17>; 125 intel,queue-pkt-rxfree = <&qmgr 18>, <&qmgr 19>, <&qmgr 2 [all...] |
H A D | intel-ixp45x-ixp46x.dtsi | 52 queue-rx = <&qmgr 0>; 53 queue-txready = <&qmgr 0>; 63 queue-rx = <&qmgr 0>; 64 queue-txready = <&qmgr 0>; 74 queue-rx = <&qmgr 0>; 75 queue-txready = <&qmgr 0>;
|
H A D | intel-ixp4xx.dtsi | 44 qmgr: queue-manager@60000000 { label 164 queue-rx = <&qmgr 30>; 165 queue-txready = <&qmgr 29>; 175 queue-rx = <&qmgr 3>; 176 queue-txready = <&qmgr 20>; 186 queue-rx = <&qmgr 0>; 187 queue-txready = <&qmgr 0>; 198 queue-rx = <&qmgr 0>; 199 queue-txready = <&qmgr 0>;
|
H A D | intel-ixp43x-kixrp435.dts | 40 queue-rx = <&qmgr 4>; 41 queue-txready = <&qmgr 21>; 61 queue-rx = <&qmgr 2>; 62 queue-txready = <&qmgr 19>;
|
H A D | intel-ixp42x-ixdp425.dts | 44 queue-rx = <&qmgr 3>; 45 queue-txready = <&qmgr 20>; 66 queue-rx = <&qmgr 4>; 67 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-gateway-7001.dts | 80 queue-rx = <&qmgr 3>; 81 queue-txready = <&qmgr 20>; 97 queue-rx = <&qmgr 4>; 98 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-adi-coyote.dts | 84 queue-rx = <&qmgr 3>; 85 queue-txready = <&qmgr 20>; 106 queue-rx = <&qmgr 4>; 107 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-ixdpg425.dts | 99 queue-rx = <&qmgr 3>; 100 queue-txready = <&qmgr 20>; 121 queue-rx = <&qmgr 4>; 122 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-linksys-wrv54g.dts | 145 queue-rx = <&qmgr 3>; 146 queue-txready = <&qmgr 20>; 169 queue-rx = <&qmgr 4>; 170 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-arcom-vulcan.dts | 141 queue-rx = <&qmgr 3>; 142 queue-txready = <&qmgr 20>; 163 queue-rx = <&qmgr 4>; 164 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-gateworks-gw2348.dts | 146 queue-rx = <&qmgr 3>; 147 queue-txready = <&qmgr 20>; 168 queue-rx = <&qmgr 4>; 169 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-freecom-fsg-3.dts | 191 queue-rx = <&qmgr 3>; 192 queue-txready = <&qmgr 20>; 213 queue-rx = <&qmgr 4>; 214 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-welltech-epbx100.dts | 83 queue-rx = <&qmgr 3>; 84 queue-txready = <&qmgr 20>;
|
H A D | intel-ixp43x-gateworks-gw2358.dts | 171 queue-rx = <&qmgr 4>; 172 queue-txready = <&qmgr 21>; 192 queue-rx = <&qmgr 2>; 193 queue-txready = <&qmgr 19>;
|
H A D | intel-ixp42x-netgear-wg302v1.dts | 81 queue-rx = <&qmgr 3>; 82 queue-txready = <&qmgr 20>;
|
H A D | intel-ixp42x-iomega-nas100d.dts | 133 queue-rx = <&qmgr 3>; 134 queue-txready = <&qmgr 20>;
|
H A D | intel-ixp42x-linksys-nslu2.dts | 149 queue-rx = <&qmgr 3>; 150 queue-txready = <&qmgr 20>;
|