Home
last modified time | relevance | path

Searched refs:tx_per_ev (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/sfc/
Defx_channels.c131 int tx_per_ev; in efx_allocate_msix_channels() local
144 tx_per_ev = EFX_MAX_EVQ_SIZE / EFX_TXQ_MAX_ENT(efx); in efx_allocate_msix_channels()
145 tx_per_ev = min(tx_per_ev, EFX_MAX_TXQ_PER_CHANNEL); in efx_allocate_msix_channels()
147 n_xdp_ev = DIV_ROUND_UP(n_xdp_tx, tx_per_ev); in efx_allocate_msix_channels()
182 DIV_ROUND_UP(n_xdp_tx, tx_per_ev * n_xdp_ev)); in efx_allocate_msix_channels()
189 efx->xdp_tx_per_channel = tx_per_ev; in efx_allocate_msix_channels()
194 n_xdp_ev * tx_per_ev, n_xdp_ev); in efx_allocate_msix_channels()
/linux-6.12.1/drivers/net/ethernet/sfc/siena/
Defx_channels.c132 int tx_per_ev; in efx_allocate_msix_channels() local
145 tx_per_ev = EFX_MAX_EVQ_SIZE / EFX_TXQ_MAX_ENT(efx); in efx_allocate_msix_channels()
146 tx_per_ev = min(tx_per_ev, EFX_MAX_TXQ_PER_CHANNEL); in efx_allocate_msix_channels()
148 n_xdp_ev = DIV_ROUND_UP(n_xdp_tx, tx_per_ev); in efx_allocate_msix_channels()
183 DIV_ROUND_UP(n_xdp_tx, tx_per_ev * n_xdp_ev)); in efx_allocate_msix_channels()
190 efx->xdp_tx_per_channel = tx_per_ev; in efx_allocate_msix_channels()
195 n_xdp_ev * tx_per_ev, n_xdp_ev); in efx_allocate_msix_channels()