Home
last modified time | relevance | path

Searched refs:isc_nrxd (Results 1 – 25 of 25) sorted by relevance

/freebsd/sys/dev/e1000/
H A Dem_txrx.c563 if (++next_pidx == scctx->isc_nrxd[0]) in lem_isc_rxd_refill()
592 if (++next_pidx == scctx->isc_nrxd[0]) in em_isc_rxd_refill()
619 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt <= budget;) { in lem_isc_rxd_available()
625 if (++i == scctx->isc_nrxd[0]) in lem_isc_rxd_available()
644 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt <= budget;) { in em_isc_rxd_available()
650 if (++i == scctx->isc_nrxd[0]) in em_isc_rxd_available()
701 if (++cidx == scctx->isc_nrxd[0]) in lem_isc_rxd_pkt_get()
767 if (++cidx == scctx->isc_nrxd[0]) in em_isc_rxd_pkt_get()
H A Digb_txrx.c386 if (++next_pidx == scctx->isc_nrxd[0]) in igb_isc_rxd_refill()
413 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt <= budget;) { in igb_isc_rxd_available()
419 if (++i == scctx->isc_nrxd[0]) in igb_isc_rxd_available()
479 if (++cidx == scctx->isc_nrxd[0]) in igb_isc_rxd_pkt_get()
485 if (++cidx == scctx->isc_nrxd[0]) in igb_isc_rxd_pkt_get()
H A Dif_em.c855 int nrxd = scctx->isc_nrxd[0]; in em_get_regs()
1046 scctx->isc_rxqsizes[0] = roundup2(scctx->isc_nrxd[0] * in em_if_attach_pre()
1068 scctx->isc_rxqsizes[0] = roundup2(scctx->isc_nrxd[0] * in em_if_attach_pre()
1104 scctx->isc_rxqsizes[0] = roundup2((scctx->isc_nrxd[0] + 1) * in em_if_attach_pre()
3893 scctx->isc_nrxd[0] * in em_initialize_receive_unit()
3968 scctx->isc_nrxd[0] * in em_initialize_receive_unit()
/freebsd/sys/dev/igc/
H A Digc_txrx.c414 if (++next_pidx == scctx->isc_nrxd[0]) in igc_isc_rxd_refill()
441 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt <= budget;) { in igc_isc_rxd_available()
447 if (++i == scctx->isc_nrxd[0]) in igc_isc_rxd_available()
506 if (++cidx == scctx->isc_nrxd[0]) in igc_isc_rxd_pkt_get()
512 if (++cidx == scctx->isc_nrxd[0]) in igc_isc_rxd_pkt_get()
H A Dif_igc.c400 int nrxd = scctx->isc_nrxd[0]; in igc_get_regs()
559 scctx->isc_rxqsizes[0] = roundup2(scctx->isc_nrxd[0] * in igc_if_attach_pre()
2296 scctx->isc_nrxd[0] * sizeof(struct igc_rx_desc)); in igc_initialize_receive_unit()
/freebsd/sys/dev/ixgbe/
H A Dix_txrx.c340 if (++next_pidx == sc->shared->isc_nrxd[0]) in ixgbe_isc_rxd_refill()
372 nrxd = sc->shared->isc_nrxd[0]; in ixgbe_isc_rxd_available()
442 if (++cidx == sc->shared->isc_nrxd[0]) in ixgbe_isc_rxd_pkt_get()
H A Dif_ixv.c497 roundup2(scctx->isc_nrxd[0] * sizeof(union ixgbe_adv_rx_desc), in ixv_if_attach_pre()
1448 scctx->isc_nrxd[0] * sizeof(union ixgbe_adv_rx_desc)); in ixv_initialize_receive_units()
1503 scctx->isc_nrxd[0] - 1); in ixv_initialize_receive_units()
H A Dif_ix.c761 scctx->isc_nrxd[0] * sizeof(union ixgbe_adv_rx_desc)); in ixgbe_initialize_receive_units()
1083 roundup2(scctx->isc_nrxd[0] * sizeof(union ixgbe_adv_rx_desc), in ixgbe_if_attach_pre()
/freebsd/sys/dev/vmware/vmxnet3/
H A Dif_vmx.c384 scctx->isc_nrxd[2] = scctx->isc_nrxd[1]; in vmxnet3_attach_pre()
385 scctx->isc_nrxd[0] = scctx->isc_nrxd[1] + scctx->isc_nrxd[2]; in vmxnet3_attach_pre()
387 sizeof(struct vmxnet3_rxcompdesc) * scctx->isc_nrxd[0]; in vmxnet3_attach_pre()
389 sizeof(struct vmxnet3_rxdesc) * scctx->isc_nrxd[1]; in vmxnet3_attach_pre()
391 sizeof(struct vmxnet3_rxdesc) * scctx->isc_nrxd[2]; in vmxnet3_attach_pre()
863 rxc->vxcr_ndesc = scctx->isc_nrxd[0]; in vmxnet3_init_rxq()
866 rxr->vxrxr_ndesc = scctx->isc_nrxd[i + 1]; in vmxnet3_init_rxq()
/freebsd/sys/dev/iavf/
H A Diavf_txrx_iflib.c586 if (++next_pidx == scctx->isc_nrxd[0]) in iavf_isc_rxd_refill()
632 nrxd = vsi->shared->isc_nrxd[0]; in iavf_isc_rxd_available()
716 if (++cidx == vsi->shared->isc_nrxd[0]) in iavf_isc_rxd_pkt_get()
H A Diavf_vc_iflib.c104 vqpi->rxq.ring_len = scctx->isc_nrxd[0]; in iavf_configure_queues()
H A Dif_iavf_iflib.c371 scctx->isc_rxqsizes[0] = roundup2(scctx->isc_nrxd[0] in iavf_if_attach_pre()
/freebsd/sys/dev/enetc/
H A Denetc.h76 #define rx_queue_size shared->isc_nrxd[0]
H A Dif_enetc.c411 if (scctx->isc_nrxd[0] % ENETC_DESC_ALIGN != 0) { in enetc_attach_pre()
419 scctx->isc_rxqsizes[0] = scctx->isc_nrxd[0] * sizeof(union enetc_rx_bd); in enetc_attach_pre()
/freebsd/sys/net/
H A Diflib.c748 return (scctx->isc_nrxd[first_rxq]); in iflib_num_rx_descs()
1263 while (*cidxp >= scctx->isc_nrxd[0]) in iflib_netmap_rxsync()
1264 *cidxp -= scctx->isc_nrxd[0]; in iflib_netmap_rxsync()
1959 MPASS(scctx->isc_nrxd[0] > 0); in iflib_rxsd_alloc()
1960 MPASS(scctx->isc_nrxd[rxq->ifr_fl_offset] > 0); in iflib_rxsd_alloc()
1966 fl->ifl_size = scctx->isc_nrxd[rxq->ifr_fl_offset]; /* this isn't necessarily the same */ in iflib_rxsd_alloc()
1989 scctx->isc_nrxd[rxq->ifr_fl_offset], M_IFLIB, M_NOWAIT | M_ZERO))) { in iflib_rxsd_alloc()
1999 scctx->isc_nrxd[rxq->ifr_fl_offset], M_IFLIB, M_NOWAIT | M_ZERO))) { in iflib_rxsd_alloc()
2009 scctx->isc_nrxd[rxq->ifr_fl_offset], M_IFLIB, M_NOWAIT | M_ZERO))) { in iflib_rxsd_alloc()
2020 …(bus_dmamap_t *) malloc(sizeof(bus_dmamap_t) * scctx->isc_nrxd[rxq->ifr_fl_offset], M_IFLIB, M_NOW… in iflib_rxsd_alloc()
[all …]
H A Diflib.h199 int isc_nrxd[8]; member
/freebsd/sys/dev/enic/
H A Dif_enic.c382 scctx->isc_nrxd[i] = enic->config.rq_desc_count; in enic_attach_pre()
384 scctx->isc_nrxd[i]; in enic_attach_pre()
385 scctx->isc_nrxd[i + enic->conf_rq_count] = in enic_attach_pre()
388 cq_desc) * scctx->isc_nrxd[i + enic->conf_rq_count]; in enic_attach_pre()
715 cq->ring.desc_count = softc->scctx->isc_nrxd[1]; in enic_rx_queues_alloc()
731 rq->ring.desc_count = softc->scctx->isc_nrxd[0]; in enic_rx_queues_alloc()
/freebsd/sys/dev/ixl/
H A Dixl_txrx.c563 if (++next_pidx == scctx->isc_nrxd[0]) in ixl_isc_rxd_refill()
587 nrxd = vsi->shared->isc_nrxd[0]; in ixl_isc_rxd_available()
709 if (++cidx == vsi->shared->isc_nrxd[0]) in ixl_isc_rxd_pkt_get()
H A Dixl_pf_iflib.c586 rctx.qlen = scctx->isc_nrxd[0]; in ixl_initialize_vsi()
H A Dif_ixl.c429 scctx->isc_rxqsizes[0] = roundup2(scctx->isc_nrxd[0] in ixl_setup_ssctx()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dif_bnxt.c676 softc->scctx->isc_nrxd[0]; in bnxt_rx_queues_alloc()
687 softc->rx_rings[i].ring_size = softc->scctx->isc_nrxd[1]; in bnxt_rx_queues_alloc()
708 softc->ag_rings[i].ring_size = softc->scctx->isc_nrxd[2]; in bnxt_rx_queues_alloc()
2326 if (scctx->isc_nrxd[0] < in bnxt_attach_pre()
2327 ((scctx->isc_nrxd[1] * 4) + scctx->isc_nrxd[2])) in bnxt_attach_pre()
2330 scctx->isc_nrxd[0], scctx->isc_nrxd[1], scctx->isc_nrxd[2]); in bnxt_attach_pre()
2339 scctx->isc_rxqsizes[0] = sizeof(struct cmpl_base) * scctx->isc_nrxd[ in bnxt_attach_pre()
[all...]
/freebsd/sys/dev/ice/
H A Dif_ice_iflib.c415 scctx->isc_rxqsizes[0] = roundup2(scctx->isc_nrxd[0] in ice_setup_scctx()
1126 MPASS(sc->scctx->isc_nrxd[0] <= ICE_MAX_DESC_COUNT); in ice_if_rx_queues_alloc()
1157 rxq->desc_count = sc->scctx->isc_nrxd[0]; in ice_if_rx_queues_alloc()
3470 scctx->isc_rxqsizes[0] = roundup2(scctx->isc_nrxd[0] in ice_subif_setup_scctx()
4044 MPASS(mif->subscctx->isc_nrxd[0] <= ICE_MAX_DESC_COUNT); in ice_subif_if_rx_queues_alloc()
4066 rxq->desc_count = mif->subscctx->isc_nrxd[0]; in ice_subif_if_rx_queues_alloc()
/freebsd/sys/dev/mgb/
H A Dif_mgb.c352 scctx->isc_nrxd[0]; in mgb_attach_pre()
356 scctx->isc_rxqsizes[1] = sizeof(uint32_t) * scctx->isc_nrxd[1]; in mgb_attach_pre()
/freebsd/sys/dev/axgbe/
H A Dif_axgbe_pci.c685 roundup2(scctx->isc_nrxd[i] * sizeof(struct xgbe_ring_desc), in axgbe_init_iflib_softc_ctx()
1786 (struct xgbe_ring_data*)malloc(scctx->isc_nrxd[j] * in axgbe_if_rx_queues_alloc()
1792 rx_ring->rdesc_count = scctx->isc_nrxd[j]; in axgbe_if_rx_queues_alloc()
H A Dxgbe-txrx.c464 if (i == sc->scctx->isc_nrxd[0]) in axgbe_isc_rxd_refill()