Lines Matching refs:q_num
161 static void ionic_add_lif_txq_stats(struct ionic_lif *lif, int q_num, in ionic_add_lif_txq_stats() argument
164 struct ionic_tx_stats *txstats = &lif->txqstats[q_num]; in ionic_add_lif_txq_stats()
176 static void ionic_add_lif_rxq_stats(struct ionic_lif *lif, int q_num, in ionic_add_lif_rxq_stats() argument
179 struct ionic_rx_stats *rxstats = &lif->rxqstats[q_num]; in ionic_add_lif_rxq_stats()
194 int q_num; in ionic_get_lif_stats() local
198 for (q_num = 0; q_num < MAX_Q(lif); q_num++) { in ionic_get_lif_stats()
199 ionic_add_lif_txq_stats(lif, q_num, stats); in ionic_get_lif_stats()
200 ionic_add_lif_rxq_stats(lif, q_num, stats); in ionic_get_lif_stats()
237 int q_num) in ionic_sw_stats_get_tx_strings() argument
242 ethtool_sprintf(buf, "tx_%d_%s", q_num, in ionic_sw_stats_get_tx_strings()
247 int q_num) in ionic_sw_stats_get_rx_strings() argument
252 ethtool_sprintf(buf, "rx_%d_%s", q_num, in ionic_sw_stats_get_rx_strings()
258 int i, q_num; in ionic_sw_stats_get_strings() local
266 for (q_num = 0; q_num < MAX_Q(lif); q_num++) in ionic_sw_stats_get_strings()
267 ionic_sw_stats_get_tx_strings(lif, buf, q_num); in ionic_sw_stats_get_strings()
272 for (q_num = 0; q_num < MAX_Q(lif); q_num++) in ionic_sw_stats_get_strings()
273 ionic_sw_stats_get_rx_strings(lif, buf, q_num); in ionic_sw_stats_get_strings()
280 int q_num) in ionic_sw_stats_get_txq_values() argument
285 txstats = &lif->txqstats[q_num]; in ionic_sw_stats_get_txq_values()
294 int q_num) in ionic_sw_stats_get_rxq_values() argument
299 rxstats = &lif->rxqstats[q_num]; in ionic_sw_stats_get_rxq_values()
311 int i, q_num; in ionic_sw_stats_get_values() local
327 for (q_num = 0; q_num < MAX_Q(lif); q_num++) in ionic_sw_stats_get_values()
328 ionic_sw_stats_get_txq_values(lif, buf, q_num); in ionic_sw_stats_get_values()
333 for (q_num = 0; q_num < MAX_Q(lif); q_num++) in ionic_sw_stats_get_values()
334 ionic_sw_stats_get_rxq_values(lif, buf, q_num); in ionic_sw_stats_get_values()