Searched refs:nrxqs (Results 1 – 5 of 5) sorted by relevance
/haiku/src/libs/compat/freebsd_iflib/compat/ |
H A D | ifdi_if.h | 203 uint64_t *_paddrs, int nrxqs, int nrxqsets); 206 uint64_t *_paddrs, int nrxqs, in IFDI_RX_QUEUES_ALLOC() argument 212 rc = ((ifdi_rx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, nrxqs, nrxqsets); in IFDI_RX_QUEUES_ALLOC()
|
/haiku/src/add-ons/kernel/drivers/network/ether/vmx/dev/vmxnet3/ |
H A D | if_vmx.c | 847 vmxnet3_init_rxq(struct vmxnet3_softc *sc, int q, int nrxqs) in vmxnet3_init_rxq() argument 870 for (i = 0; i < nrxqs - 1; i++) { in vmxnet3_init_rxq() 878 int nrxqs, int nrxqsets) in vmxnet3_rx_queues_alloc() argument 898 vmxnet3_init_rxq(sc, q, nrxqs); in vmxnet3_rx_queues_alloc() 930 (struct vmxnet3_rxcompdesc *) vaddrs[q * nrxqs + 0]; in vmxnet3_rx_queues_alloc() 931 rxc->vxcr_paddr = paddrs[q * nrxqs + 0]; in vmxnet3_rx_queues_alloc() 934 for (i = 0; i < nrxqs - 1; i++) { in vmxnet3_rx_queues_alloc() 938 (struct vmxnet3_rxdesc *) vaddrs[q * nrxqs + 1 + i]; in vmxnet3_rx_queues_alloc() 939 rxr->vxrxr_paddr = paddrs[q * nrxqs + 1 + i]; in vmxnet3_rx_queues_alloc()
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | iflib.c | 5964 uint8_t nrxqs = sctx->isc_nrxqs; in iflib_queues_alloc() local 5972 KASSERT(nrxqs > 0, ("number of queues per qset must be at least 1")); in iflib_queues_alloc() 5973 KASSERT(nrxqs >= fl_offset + nfree_lists, in iflib_queues_alloc() 6061 if ((ifdip = malloc(sizeof(struct iflib_dma_info) * nrxqs, in iflib_queues_alloc() 6073 for (j = 0; j < nrxqs; j++, ifdip++) { in iflib_queues_alloc() 6135 vaddrs = malloc(sizeof(caddr_t)*nrxqsets*nrxqs, M_IFLIB, M_WAITOK); in iflib_queues_alloc() 6136 paddrs = malloc(sizeof(uint64_t)*nrxqsets*nrxqs, M_IFLIB, M_WAITOK); in iflib_queues_alloc() 6140 for (j = 0; j < nrxqs; j++, di++) { in iflib_queues_alloc() 6141 vaddrs[i*nrxqs + j] = di->idi_vaddr; in iflib_queues_alloc() 6142 paddrs[i*nrxqs + j] = di->idi_paddr; in iflib_queues_alloc() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | if_igc.c | 83 static int igc_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int nrxqs, int n… 1832 igc_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int nrxqs, int nrxqsets) in igc_if_rx_queues_alloc() argument 1859 rxr->rx_base = (union igc_rx_desc_extended *)vaddrs[i*nrxqs]; in igc_if_rx_queues_alloc() 1860 rxr->rx_paddr = paddrs[i*nrxqs]; in igc_if_rx_queues_alloc()
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | if_em.c | 3128 em_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int nrxqs, int nrxqsets) argument 3155 rxr->rx_base = (union e1000_rx_desc_extended *)vaddrs[i*nrxqs]; 3156 rxr->rx_paddr = paddrs[i*nrxqs];
|