Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dtx.c407 if (index >= efx->n_tx_channels) { in ef4_hard_start_xmit()
408 index -= efx->n_tx_channels; in ef4_hard_start_xmit()
425 efx->n_tx_channels : 0)); in ef4_init_tx_queue_core_txq()
452 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in ef4_setup_tc()
453 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in ef4_setup_tc()
480 efx->n_tx_channels); in ef4_setup_tc()
Dnet_driver.h816 unsigned n_tx_channels; member
1193 EF4_BUG_ON_PARANOID(index >= efx->n_tx_channels || in ef4_get_tx_queue()
1201 channel->efx->n_tx_channels; in ef4_channel_has_tx_queues()
Defx.c1410 efx->n_tx_channels = min(max(n_channels / 2, in ef4_probe_interrupts()
1414 efx->n_tx_channels, in ef4_probe_interrupts()
1417 efx->n_tx_channels = min(n_channels, in ef4_probe_interrupts()
1431 efx->n_tx_channels = 1; in ef4_probe_interrupts()
1446 efx->n_tx_channels = 1; in ef4_probe_interrupts()
1603 efx->n_channels - efx->n_tx_channels : 0; in ef4_set_channels()
1666 netif_set_real_num_tx_queues(efx->net_dev, efx->n_tx_channels); in ef4_probe_nic()
Dfarch.c1100 if (qid < EF4_TXQ_TYPES * efx->n_tx_channels) { in ef4_farch_handle_tx_flush_done()
1655 efx->n_tx_channels * EF4_TXQ_TYPES * EF4_MAX_DMAQ_SIZE + in ef4_farch_dimension_resources()
1658 vi_count = max(efx->n_channels, efx->n_tx_channels * EF4_TXQ_TYPES); in ef4_farch_dimension_resources()
/Linux-v4.19/drivers/net/ethernet/sfc/
Dtx.c669 if (index >= efx->n_tx_channels) { in efx_hard_start_xmit()
670 index -= efx->n_tx_channels; in efx_hard_start_xmit()
687 efx->n_tx_channels : 0)); in efx_init_tx_queue_core_txq()
714 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in efx_setup_tc()
715 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in efx_setup_tc()
742 efx->n_tx_channels); in efx_setup_tc()
Defx.c924 channel->efx->n_tx_channels; in efx_default_channel_want_txqs()
1490 efx->n_tx_channels = min(max(n_channels / 2, in efx_probe_interrupts()
1494 efx->n_tx_channels, in efx_probe_interrupts()
1497 efx->n_tx_channels = min(n_channels, in efx_probe_interrupts()
1511 efx->n_tx_channels = 1; in efx_probe_interrupts()
1529 efx->n_tx_channels = 1; in efx_probe_interrupts()
1737 efx->n_channels - efx->n_tx_channels : 0; in efx_set_channels()
1800 netif_set_real_num_tx_queues(efx->net_dev, efx->n_tx_channels); in efx_probe_nic()
Dnet_driver.h988 unsigned n_tx_channels; member
1474 EFX_WARN_ON_ONCE_PARANOID(index >= efx->n_tx_channels || in efx_get_tx_queue()
Dfarch.c1088 if (qid < EFX_TXQ_TYPES * (efx->n_tx_channels + efx->n_extra_tx_channels)) { in efx_farch_handle_tx_flush_done()
1678 total_tx_channels = efx->n_tx_channels + efx->n_extra_tx_channels; in efx_farch_dimension_resources()
Def10.c959 offset = ((efx->tx_channel_offset + efx->n_tx_channels - in efx_ef10_link_piobufs()
1302 (efx->n_tx_channels + efx->n_extra_tx_channels) * in efx_ef10_dimension_resources()
1314 efx->n_tx_channels) { in efx_ef10_dimension_resources()
1316 DIV_ROUND_UP(efx->n_tx_channels, in efx_ef10_dimension_resources()