Home
last modified time | relevance | path

Searched refs:n_xdp_ev (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Defx_channels.c133 int n_xdp_ev; in efx_allocate_msix_channels() local
147 n_xdp_ev = DIV_ROUND_UP(n_xdp_tx, tx_per_ev); in efx_allocate_msix_channels()
163 n_xdp_ev, n_channels, max_channels); in efx_allocate_msix_channels()
173 } else if (n_channels + n_xdp_ev > max_channels) { in efx_allocate_msix_channels()
177 n_xdp_ev, n_channels, max_channels); in efx_allocate_msix_channels()
179 n_xdp_ev = max_channels - n_channels; in efx_allocate_msix_channels()
182 DIV_ROUND_UP(n_xdp_tx, tx_per_ev * n_xdp_ev)); in efx_allocate_msix_channels()
188 efx->n_xdp_channels = n_xdp_ev; in efx_allocate_msix_channels()
191 n_channels += n_xdp_ev; in efx_allocate_msix_channels()
194 n_xdp_ev * tx_per_e in efx_allocate_msix_channels()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Defx_channels.c134 int n_xdp_ev; in efx_allocate_msix_channels() local
148 n_xdp_ev = DIV_ROUND_UP(n_xdp_tx, tx_per_ev); in efx_allocate_msix_channels()
164 n_xdp_ev, n_channels, max_channels); in efx_allocate_msix_channels()
174 } else if (n_channels + n_xdp_ev > max_channels) { in efx_allocate_msix_channels()
178 n_xdp_ev, n_channels, max_channels); in efx_allocate_msix_channels()
180 n_xdp_ev = max_channels - n_channels; in efx_allocate_msix_channels()
183 DIV_ROUND_UP(n_xdp_tx, tx_per_ev * n_xdp_ev)); in efx_allocate_msix_channels()
189 efx->n_xdp_channels = n_xdp_ev; in efx_allocate_msix_channels()
192 n_channels += n_xdp_ev; in efx_allocate_msix_channels()
195 n_xdp_ev * tx_per_e in efx_allocate_msix_channels()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Defx_channels.c141 int n_xdp_ev; in efx_allocate_msix_channels() local
154 n_xdp_ev = DIV_ROUND_UP(n_xdp_tx, EFX_MAX_TXQ_PER_CHANNEL); in efx_allocate_msix_channels()
166 if (n_channels + n_xdp_ev > max_channels) { in efx_allocate_msix_channels()
169 n_xdp_ev, n_channels, max_channels); in efx_allocate_msix_channels()
181 efx->n_xdp_channels = n_xdp_ev; in efx_allocate_msix_channels()
184 n_channels += n_xdp_ev; in efx_allocate_msix_channels()
187 n_xdp_tx, n_xdp_ev); in efx_allocate_msix_channels()

Completed in 5 milliseconds