Home
last modified time | relevance | path

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

/drivers/net/ethernet/sfc/
Dtx.c544 if (index >= efx->n_tx_channels) { in efx_hard_start_xmit()
545 index -= efx->n_tx_channels; in efx_hard_start_xmit()
562 efx->n_tx_channels : 0)); in efx_init_tx_queue_core_txq()
580 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in efx_setup_tc()
581 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in efx_setup_tc()
608 efx->n_tx_channels); in efx_setup_tc()
Dnet_driver.h965 unsigned n_tx_channels; member
1403 EFX_BUG_ON_PARANOID(index >= efx->n_tx_channels || in efx_get_tx_queue()
1411 channel->efx->n_tx_channels; in efx_channel_has_tx_queues()
Defx.c1423 efx->n_tx_channels = min(max(n_channels / 2, in efx_probe_interrupts()
1427 efx->n_tx_channels, in efx_probe_interrupts()
1430 efx->n_tx_channels = min(n_channels, in efx_probe_interrupts()
1444 efx->n_tx_channels = 1; in efx_probe_interrupts()
1459 efx->n_tx_channels = 1; in efx_probe_interrupts()
1632 efx->n_channels - efx->n_tx_channels : 0; in efx_set_channels()
1695 netif_set_real_num_tx_queues(efx->net_dev, efx->n_tx_channels); in efx_probe_nic()
Dfarch.c1104 if (qid < EFX_TXQ_TYPES * efx->n_tx_channels) { in efx_farch_handle_tx_flush_done()
1698 efx->n_tx_channels * EFX_TXQ_TYPES * EFX_MAX_DMAQ_SIZE + in efx_farch_dimension_resources()
1701 vi_count = max(efx->n_channels, efx->n_tx_channels * EFX_TXQ_TYPES); in efx_farch_dimension_resources()
Def10.c561 offset = ((efx->tx_channel_offset + efx->n_tx_channels - in efx_ef10_link_piobufs()
848 channel_vis = max(efx->n_channels, efx->n_tx_channels * EFX_TXQ_TYPES); in efx_ef10_dimension_resources()
859 efx->n_tx_channels) { in efx_ef10_dimension_resources()
861 DIV_ROUND_UP(efx->n_tx_channels, in efx_ef10_dimension_resources()