Searched refs:n_xdp_tx (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | efx_channels.c | 132 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | efx_channels.c | 133 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | efx_channels.c | 140 int n_xdp_tx; in efx_allocate_msix_channels() local 153 n_xdp_tx = num_possible_cpus(); in efx_allocate_msix_channels() 154 n_xdp_ev = DIV_ROUND_UP(n_xdp_tx, EFX_MAX_TXQ_PER_CHANNEL); in efx_allocate_msix_channels() 173 } else if (n_channels + n_xdp_tx > efx->max_vis) { in efx_allocate_msix_channels() 176 n_xdp_tx, n_channels, efx->max_vis); in efx_allocate_msix_channels() 183 efx->xdp_tx_queue_count = n_xdp_tx; in efx_allocate_msix_channels() 187 n_xdp_tx, n_xdp_ev); in efx_allocate_msix_channels()
|
Completed in 5 milliseconds