Lines Matching refs:qparam
1048 struct ionic_queue_params qparam; in ionic_lif_config_hwstamp_rxq_all() local
1050 ionic_init_queue_params(lif, &qparam); in ionic_lif_config_hwstamp_rxq_all()
1053 qparam.rxq_features = IONIC_Q_F_2X_CQ_DESC | IONIC_RXQ_F_HWSTAMP; in ionic_lif_config_hwstamp_rxq_all()
1055 qparam.rxq_features = 0; in ionic_lif_config_hwstamp_rxq_all()
1059 lif->rxq_features = qparam.rxq_features; in ionic_lif_config_hwstamp_rxq_all()
1063 return ionic_reconfigure_queues(lif, &qparam); in ionic_lif_config_hwstamp_rxq_all()
2771 struct ionic_queue_params *qparam) in ionic_cmb_reconfig() argument
2790 ionic_set_queue_params(lif, qparam); in ionic_cmb_reconfig()
2858 struct ionic_queue_params *qparam) in ionic_reconfigure_queues() argument
2867 if ((test_bit(IONIC_LIF_F_CMB_TX_RINGS, lif->state) && qparam->cmb_tx) || in ionic_reconfigure_queues()
2868 (test_bit(IONIC_LIF_F_CMB_RX_RINGS, lif->state) && qparam->cmb_rx)) in ionic_reconfigure_queues()
2869 return ionic_cmb_reconfig(lif, qparam); in ionic_reconfigure_queues()
2872 if (qparam->nxqs != lif->nxqs || qparam->ntxq_descs != lif->ntxq_descs) { in ionic_reconfigure_queues()
2880 if (qparam->nxqs != lif->nxqs || in ionic_reconfigure_queues()
2881 qparam->nrxq_descs != lif->nrxq_descs || in ionic_reconfigure_queues()
2882 qparam->rxq_features != lif->rxq_features) { in ionic_reconfigure_queues()
2895 num_desc = qparam->ntxq_descs; in ionic_reconfigure_queues()
2906 for (i = 0; i < qparam->nxqs; i++) { in ionic_reconfigure_queues()
2927 num_desc = qparam->nrxq_descs; in ionic_reconfigure_queues()
2932 if (qparam->rxq_features & IONIC_Q_F_2X_CQ_DESC) in ionic_reconfigure_queues()
2935 for (i = 0; i < qparam->nxqs; i++) { in ionic_reconfigure_queues()
2953 rx_qcqs[i]->q.features = qparam->rxq_features; in ionic_reconfigure_queues()
2960 if (qparam->nxqs != lif->nxqs) { in ionic_reconfigure_queues()
2961 err = netif_set_real_num_tx_queues(lif->netdev, qparam->nxqs); in ionic_reconfigure_queues()
2964 err = netif_set_real_num_rx_queues(lif->netdev, qparam->nxqs); in ionic_reconfigure_queues()
2973 lif->ntxq_descs = qparam->ntxq_descs; in ionic_reconfigure_queues()
2974 for (i = 0; i < qparam->nxqs; i++) in ionic_reconfigure_queues()
2979 lif->nrxq_descs = qparam->nrxq_descs; in ionic_reconfigure_queues()
2980 for (i = 0; i < qparam->nxqs; i++) in ionic_reconfigure_queues()
2985 if (qparam->intr_split != test_bit(IONIC_LIF_F_SPLIT_INTR, lif->state) || in ionic_reconfigure_queues()
2986 qparam->nxqs != lif->nxqs) { in ionic_reconfigure_queues()
2987 if (qparam->intr_split) { in ionic_reconfigure_queues()
3007 for (i = 0; i < qparam->nxqs; i++) { in ionic_reconfigure_queues()
3014 if (qparam->intr_split) { in ionic_reconfigure_queues()
3031 for (i = 0; i < qparam->nxqs; i++) { in ionic_reconfigure_queues()
3038 for (i = 0; i < qparam->nxqs; i++) { in ionic_reconfigure_queues()
3044 swap(lif->nxqs, qparam->nxqs); in ionic_reconfigure_queues()
3045 swap(lif->rxq_features, qparam->rxq_features); in ionic_reconfigure_queues()
3056 for (i = 0; i < qparam->nxqs; i++) { in ionic_reconfigure_queues()