Searched refs:n_tx_channels (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/sfc/ |
D | efx_channels.c | 207 efx->n_tx_channels = in efx_allocate_msix_channels() 211 n_channels - efx->n_tx_channels; in efx_allocate_msix_channels() 214 efx->n_tx_channels, 1U); in efx_allocate_msix_channels() 216 efx->n_tx_channels = min(n_channels, efx->max_tx_channels); in efx_allocate_msix_channels() 222 efx->n_tx_channels = min(efx->n_tx_channels, parallelism); in efx_allocate_msix_channels() 289 efx->n_tx_channels = 1; in efx_probe_interrupts() 309 efx->n_tx_channels = 1; in efx_probe_interrupts() 321 if (j <= efx->tx_channel_offset + efx->n_tx_channels) { in efx_probe_interrupts() 864 efx->n_channels - efx->n_tx_channels : 0; in efx_set_channels() 916 rc = netif_set_real_num_tx_queues(efx->net_dev, efx->n_tx_channels); in efx_set_channels() [all …]
|
D | tx.c | 520 if (index >= efx->n_tx_channels) { in efx_hard_start_xmit() 521 index -= efx->n_tx_channels; in efx_hard_start_xmit() 602 efx->n_tx_channels : 0)); in efx_init_tx_queue_core_txq() 630 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in efx_setup_tc() 631 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in efx_setup_tc() 638 efx->n_tx_channels); in efx_setup_tc()
|
D | ef100_netdev.c | 37 unsigned int tx_vis = efx->n_tx_channels + efx->n_extra_tx_channels; in ef100_alloc_vis() 201 if (!efx->n_channels || !efx->n_tx_channels || !channel) { in ef100_hard_start_xmit()
|
D | net_driver.h | 1000 unsigned n_tx_channels; member 1506 EFX_WARN_ON_ONCE_PARANOID(index >= efx->n_tx_channels); in efx_get_tx_channel()
|
D | ef10.c | 822 offset = ((efx->tx_channel_offset + efx->n_tx_channels - in efx_ef10_link_piobufs() 1147 ((efx->n_tx_channels + efx->n_extra_tx_channels) * in efx_ef10_dimension_resources() 1166 efx->n_tx_channels) { in efx_ef10_dimension_resources() 1168 DIV_ROUND_UP(efx->n_tx_channels, in efx_ef10_dimension_resources()
|
D | farch.c | 1087 if (qid < EFX_MAX_TXQ_PER_CHANNEL * (efx->n_tx_channels + efx->n_extra_tx_channels)) { in efx_farch_handle_tx_flush_done() 1677 total_tx_channels = efx->n_tx_channels + efx->n_extra_tx_channels; in efx_farch_dimension_resources()
|
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/ |
D | tx.c | 404 if (index >= efx->n_tx_channels) { in ef4_hard_start_xmit() 405 index -= efx->n_tx_channels; in ef4_hard_start_xmit() 422 efx->n_tx_channels : 0)); in ef4_init_tx_queue_core_txq() 449 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in ef4_setup_tc() 450 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in ef4_setup_tc() 477 efx->n_tx_channels); in ef4_setup_tc()
|
D | net_driver.h | 813 unsigned n_tx_channels; member 1190 EF4_BUG_ON_PARANOID(index >= efx->n_tx_channels || in ef4_get_tx_queue() 1198 channel->efx->n_tx_channels; in ef4_channel_has_tx_queues()
|
D | efx.c | 1407 efx->n_tx_channels = min(max(n_channels / 2, in ef4_probe_interrupts() 1411 efx->n_tx_channels, in ef4_probe_interrupts() 1414 efx->n_tx_channels = min(n_channels, in ef4_probe_interrupts() 1428 efx->n_tx_channels = 1; in ef4_probe_interrupts() 1443 efx->n_tx_channels = 1; in ef4_probe_interrupts() 1600 efx->n_channels - efx->n_tx_channels : 0; in ef4_set_channels() 1663 netif_set_real_num_tx_queues(efx->net_dev, efx->n_tx_channels); in ef4_probe_nic()
|
D | farch.c | 1096 if (qid < EF4_TXQ_TYPES * efx->n_tx_channels) { in ef4_farch_handle_tx_flush_done() 1650 vi_count = max(efx->n_channels, efx->n_tx_channels * EF4_TXQ_TYPES); in ef4_farch_dimension_resources()
|