Home
last modified time | relevance | path

Searched refs:n_tx_channels (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/sfc/
A Defx_channels.c228 efx->n_tx_channels = in efx_allocate_msix_channels()
232 n_channels - efx->n_tx_channels; in efx_allocate_msix_channels()
235 efx->n_tx_channels, 1U); in efx_allocate_msix_channels()
237 efx->n_tx_channels = min(n_channels, efx->max_tx_channels); in efx_allocate_msix_channels()
243 efx->n_tx_channels = min(efx->n_tx_channels, parallelism); in efx_allocate_msix_channels()
310 efx->n_tx_channels = 1; in efx_probe_interrupts()
330 efx->n_tx_channels = 1; in efx_probe_interrupts()
342 if (j <= efx->tx_channel_offset + efx->n_tx_channels) { in efx_probe_interrupts()
899 efx->n_channels - efx->n_tx_channels : 0; in efx_set_channels()
968 rc = netif_set_real_num_tx_queues(efx->net_dev, efx->n_tx_channels); in efx_set_channels()
[all …]
A Dtx.c520 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()
A Def100_netdev.c37 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()
A Dnet_driver.h1008 unsigned n_tx_channels; member
1517 EFX_WARN_ON_ONCE_PARANOID(index >= efx->n_tx_channels); in efx_get_tx_channel()
A Def10.c821 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()
A Dfarch.c1088 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/drivers/net/ethernet/sfc/falcon/
A Dtx.c404 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()
A Dnet_driver.h813 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()
A Defx.c1403 efx->n_tx_channels = min(max(n_channels / 2, in ef4_probe_interrupts()
1407 efx->n_tx_channels, in ef4_probe_interrupts()
1410 efx->n_tx_channels = min(n_channels, in ef4_probe_interrupts()
1424 efx->n_tx_channels = 1; in ef4_probe_interrupts()
1439 efx->n_tx_channels = 1; in ef4_probe_interrupts()
1596 efx->n_channels - efx->n_tx_channels : 0; in ef4_set_channels()
1659 netif_set_real_num_tx_queues(efx->net_dev, efx->n_tx_channels); in ef4_probe_nic()
A Dfarch.c1096 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()

Completed in 58 milliseconds