Home
last modified time | relevance | path

Searched refs:vi_count (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/sfc/siena/
H A Dfarch.c1673 unsigned vi_count, total_tx_channels; in efx_farch_dimension_resources() local
1680 vi_count = max(efx->n_channels, total_tx_channels * EFX_MAX_TXQ_PER_CHANNEL); in efx_farch_dimension_resources()
1699 vi_count = max(vi_count, EFX_VI_BASE); in efx_farch_dimension_resources()
1701 vi_count * vi_dc_entries); in efx_farch_dimension_resources()
1715 vi_count += efx->vf_count * efx_vf_size(efx); in efx_farch_dimension_resources()
1720 efx->tx_dc_base = sram_lim_qw - vi_count * TX_DC_ENTRIES; in efx_farch_dimension_resources()
1721 efx->rx_dc_base = efx->tx_dc_base - vi_count * RX_DC_ENTRIES; in efx_farch_dimension_resources()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dfarch.c1645 unsigned vi_count; in ef4_farch_dimension_resources() local
1650 vi_count = max(efx->n_channels, efx->n_tx_channels * EF4_TXQ_TYPES); in ef4_farch_dimension_resources()
1652 efx->tx_dc_base = sram_lim_qw - vi_count * TX_DC_ENTRIES; in ef4_farch_dimension_resources()
1653 efx->rx_dc_base = efx->tx_dc_base - vi_count * RX_DC_ENTRIES; in ef4_farch_dimension_resources()