Searched refs:n_tx_channels (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/sfc/siena/ |
D | tx.c | 310 if (index >= efx->n_tx_channels) { in efx_siena_hard_start_xmit() 311 index -= efx->n_tx_channels; in efx_siena_hard_start_xmit() 355 efx->n_tx_channels : 0)); in efx_siena_init_tx_queue_core_txq() 383 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in efx_siena_setup_tc() 384 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in efx_siena_setup_tc() 391 efx->n_tx_channels); in efx_siena_setup_tc()
|
D | efx_channels.c | 219 efx->n_tx_channels = in efx_allocate_msix_channels() 223 n_channels - efx->n_tx_channels; in efx_allocate_msix_channels() 226 efx->n_tx_channels, 1U); in efx_allocate_msix_channels() 228 efx->n_tx_channels = min(n_channels, efx->max_tx_channels); in efx_allocate_msix_channels() 234 efx->n_tx_channels = min(efx->n_tx_channels, parallelism); in efx_allocate_msix_channels() 301 efx->n_tx_channels = 1; in efx_siena_probe_interrupts() 323 efx->n_tx_channels = 1; in efx_siena_probe_interrupts() 337 if (j <= efx->tx_channel_offset + efx->n_tx_channels) { in efx_siena_probe_interrupts() 985 rc = netif_set_real_num_tx_queues(efx->net_dev, efx->n_tx_channels); in efx_siena_set_channels() 994 channel->efx->n_tx_channels; in efx_default_channel_want_txqs()
|
D | net_driver.h | 1002 unsigned n_tx_channels; member 1513 EFX_WARN_ON_ONCE_PARANOID(index >= efx->n_tx_channels); in efx_get_tx_channel()
|
D | farch.c | 1090 if (qid < EFX_MAX_TXQ_PER_CHANNEL * (efx->n_tx_channels + efx->n_extra_tx_channels)) { in efx_farch_handle_tx_flush_done() 1679 total_tx_channels = efx->n_tx_channels + efx->n_extra_tx_channels; in efx_farch_dimension_resources()
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | efx_channels.c | 218 efx->n_tx_channels = in efx_allocate_msix_channels() 222 n_channels - efx->n_tx_channels; in efx_allocate_msix_channels() 225 efx->n_tx_channels, 1U); in efx_allocate_msix_channels() 227 efx->n_tx_channels = min(n_channels, efx->max_tx_channels); in efx_allocate_msix_channels() 233 efx->n_tx_channels = min(efx->n_tx_channels, parallelism); in efx_allocate_msix_channels() 300 efx->n_tx_channels = 1; in efx_probe_interrupts() 322 efx->n_tx_channels = 1; in efx_probe_interrupts() 336 if (j <= efx->tx_channel_offset + efx->n_tx_channels) { in efx_probe_interrupts() 953 rc = netif_set_real_num_tx_queues(efx->net_dev, efx->n_tx_channels); in efx_set_channels() 962 channel->efx->n_tx_channels; in efx_default_channel_want_txqs()
|
D | ef100_netdev.c | 41 unsigned int tx_vis = efx->n_tx_channels + efx->n_extra_tx_channels; in ef100_alloc_vis() 260 if (!efx->n_channels || !efx->n_tx_channels || !channel) { in __ef100_hard_start_xmit()
|
D | net_driver.h | 1036 unsigned n_tx_channels; member 1560 EFX_WARN_ON_ONCE_PARANOID(index >= efx->n_tx_channels); in efx_get_tx_channel()
|
D | ef10.c | 821 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()
|
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/ |
D | tx.c | 405 if (index >= efx->n_tx_channels) { in ef4_hard_start_xmit() 406 index -= efx->n_tx_channels; in ef4_hard_start_xmit() 423 efx->n_tx_channels : 0)); in ef4_init_tx_queue_core_txq() 450 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in ef4_setup_tc() 451 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in ef4_setup_tc() 478 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 | 1397 efx->n_tx_channels = min(max(n_channels / 2, in ef4_probe_interrupts() 1401 efx->n_tx_channels, in ef4_probe_interrupts() 1404 efx->n_tx_channels = min(n_channels, in ef4_probe_interrupts() 1418 efx->n_tx_channels = 1; in ef4_probe_interrupts() 1433 efx->n_tx_channels = 1; in ef4_probe_interrupts() 1590 efx->n_channels - efx->n_tx_channels : 0; in ef4_set_channels() 1653 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()
|