Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/sfc/siena/
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_ev, n_xdp_ev); in efx_allocate_msix_channels()
/linux-6.6.21/drivers/net/ethernet/sfc/
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_ev, n_xdp_ev); in efx_allocate_msix_channels()