Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Defx_channels.c133 int n_xdp_tx; in efx_allocate_msix_channels() local
147 n_xdp_tx = num_possible_cpus(); in efx_allocate_msix_channels()
148 n_xdp_ev = DIV_ROUND_UP(n_xdp_tx, tx_per_ev); in efx_allocate_msix_channels()
167 } else if (n_channels + n_xdp_tx > efx->max_vis) { in efx_allocate_msix_channels()
171 n_xdp_tx, n_channels, efx->max_vis); in efx_allocate_msix_channels()
183 DIV_ROUND_UP(n_xdp_tx, tx_per_ev * n_xdp_ev)); in efx_allocate_msix_channels()
191 efx->xdp_tx_queue_count = n_xdp_tx; in efx_allocate_msix_channels()
199 efx->xdp_tx_queue_count = n_xdp_tx; in efx_allocate_msix_channels()
/linux-6.6.21/drivers/net/ethernet/sfc/
Defx_channels.c132 int n_xdp_tx; in efx_allocate_msix_channels() local
146 n_xdp_tx = num_possible_cpus(); in efx_allocate_msix_channels()
147 n_xdp_ev = DIV_ROUND_UP(n_xdp_tx, tx_per_ev); in efx_allocate_msix_channels()
166 } else if (n_channels + n_xdp_tx > efx->max_vis) { in efx_allocate_msix_channels()
170 n_xdp_tx, n_channels, efx->max_vis); in efx_allocate_msix_channels()
182 DIV_ROUND_UP(n_xdp_tx, tx_per_ev * n_xdp_ev)); in efx_allocate_msix_channels()
190 efx->xdp_tx_queue_count = n_xdp_tx; in efx_allocate_msix_channels()
198 efx->xdp_tx_queue_count = n_xdp_tx; in efx_allocate_msix_channels()