Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
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()
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()
Defx.c1407 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()
Dfarch.c1097 if (qid < EF4_TXQ_TYPES * efx->n_tx_channels) { in ef4_farch_handle_tx_flush_done()
1652 efx->n_tx_channels * EF4_TXQ_TYPES * EF4_MAX_DMAQ_SIZE + in ef4_farch_dimension_resources()
1655 vi_count = max(efx->n_channels, efx->n_tx_channels * EF4_TXQ_TYPES); in ef4_farch_dimension_resources()
/Linux-v5.4/drivers/net/ethernet/sfc/
Dtx.c661 if (index >= efx->n_tx_channels) { in efx_hard_start_xmit()
662 index -= efx->n_tx_channels; in efx_hard_start_xmit()
679 efx->n_tx_channels : 0)); in efx_init_tx_queue_core_txq()
706 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in efx_setup_tc()
707 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in efx_setup_tc()
734 efx->n_tx_channels); in efx_setup_tc()
Defx.c921 channel->efx->n_tx_channels; in efx_default_channel_want_txqs()
1487 efx->n_tx_channels = min(max(n_channels / 2, in efx_probe_interrupts()
1491 efx->n_tx_channels, in efx_probe_interrupts()
1494 efx->n_tx_channels = min(n_channels, in efx_probe_interrupts()
1508 efx->n_tx_channels = 1; in efx_probe_interrupts()
1526 efx->n_tx_channels = 1; in efx_probe_interrupts()
1734 efx->n_channels - efx->n_tx_channels : 0; in efx_set_channels()
1797 netif_set_real_num_tx_queues(efx->net_dev, efx->n_tx_channels); in efx_probe_nic()
Dnet_driver.h985 unsigned n_tx_channels; member
1471 EFX_WARN_ON_ONCE_PARANOID(index >= efx->n_tx_channels || in efx_get_tx_queue()
Dfarch.c1085 if (qid < EFX_TXQ_TYPES * (efx->n_tx_channels + efx->n_extra_tx_channels)) { in efx_farch_handle_tx_flush_done()
1675 total_tx_channels = efx->n_tx_channels + efx->n_extra_tx_channels; in efx_farch_dimension_resources()
Def10.c956 offset = ((efx->tx_channel_offset + efx->n_tx_channels - in efx_ef10_link_piobufs()
1299 (efx->n_tx_channels + efx->n_extra_tx_channels) * in efx_ef10_dimension_resources()
1311 efx->n_tx_channels) { in efx_ef10_dimension_resources()
1313 DIV_ROUND_UP(efx->n_tx_channels, in efx_ef10_dimension_resources()