Home
last modified time | relevance | path

Searched refs:vaddrs (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/mgb/
H A Dif_mgb.c536 mgb_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int ntxqs, in mgb_tx_queues_alloc() argument
549 rdata->ring = (struct mgb_ring_desc *) vaddrs[q * ntxqs + 0]; in mgb_tx_queues_alloc()
553 rdata->head_wb = (uint32_t *) vaddrs[q * ntxqs + 1]; in mgb_tx_queues_alloc()
560 mgb_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int nrxqs, in mgb_rx_queues_alloc() argument
573 rdata->ring = (struct mgb_ring_desc *) vaddrs[q * nrxqs + 0]; in mgb_rx_queues_alloc()
577 rdata->head_wb = (uint32_t *) vaddrs[q * nrxqs + 1]; in mgb_rx_queues_alloc()
/freebsd/sys/dev/iavf/
H A Dif_iavf_iflib.c62 static int iavf_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int ntxqs, int…
63 static int iavf_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int nqs, int n…
968 iavf_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int ntxqs, int ntxqsets) in iavf_if_tx_queues_alloc() argument
1006 txr->tx_base = (struct iavf_tx_desc *)vaddrs[i * ntxqs]; in iavf_if_tx_queues_alloc()
1032 iavf_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int nrxqs, int nrxqsets) in iavf_if_rx_queues_alloc() argument
1063 rxr->rx_base = (union iavf_rx_desc *)vaddrs[i * nrxqs]; in iavf_if_rx_queues_alloc()
/freebsd/sys/dev/ice/
H A Dif_ice_iflib.c62 static int ice_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int ntxqs, int …
63 static int ice_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int nqs, int nq…
97 static int ice_subif_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs,
99 static int ice_subif_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs,
1025 ice_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in ice_if_tx_queues_alloc() argument
1083 txq->tx_base = (struct ice_tx_desc *)vaddrs[i]; in ice_if_tx_queues_alloc()
1117 ice_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in ice_if_rx_queues_alloc() argument
1161 rxq->rx_base = (union ice_32b_rx_flex_desc *)vaddrs[i]; in ice_if_rx_queues_alloc()
3949 ice_subif_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in ice_subif_if_tx_queues_alloc() argument
4001 txq->tx_base = (struct ice_tx_desc *)vaddrs[i]; in ice_subif_if_tx_queues_alloc()
[all …]
/freebsd/sys/dev/enic/
H A Dif_enic.c602 enic_tx_queues_alloc(if_ctx_t ctx, caddr_t * vaddrs, uint64_t * paddrs, in enic_tx_queues_alloc() argument
650 wq->ring.descs = vaddrs[q * ntxqs + 0]; in enic_tx_queues_alloc()
663 cq->ring.descs = vaddrs[q * ntxqs + 1]; in enic_tx_queues_alloc()
676 enic_rx_queues_alloc(if_ctx_t ctx, caddr_t * vaddrs, uint64_t * paddrs, in enic_rx_queues_alloc() argument
719 cq->ring.descs = vaddrs[q * nrxqs + 0]; in enic_rx_queues_alloc()
735 rq->ring.descs = vaddrs[q * nrxqs + 1]; in enic_rx_queues_alloc()
/freebsd/sys/dev/ixl/
H A Dif_ixl.c109 static int ixl_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int ntxqs, int …
110 static int ixl_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int nqs, int nq…
1211 ixl_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int ntxqs, int ntxqsets) in ixl_if_tx_queues_alloc() argument
1249 txr->tx_base = (struct i40e_tx_desc *)vaddrs[i * ntxqs]; in ixl_if_tx_queues_alloc()
1261 ixl_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int nrxqs, int nrxqsets) in ixl_if_rx_queues_alloc() argument
1292 rxr->rx_base = (union i40e_rx_desc *)vaddrs[i * nrxqs]; in ixl_if_rx_queues_alloc()
/freebsd/sys/dev/vmware/vmxnet3/
H A Dif_vmx.c778 vmxnet3_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in vmxnet3_tx_queues_alloc() argument
828 (struct vmxnet3_txcompdesc *) vaddrs[q * ntxqs + 0]; in vmxnet3_tx_queues_alloc()
833 (struct vmxnet3_txdesc *) vaddrs[q * ntxqs + 1]; in vmxnet3_tx_queues_alloc()
871 vmxnet3_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in vmxnet3_rx_queues_alloc() argument
924 (struct vmxnet3_rxcompdesc *) vaddrs[q * nrxqs + 0]; in vmxnet3_rx_queues_alloc()
932 (struct vmxnet3_rxdesc *) vaddrs[q * nrxqs + 1 + i]; in vmxnet3_rx_queues_alloc()
/freebsd/sys/dev/enetc/
H A Dif_enetc.c478 enetc_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in enetc_tx_queues_alloc() argument
500 queue->ring = (union enetc_tx_bd*)(vaddrs[i]); in enetc_tx_queues_alloc()
509 enetc_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in enetc_rx_queues_alloc() argument
531 queue->ring = (union enetc_rx_bd*)(vaddrs[i]); in enetc_rx_queues_alloc()
/freebsd/sys/dev/ixgbe/
H A Dif_ixv.c238 ixv_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in ixv_if_tx_queues_alloc() argument
274 txr->tx_base = (union ixgbe_adv_tx_desc *)vaddrs[i*ntxqs]; in ixv_if_tx_queues_alloc()
297 ixv_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in ixv_if_rx_queues_alloc() argument
326 rxr->rx_base = (union ixgbe_adv_rx_desc *)vaddrs[i]; in ixv_if_rx_queues_alloc()
H A Dif_ix.c406 ixgbe_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in ixgbe_if_tx_queues_alloc() argument
447 txr->tx_base = (union ixgbe_adv_tx_desc *)vaddrs[i]; in ixgbe_if_tx_queues_alloc()
474 ixgbe_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in ixgbe_if_rx_queues_alloc() argument
506 rxr->rx_base = (union ixgbe_adv_rx_desc *)vaddrs[i]; in ixgbe_if_rx_queues_alloc()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dif_bnxt.c179 static int bnxt_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs,
181 static int bnxt_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs,
428 bnxt_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, in bnxt_tx_queues_alloc()
486 softc->tx_cp_rings[i].ring.vaddr = vaddrs[i * ntxqs]; in bnxt_tx_queues_alloc()
498 softc->tx_rings[i].vaddr = vaddrs[i * ntxqs + 1]; in bnxt_tx_queues_alloc()
514 softc->nq_rings[i].ring.vaddr = vaddrs[i * ntxqs + 2]; in bnxt_tx_queues_alloc()
564 bnxt_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, in bnxt_rx_queues_alloc()
677 softc->rx_cp_rings[i].ring.vaddr = vaddrs[i * nrxqs]; in bnxt_rx_queues_alloc()
688 softc->rx_rings[i].vaddr = vaddrs[i * nrxqs + 1]; in bnxt_rx_queues_alloc()
709 softc->ag_rings[i].vaddr = vaddrs[ in bnxt_rx_queues_alloc()
426 bnxt_tx_queues_alloc(if_ctx_t ctx,caddr_t * vaddrs,uint64_t * paddrs,int ntxqs,int ntxqsets) bnxt_tx_queues_alloc() argument
562 bnxt_rx_queues_alloc(if_ctx_t ctx,caddr_t * vaddrs,uint64_t * paddrs,int nrxqs,int nrxqsets) bnxt_rx_queues_alloc() argument
[all...]
/freebsd/sys/net/
H A Diflib.c5847 caddr_t *vaddrs; in iflib_queues_alloc() local
5990 vaddrs = malloc(sizeof(caddr_t) * ntxqsets * ntxqs, M_IFLIB, M_WAITOK); in iflib_queues_alloc()
5996 vaddrs[i * ntxqs + j] = di->idi_vaddr; in iflib_queues_alloc()
6000 if ((err = IFDI_TX_QUEUES_ALLOC(ctx, vaddrs, paddrs, ntxqs, ntxqsets)) != 0) { in iflib_queues_alloc()
6004 free(vaddrs, M_IFLIB); in iflib_queues_alloc()
6008 free(vaddrs, M_IFLIB); in iflib_queues_alloc()
6012 vaddrs = malloc(sizeof(caddr_t) * nrxqsets * nrxqs, M_IFLIB, M_WAITOK); in iflib_queues_alloc()
6018 vaddrs[i * nrxqs + j] = di->idi_vaddr; in iflib_queues_alloc()
6022 if ((err = IFDI_RX_QUEUES_ALLOC(ctx, vaddrs, paddrs, nrxqs, nrxqsets)) != 0) { in iflib_queues_alloc()
6026 free(vaddrs, M_IFLIB); in iflib_queues_alloc()
[all …]
/freebsd/sys/dev/igc/
H A Dif_igc.c1938 igc_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int ntxqs, int ntxqsets) in igc_if_tx_queues_alloc() argument
1973 txr->tx_base = (struct igc_tx_desc *)vaddrs[i*ntxqs]; in igc_if_tx_queues_alloc()
1987 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
2014 rxr->rx_base = (union igc_rx_desc_extended *)vaddrs[i*nrxqs]; in igc_if_rx_queues_alloc()
/freebsd/sys/dev/e1000/
H A Dif_em.c3296 em_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int ntxqs, int ntxqsets) in em_if_tx_queues_alloc() argument
3331 txr->tx_base = (struct e1000_tx_desc *)vaddrs[i*ntxqs]; in em_if_tx_queues_alloc()
3345 em_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int nrxqs, int nrxqsets) in em_if_rx_queues_alloc() argument
3372 rxr->rx_base = (union e1000_rx_desc_extended *)vaddrs[i*nrxqs]; in em_if_rx_queues_alloc()