Lines Matching refs:ntxqs_per_lif
689 lif->txqcqs = devm_kcalloc(dev, lif->ionic->ntxqs_per_lif, in ionic_qcqs_alloc()
698 lif->txqstats = devm_kcalloc(dev, lif->ionic->ntxqs_per_lif + 1, in ionic_qcqs_alloc()
864 txq_i = lif->ionic->ntxqs_per_lif; in ionic_lif_create_hwstamp_txq()
1917 for (i = 0; i < lif->ionic->ntxqs_per_lif && lif->txqcqs[i]; i++) { in ionic_txrx_free()
2633 tx_qcqs = devm_kcalloc(lif->ionic->dev, lif->ionic->ntxqs_per_lif, in ionic_reconfigure_queues()
2736 for (i = 0; i < lif->ionic->ntxqs_per_lif; i++) { in ionic_reconfigure_queues()
2819 for (i = lif->nxqs; i < lif->ionic->ntxqs_per_lif; i++) { in ionic_reconfigure_queues()
2851 ionic->ntxqs_per_lif, ionic->ntxqs_per_lif); in ionic_lif_alloc()
2883 lif->nxqs = ionic->ntxqs_per_lif; in ionic_lif_alloc()
3589 unsigned int ntxqs_per_lif; in ionic_lif_size() local
3602 ntxqs_per_lif = le32_to_cpu(lc->queue_count[IONIC_QTYPE_TXQ]); in ionic_lif_size()
3610 ntxqs_per_lif = 1; in ionic_lif_size()
3616 if (ntxqs_per_lif <= 1 || nrxqs_per_lif <= 1) { in ionic_lif_size()
3619 ntxqs_per_lif -= 1; in ionic_lif_size()
3624 nxqs = min(ntxqs_per_lif, nrxqs_per_lif); in ionic_lif_size()
3655 ionic->ntxqs_per_lif = nxqs; in ionic_lif_size()