Home
last modified time | relevance | path

Searched refs:nrxqsets (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/dev/bnxt/bnxt_en/
H A Dif_bnxt.c182 uint64_t *paddrs, int nrxqs, int nrxqsets);
550 for (i=0; i<softc->nrxqsets; i++) in bnxt_queues_free()
565 uint64_t *paddrs, int nrxqs, int nrxqsets) in bnxt_rx_queues_alloc()
573 softc->rx_cp_rings = malloc(sizeof(struct bnxt_cp_ring) * nrxqsets, in bnxt_rx_queues_alloc()
581 softc->rx_rings = malloc(sizeof(struct bnxt_ring) * nrxqsets, in bnxt_rx_queues_alloc()
589 softc->ag_rings = malloc(sizeof(struct bnxt_ring) * nrxqsets, in bnxt_rx_queues_alloc()
597 softc->grp_info = malloc(sizeof(struct bnxt_grp_info) * nrxqsets, in bnxt_rx_queues_alloc()
606 for (i=0; i < nrxqsets; i++) { in bnxt_rx_queues_alloc()
662 for (i = 0; i < nrxqsets; i++) { in bnxt_rx_queues_alloc()
705 softc->ag_rings[i].id = nrxqsets in bnxt_rx_queues_alloc()
563 bnxt_rx_queues_alloc(if_ctx_t ctx,caddr_t * vaddrs,uint64_t * paddrs,int nrxqs,int nrxqsets) bnxt_rx_queues_alloc() argument
[all...]
H A Dbnxt.h1087 int nrxqsets;
1086 int nrxqsets; global() member
H A Dbnxt_hwrm.c3062 for (i = 0; i < softc->nrxqsets; i++) { in bnxt_hwrm_set_coal()
/freebsd/sys/dev/enic/
H A Dvnic_cq.h73 int nrxqsets; member
H A Denic.h289 int nrxqsets; member
H A Dif_enic.c677 int nrxqs, int nrxqsets) in enic_rx_queues_alloc() argument
684 softc->enic.rq = malloc(sizeof(struct vnic_rq) * nrxqsets, M_DEVBUF, in enic_rx_queues_alloc()
700 for (q = 0; q < nrxqsets; q++) { in enic_rx_queues_alloc()
/freebsd/sys/dev/ice/
H A Dif_ice_iflib.c100 uint64_t *paddrs, int nrxqs, int nrxqsets);
1118 int __invariant_only nrxqs, int nrxqsets) in ice_if_rx_queues_alloc() argument
1135 …(struct ice_rx_queue *) malloc(sizeof(struct ice_rx_queue) * nrxqsets, M_ICE, M_NOWAIT | M_ZERO)))… in ice_if_rx_queues_alloc()
1141 err = ice_resmgr_assign_contiguous(&sc->rx_qmgr, vsi->rx_qmap, nrxqsets); in ice_if_rx_queues_alloc()
1152 for (i = 0, rxq = vsi->rx_queues; i < nrxqsets; i++, rxq++) { in ice_if_rx_queues_alloc()
1167 vsi->num_rx_queues = nrxqsets; in ice_if_rx_queues_alloc()
4034 int __invariant_only nrxqs, int nrxqsets) in ice_subif_if_rx_queues_alloc() argument
4048 MPASS(vsi->num_rx_queues == nrxqsets); in ice_subif_if_rx_queues_alloc()
4052 …(struct ice_rx_queue *) malloc(sizeof(struct ice_rx_queue) * nrxqsets, M_ICE, M_NOWAIT | M_ZERO)))… in ice_subif_if_rx_queues_alloc()
4061 for (i = 0, rxq = vsi->rx_queues; i < nrxqsets; i++, rxq++) { in ice_subif_if_rx_queues_alloc()
/freebsd/sys/dev/mgb/
H A Dif_mgb.c561 int nrxqsets) in mgb_rx_queues_alloc() argument
568 KASSERT(nrxqsets == 1, ("nrxqsets = %d", nrxqsets)); in mgb_rx_queues_alloc()
570 for (q = 0; q < nrxqsets; q++) { in mgb_rx_queues_alloc()
/freebsd/sys/dev/iavf/
H A Dif_iavf_iflib.c1032 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
1043 MPASS(scctx->isc_nrxqsets == nrxqsets); in iavf_if_rx_queues_alloc()
1049 nrxqsets, M_IAVF, M_NOWAIT | M_ZERO))) { in iavf_if_rx_queues_alloc()
1055 for (i = 0, que = vsi->rx_queues; i < nrxqsets; i++, que++) { in iavf_if_rx_queues_alloc()
/freebsd/sys/dev/ixgbe/
H A Dif_ixv.c298 int nrxqs, int nrxqsets) in ixv_if_rx_queues_alloc() argument
304 MPASS(sc->num_rx_queues == nrxqsets); in ixv_if_rx_queues_alloc()
309 (struct ix_rx_queue *)malloc(sizeof(struct ix_rx_queue) * nrxqsets, in ixv_if_rx_queues_alloc()
318 for (i = 0, que = sc->rx_queues; i < nrxqsets; i++, que++) { in ixv_if_rx_queues_alloc()
H A Dif_ix.c475 int nrxqs, int nrxqsets) in ixgbe_if_rx_queues_alloc() argument
482 MPASS(sc->num_rx_queues == nrxqsets); in ixgbe_if_rx_queues_alloc()
487 (struct ix_rx_queue *)malloc(sizeof(struct ix_rx_queue)*nrxqsets, in ixgbe_if_rx_queues_alloc()
495 for (i = 0, que = sc->rx_queues; i < nrxqsets; i++, que++) { in ixgbe_if_rx_queues_alloc()
/freebsd/sys/dev/vmware/vmxnet3/
H A Dif_vmx.c872 int nrxqs, int nrxqsets) in vmxnet3_rx_queues_alloc() argument
886 nrxqsets, M_DEVBUF, M_NOWAIT | M_ZERO); in vmxnet3_rx_queues_alloc()
891 for (q = 0; q < nrxqsets; q++) in vmxnet3_rx_queues_alloc()
908 for (q = 0; q < nrxqsets; q++) { in vmxnet3_rx_queues_alloc()
914 for (q = 0; q < nrxqsets; q++) { in vmxnet3_rx_queues_alloc()
/freebsd/sys/dev/ixl/
H A Dif_ixl.c1261 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
1272 MPASS(scctx->isc_nrxqsets == nrxqsets); in ixl_if_rx_queues_alloc()
1278 nrxqsets, M_IXL, M_NOWAIT | M_ZERO))) { in ixl_if_rx_queues_alloc()
1284 for (i = 0, que = vsi->rx_queues; i < nrxqsets; i++, que++) { in ixl_if_rx_queues_alloc()
/freebsd/sys/net/
H A Difdi_if.m176 int nrxqsets;
H A Diflib.c5834 int nrxqsets = scctx->isc_nrxqsets; in iflib_queues_alloc() local
5867 nrxqsets, M_IFLIB, M_NOWAIT | M_ZERO))) { in iflib_queues_alloc()
5934 for (rxconf = i = 0; i < nrxqsets; i++, rxconf++, rxq++) { in iflib_queues_alloc()
6012 vaddrs = malloc(sizeof(caddr_t) * nrxqsets * nrxqs, M_IFLIB, M_WAITOK); in iflib_queues_alloc()
6013 paddrs = malloc(sizeof(uint64_t) * nrxqsets * nrxqs, M_IFLIB, M_WAITOK); in iflib_queues_alloc()
6014 for (i = 0; i < nrxqsets; i++) { in iflib_queues_alloc()
6022 if ((err = IFDI_RX_QUEUES_ALLOC(ctx, vaddrs, paddrs, nrxqs, nrxqsets)) != 0) { in iflib_queues_alloc()
/freebsd/sys/dev/axgbe/
H A Dif_axgbe_pci.c1750 int nrxqsets) in axgbe_if_rx_queues_alloc() argument
1760 MPASS(scctx->isc_nrxqsets == nrxqsets); in axgbe_if_rx_queues_alloc()
1768 scctx->isc_nrxqsets, nrxqsets, nrxqs); in axgbe_if_rx_queues_alloc()
1770 for (i = 0 ; i < nrxqsets; i++) { in axgbe_if_rx_queues_alloc()
/freebsd/sys/dev/igc/
H A Dif_igc.c1987 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
1995 MPASS(sc->rx_num_queues == nrxqsets); in igc_if_rx_queues_alloc()
2006 for (i = 0, que = sc->rx_queues; i < nrxqsets; i++, que++) { in igc_if_rx_queues_alloc()
/freebsd/sys/dev/enetc/
H A Dif_enetc.c510 int nrxqs, int nrxqsets) in enetc_rx_queues_alloc() argument
/freebsd/sys/dev/e1000/
H A Dif_em.c3345 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
3353 MPASS(sc->rx_num_queues == nrxqsets); in em_if_rx_queues_alloc()
3364 for (i = 0, que = sc->rx_queues; i < nrxqsets; i++, que++) { in em_if_rx_queues_alloc()